alibabacloud-aes-sysom-os-diagnosis — Claude Code skill for ECS diagnosis
alibabacloud-aes-sysom-os-diagnosis — a skill for Claude Code, Codex, Cursor and other agents that runs OS-level diagnosis on Alibaba Cloud ECS instances via SysOM. Traces kernel-level root causes of CPU spikes, memory leaks and IO latency.
no license 139 installs ★ 300 updated 2026-10-23
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a claude-codeWhat alibabacloud-aes-sysom-os-diagnosis does
The skill connects to Alibaba Cloud ECS through the aliyun CLI and triggers SysOM diagnosis in two modes: real-time or historical, with the historical mode requiring a Unix-timestamp range. A four-phase workflow covers environment setup, SysOM role initialisation, instance support check and diagnosis with result polling.
The aliyun CLI version 3.3.1 or newer must be configured with a valid profile before the skill does anything — it checks with aliyun configure list. Instance ID and region have no defaults; the agent asks the user explicitly. If Cloud Assistant is offline on the target instance, the pipeline stops.
Optional continuous monitoring is available through instance enrollment with DingTalk alert notifications. On permission failures the skill reads references/ram-policies.md and calls ram-permission-diagnose to walk through RAM policy setup. Access key values are never printed to the conversation — only the profile status is checked.
What it helps with
- Find the root cause of a CPU spike on an ECS instance
- Diagnose a kernel-level memory leak or IO latency event
- Analyse a past incident by supplying a Unix timestamp range
- Set up continuous ECS monitoring with DingTalk alerts
- Resolve Alibaba Cloud RAM permission errors during API calls
Example prompts for the agent
- Diagnose ECS instance
i-bp1xxxxxxxxin regioncn-hangzhou, there was a CPU spike last night - Check for a memory leak on
i-bp1xxxxxxxx, it started yesterday at 15:00 UTC+8 - Enroll
i-bp1xxxxxxxxin continuous monitoring and configure DingTalk alerts
How to install alibabacloud-aes-sysom-os-diagnosis
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a claude-code2Manually: put the files in place
~/.claude/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/alibabacloud-aes-sysom-os-diagnosis/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a codex2Manually: put the files in place
.agents/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a cursor2Manually: put the files in place
.cursor/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aliyun/alibabacloud-aiops-skills skills/others/devopsimpl/alibabacloud-aes-sysom-os-diagnosis2Manually: put the files in place
.github/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a gemini-cli2Platform CLI
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/others/devopsimpl/alibabacloud-aes-sysom-os-diagnosisManually: put the files in place
.devin/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -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-aes-sysom-os-diagnosis
How do I install alibabacloud-aes-sysom-os-diagnosis in Claude Code?
Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a claude-code, then open ~/.claude/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md to confirm the skill is in place.
What does alibabacloud-aes-sysom-os-diagnosis do?
It runs OS-level diagnosis on Alibaba Cloud ECS instances through SysOM, identifying root causes of performance problems such as CPU spikes, memory leaks and IO latency. Both real-time and historical diagnosis modes are supported.
What does the skill require to work?
aliyun CLI version 3.3.1 or newer with a configured profile — AK, STS or OAuth. Without a valid profile the skill stops and waits for credentials to be set up outside the session. Instance ID and region are always requested from the user.