Skip to main content
skill CX Codex

alibabacloud-sls-data-agent — Claude Code skill

alibabacloud-sls-data-agent — a skill for Claude Code connects SLS DataAgent to Alibaba Cloud Simple Log Service. Turns plain-language queries into log analysis, aggregations, and dashboard summaries.

no license 111 installs ★ 300 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-data-agent -a claude-code
Open on GitHub

What alibabacloud-sls-data-agent does

The skill invokes scripts/call_sls_data_agent.py, dispatching tasks to the SLS DataAgent OpenAPI with responses delivered over SSE streams. Queries route either to a designated digital employee (falling back to apsara-ops) or to specialized sub-skills handling SQL and SPL authoring.

Executions can take several minutes due to multi-step backend analysis, subject to a 30-minute timeout ceiling. Maintaining conversational context requires passing the session thread id via --thread in subsequent prompts. The --pipe flag is mandatory during invocation to ensure proper delimiter framing for parsed answers.

Running the tool requires packages from scripts/requirements.txt, defined SLS_DATA_AGENT_PROJECT and SLS_DATA_AGENT_REGION environment values, and valid Alibaba Cloud authentication resolved via CLI profiles or environment credentials. Execution halts immediately if target project parameters are missing.

What it helps with

  • generate SQL or SPL queries for Alibaba Cloud logstores
  • extract metric trends and aggregate anomalies from raw logs
  • produce structured analysis reports from plain language questions
  • configure charts and dashboard layouts for log visualization

Example prompts for the agent

  • Query the app-logs logstore for 5xx status codes during the last 30 minutes
  • Generate an SPL query to filter failed authentication attempts in SLS
  • Continue investigation on thread thread-abc123-xyz breaking down latency by region

How to install alibabacloud-sls-data-agent

1Skills CLI (Vercel)

npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-data-agent -a claude-code

2Manually: put the files in place

~/.claude/skills/alibabacloud-sls-data-agent/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/alibabacloud-sls-data-agent/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about alibabacloud-sls-data-agent

How to install alibabacloud-sls-data-agent in Claude Code?

Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-data-agent -a claude-code. The skill definition installs to ~/.claude/skills/alibabacloud-sls-data-agent/SKILL.md.

What does alibabacloud-sls-data-agent do?

It queries Alibaba Cloud Simple Log Service through natural language, parsing incoming questions into automated retrieval, data transformation, and structured summary reports.

What is required to run alibabacloud-sls-data-agent?

It requires Python libraries from scripts/requirements.txt, valid Alibaba Cloud credentials, and the SLS_DATA_AGENT_PROJECT plus SLS_DATA_AGENT_REGION environment variables.

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set66

The whole set →
alibabacloud-maxcompute-migration-service alibabacloud-maxcompute-migration-service orchestrates data migration to Alibaba Cloud MaxCompute via MMS. Handles metadata scanning, schema mapping, and Spark execution monitoring. CX Codex +1 127installs alibabacloud-elasticsearch-instance-diagnose alibabacloud-elasticsearch-instance-diagnose — a skill for analyzing Elasticsearch cluster health on Alibaba Cloud. Collects data from OpenAPI and REST API, identifies root causes of failures, and suggests remediation steps. CX Codex +1 127installs alibabacloud-avatar-video alibabacloud-avatar-video is a Claude Code skill for creating talking-head videos, full-body animations, and speech via Alibaba Cloud DashScope. It supports portrait animation, character motion, and text-to-speech with voice selection. CX Codex +1 125installs alibabacloud-emas-apm-query alibabacloud-emas-apm-query investigates mobile app issues in Alibaba Cloud EMAS APM, then matches sample stacks to project code to suggest fixes. CX Codex +1 112installs alibabacloud-agentbay-aio-skills alibabacloud-agentbay-aio-skills executes Python, JavaScript, R, and Java code in an isolated AgentBay cloud sandbox instead of your local machine. Useful for data analysis and plotting. CX Codex +1 112installs alibabacloud-sas-multiaccount-manage The alibabacloud-sas-multiaccount-manage Claude Code skill manages Alibaba Cloud accounts and exports Security Center reports. It combines enabled accounts’ results into an Excel workbook. CX Codex +1 112installs alibabacloud-terraform-code-generation alibabacloud-terraform-code-generation generates validated Terraform HCL for Alibaba Cloud from natural language prompts. Helps set up VPCs, compute instances, and storage without digging through provider docs. CX Codex +1 110installs alibabacloud-flink-sql-skill alibabacloud-flink-sql-skill — a Claude Code skill for Alibaba Cloud Flink SQL work, from query checks to job operations. It activates for requests about Flink, VVR, VVP, or troubleshooting. CX Codex +1 104installs

Project sponsors

Companies that keep this analytics open