alibabacloud-sls-alerting — Claude Code skill for SLS alerts
alibabacloud-sls-alerting — a skill for Alibaba Cloud SLS alert rules, notification resources, and event diagnosis. Works from Claude Code and other agents.
no license 152 installs ★ 300 updated 2026-10-23
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a claude-codeWhat alibabacloud-sls-alerting 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.
What it helps with
- 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 for the agent
- 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
How to install alibabacloud-sls-alerting
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a claude-code2Manually: put the files in place
~/.claude/skills/alibabacloud-sls-alerting/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/alibabacloud-sls-alerting/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a codex2Manually: put the files in place
.agents/skills/alibabacloud-sls-alerting/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a cursor2Manually: put the files in place
.cursor/skills/alibabacloud-sls-alerting/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aliyun/alibabacloud-aiops-skills skills/storage/sls/alibabacloud-sls-alerting2Manually: put the files in place
.github/skills/alibabacloud-sls-alerting/SKILL.md1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a gemini-cli2Platform CLI
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/storage/sls/alibabacloud-sls-alertingManually: put the files in place
.devin/skills/alibabacloud-sls-alerting/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -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-sls-alerting
How do I install alibabacloud-sls-alerting in Claude Code?
Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting -a claude-code. The skill lands in ~/.claude/skills/alibabacloud-sls-alerting/SKILL.md.
What does alibabacloud-sls-alerting do?
It manages Alibaba Cloud SLS alert rules, notification resources and event diagnosis through the Aliyun CLI.
What do I need before using it?
Aliyun CLI version 3.3.22 or newer and a configured profile. The skill uses the CLI authentication, no credential pasting.