Skip to main content

Install Aliyun SLS Agent Skills to various AI coding tools (Claude Code, GitHub Copilot, Codex, Cursor, etc.)

Project description

🧩 Project Overview

English | 简体中文

Alibaba Cloud SLS (Simple Log Service) is an intelligent cloud-native observability and analytics platform, providing data collection, processing, query and analysis, visualization, alerting, consumption, and delivery.

This repository provides Aliyun SLS Agent Skills and aims to deliver an intelligent SLS operations and control solution. SLS Agent Skills are designed for typical SLS ops and development scenarios, enabling AI assistants to perform project and Logstore management, log query, and related operations in a standardized, reliable way via the Aliyun CLI.

📁 SLS Agent Skills

SLS Agent Skills include the following:

✅ alibabacloud-sls-cli-guidance

Use cases:

  • Query and manage SLS projects, Logstores, index configuration, etc.
  • Write logs to and query logs from SLS Logstores
  • All other SLS OpenAPI capabilities, e.g. alerting, dashboards, processing jobs

Trigger:

When the user mentions Aliyun Log, SLS, logstore, or log service–related operations. Example prompts:

List my SLS projects in the Hangzhou region
Create a logstore named test under aliyun-test-project and create a full-text index
Write a log to aliyun-test-project / test with content hello: world
Query the last two minutes of logs from aliyun-test-project / test

alibabacloud-sls-cli-guidance depends on an installed and configured aliyun-cli and the SLS plugin. The skill docs include installation and usage; the agent will handle setup and configuration as needed.

Skill doc

📦 Install Skill

You can install the skill in one of the following ways:

Install via sls-agent-skills (recommended)

The sls-agent-skills helper simplifies installation and requires pip in your environment.

Supported targets:

  • Claude Code
  • OpenClaw
  • Cursor
  • Codex
  • OpenCode
  • GitHub Copilot
  • Qoder
  • Trae
  • Iflow
  • Kiro

Install the sls-agent-skills helper:

pip install aliyun-sls-agent-skills

Install the skill using interactive mode:

# You will be prompted to choose target tool, scope (project / global), and skills to install.
sls-agent-skills

Headless install:

# Install to Cursor, project scope, all skills
sls-agent-skills -b --scope project --tool Cursor -y

# Install to Codex, global scope, only alibabacloud-sls-cli-guidance
sls-agent-skills -b --scope global --tool codex --skills alibabacloud-sls-cli-guidance -y

Copy skill directory to install location

You can manually copy the skill directories under .agents/skills to your target tool’s install path. Project paths are relative to the project root; global paths are relative to the user home directory ~:

Tool Project install path Global install path
Claude Code .claude/skills ~/.claude/skills
OpenClaw skills ~/.openclaw/skills
Cursor .cursor/skills ~/.cursor/skills
Codex .agents/skills ~/.agents/skills
OpenCode .opencode/skills ~/.config/opencode/skills
GitHub Copilot .github/skills ~/.copilot/skills
Qoder .qoder/skills ~/.qoder/skills
Trae .trae/skills ~/.trae/skills
Iflow .iflow/skills ~/.iflow/skills
Kiro .kiro/skills ~/.kiro/skills

🛠️ Contributing & Feedback

Contributions via Issue or Pull Request are welcome.

For questions or suggestions, visit GitHub Issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aliyun_sls_agent_skills-0.1.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aliyun_sls_agent_skills-0.1.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file aliyun_sls_agent_skills-0.1.0.tar.gz.

File metadata

  • Download URL: aliyun_sls_agent_skills-0.1.0.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for aliyun_sls_agent_skills-0.1.0.tar.gz
Algorithm Hash digest
SHA256 27c98e248d4ab4f8415fc816a85c4237164a22f822811fbbb43e4989902df375
MD5 2852c7352b6cbab2becc101c9ed499dc
BLAKE2b-256 c2121169ae23927691b2aeb3a3827729c0b5b4a31cf7a99e6c7834644f63b49d

See more details on using hashes here.

File details

Details for the file aliyun_sls_agent_skills-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aliyun_sls_agent_skills-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 830491ede486613dc17956eb8943dac53b565c8cffd30b226cfe64664741775e
MD5 c5b4339b66b82b0bdb1c63abd88a3152
BLAKE2b-256 311fa639056c912532ef2c8d6193d11ecfdf7341137eb07523fdcf20c2af56f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page