# alibabacloud-sls-alerting

alibabacloud-sls-alerting — a skill for Alibaba Cloud SLS alert rules, notification resources, and event diagnosis. Works from Claude Code and other agents.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 152 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/storage/sls/alibabacloud-sls-alerting/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-sls-alerting

## What it does

This skill handles three sides of Alibaba Cloud SLS alerting. Alert rules decide when something fires. Notification resources control where the alert goes. Diagnosis walks through an event that already happened, its frequency and duration.

The CLI must be at least version 3.3.22. Check with `aliyun version`, update the SLS plugin with `aliyun plugin update --name sls` if needed. The skill reads its manifest for the version string and creates a fresh 32-character session ID before any cloud call.

Every cloud API command carries a `--user-agent` flag with the session ID and skill version. Local commands like `configure`, `plugin`, `version` and help are exempt. `aliyun configure get` is blocked outright. The skill never extracts AccessKey values from files, environment variables or output, and never asks you to paste credentials.

Before a replacement update it reads the current rule and keeps unrelated fields intact. After a write it reads back and compares the changed fields. A successful config write says nothing about whether the alert actually fired and reached its destination.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills skills/storage/sls/alibabacloud-sls-alerting
```

2. **Manually: put the files in place**
- File: `.github/skills/alibabacloud-sls-alerting/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/storage/sls/alibabacloud-sls-alerting
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -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/storage/sls/alibabacloud-sls-alerting/SKILL.md

## When to use it
- Create and update SLS alert rules
- Manage notification objects, alert policies and content templates
- Explain why an alert fired and how often
- Mute and unmute rules temporarily
- Query alert history

## Example prompts
- Create an alert rule for errors in the application log
- Set up a notification so alerts go to DingTalk
- Explain why the latency alert fired yesterday

## Similar
- [alerting-irm](https://affpapa.org/en/nevibecode/skills/alerting-irm.md) — skill · 5700 installs
- [kibana-alerting-rules](https://affpapa.org/en/nevibecode/skills/kibana-alerting-rules.md) — skill · 4500 installs
- [axiom-alerting](https://affpapa.org/en/nevibecode/skills/axiom-alerting.md) — skill · 2800 installs
- [dt-alerting](https://affpapa.org/en/nevibecode/skills/dt-alerting.md) — skill · 2200 installs
- [alerting-dashboard-builder](https://affpapa.org/en/nevibecode/skills/alerting-dashboard-builder.md) — skill · 266 installs
- [m91-alerting](https://affpapa.org/en/nevibecode/skills/m91-alerting.md) — skill · ★ 46 repo stars

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
