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.

PyPI License

📁 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

The aliyun CLI and SLS plugin installation instructions are included in the skill. After installing the skill, the agent will automatically check the environment and install the required dependencies. To install manually:

sudo /bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)"
aliyun plugin install --names sls

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.3.0.tar.gz (32.9 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.3.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aliyun_sls_agent_skills-0.3.0.tar.gz
  • Upload date:
  • Size: 32.9 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.3.0.tar.gz
Algorithm Hash digest
SHA256 441c0c112ad8514b2abbe32fc7d5b75ede419d0e4a6123c19bd63f9eb9a8e96e
MD5 acb6022bc63abd85c5bd98d34a260623
BLAKE2b-256 a7d82fe9e470c571825090be90b5ddca48ccb3e97efb2bda8d7c0a271aa3c974

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyun_sls_agent_skills-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9abcdaefd3e0ab74fc421da3659911f0d10022050fe489c690448a35430595a8
MD5 490f2883524be3467e2aca3d48bcecb1
BLAKE2b-256 972edeaf0800712aa23f3b4e97b894691ffc0fc2511b07e6f6fc82cca72e9a0b

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