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.2.0.tar.gz (26.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.2.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aliyun_sls_agent_skills-0.2.0.tar.gz
  • Upload date:
  • Size: 26.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.2.0.tar.gz
Algorithm Hash digest
SHA256 32817fe14c9909dac403c23bfb74088d746cdec21149c9ede7ecae8ad89613de
MD5 30505877546da5068de915e99015ece6
BLAKE2b-256 b829911c228ed2ff2f81e95a8676519aa2f035aec30ee34733224dd54df677fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyun_sls_agent_skills-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43261069c564516e211f9c29fd4c7da8ac0f0c5d4e1331922aa15e103144bea7
MD5 4b9b6b72b13d5d465ea25b94a2e89227
BLAKE2b-256 7dca637e7cb5b07444884ae14706be76e1f11783982b0923d46e7116ec79a7e6

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