# alibabacloud-aes-sysom-os-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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 139 installs · ★ 300 repo stars
- Author: aliyun
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/others/devopsimpl/alibabacloud-aes-sysom-os-diagnosis/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/alibabacloud-aes-sysom-os-diagnosis

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alibabacloud-aes-sysom-os-diagnosis/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills skills/others/devopsimpl/alibabacloud-aes-sysom-os-diagnosis
```

2. **Manually: put the files in place**
- File: `.github/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/others/devopsimpl/alibabacloud-aes-sysom-os-diagnosis
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alibabacloud-aes-sysom-os-diagnosis/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aes-sysom-os-diagnosis -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/others/devopsimpl/alibabacloud-aes-sysom-os-diagnosis/SKILL.md

## When to use it
- 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
- Diagnose ECS instance `i-bp1xxxxxxxx` in region `cn-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-bp1xxxxxxxx` in continuous monitoring and configure DingTalk alerts

## Similar
- [huawei-cloud-modelarts-training-diagnosis](https://affpapa.org/en/nevibecode/skills/huawei-cloud-modelarts-training-diagnosis.md) — skill · 129 installs
- [qwencloud-operate](https://affpapa.org/en/nevibecode/skills/qwencloud-operate.md) — skill · 303 installs
- [breakdown-diagnosis](https://affpapa.org/en/nevibecode/skills/breakdown-diagnosis.md) — skill · ★ 47914 repo stars
- [quality-checks-diagnosis](https://affpapa.org/en/nevibecode/skills/quality-checks-diagnosis.md) — skill · ★ 240 repo stars
- [dotnet-trace-collect](https://affpapa.org/en/nevibecode/skills/dotnet-trace-collect.md) — skill · 4900 installs
- [rspack-tracing](https://affpapa.org/en/nevibecode/skills/rspack-tracing.md) — skill · 291 installs

From the same set: [aliyun/alibabacloud-aiops-skills](https://affpapa.org/en/nevibecode/by/aliyun/alibabacloud-aiops-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
