alibabacloud-starops-chat — Claude Code skill: install and overview
alibabacloud-starops-chat queries Alibaba Cloud STAROps via OpenAPI to diagnose service failures, trace APM errors, and run root cause analysis directly from your AI coding assistant.
no license 145 installs ★ 300 updated 2026-10-23
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a claude-codeWhat alibabacloud-starops-chat does
This skill communicates with the Alibaba Cloud STAROps Agent to fetch streaming diagnostics for cloud workloads. It lets your assistant inspect workspace topologies, investigate error rates, and trace request latency without leaving the terminal.
Behind the scenes, the Python script scripts/call_starops_agent.py processes event streams. It requires dependencies from scripts/requirements.txt and must be invoked with the mandatory --pipe flag to output delimited text blocks and session identifiers. Related follow-up queries reuse the thread flag to preserve context.
The script aborts immediately if employeeId, workspace, or uid are missing from environment variables or ~/.starops/config.json. Authentication relies on standard Alibaba Cloud credential chains rather than custom skill-specific tokens.
What it helps with
- pinpoint the root cause of backend service failures
- inspect workspace service topologies and health metrics
- trace latency bottlenecks using APM telemetry
- investigate alerts within an ongoing incident thread
Example prompts for the agent
- Run a STAROps root cause analysis on the top error services
- Check APM latency and trace exceptions for the billing service
- Investigate recent alert spikes using the active STAROps thread
How to install alibabacloud-starops-chat
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a claude-code2Manually: put the files in place
~/.claude/skills/alibabacloud-starops-chat/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/alibabacloud-starops-chat/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a codex2Manually: put the files in place
.agents/skills/alibabacloud-starops-chat/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a cursor2Manually: put the files in place
.cursor/skills/alibabacloud-starops-chat/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aliyun/alibabacloud-aiops-skills skills/middleware/starops/alibabacloud-starops-chat2Manually: put the files in place
.github/skills/alibabacloud-starops-chat/SKILL.md1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a gemini-cli2Platform CLI
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/middleware/starops/alibabacloud-starops-chatManually: put the files in place
.devin/skills/alibabacloud-starops-chat/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about alibabacloud-starops-chat
How do I install alibabacloud-starops-chat in Claude Code?
Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-starops-chat -a claude-code. The manifest file is stored at ~/.claude/skills/alibabacloud-starops-chat/SKILL.md.
What does alibabacloud-starops-chat do?
It bridges your coding assistant with the STAROps AIOps agent to perform incident investigations, telemetry inspection, and service topology mapping.
Which configuration values are required?
You must supply STAROPS_AGENT_EMPLOYEE, STAROPS_AGENT_WORKSPACE, and STAROPS_AGENT_UID via shell environment variables or inside .starops/config.json.