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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aliyun_sls_agent_skills-0.2.1.tar.gz
  • Upload date:
  • Size: 27.0 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.1.tar.gz
Algorithm Hash digest
SHA256 0bf83bc63ee0e84a76179e93bdc1d8f9a1cc8ee3f6836f909b897faccd5dba8a
MD5 84d7c2e1b1d95c0c9cb40be07fc8ae4a
BLAKE2b-256 5278ced35690223be40f7394c65f65ace4f2924cc8d66318bdac5ac0312e4bea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyun_sls_agent_skills-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3ee59276c2e40d5d3c27045ac019d589bd678f4407a3b03fbbd4bf2543fd095
MD5 b1aa6d44440b73b4f88994bc95336578
BLAKE2b-256 796b7331a8234819598058c1feb8cc49b209165feadab21bd14b72e2293ef397

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