Skip to content
aliyun avatar

Alibabacloud Cms Alert Rule Create

Unified alert rule creation and querying for Alibaba Cloud CMS 1.0 cloud resources and CMS 2.0 Prometheus, APM, and UModel monitoring.

CCM score
62 of 100
skills.sh installs
290
GitHub stars
303
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CMS 1.0 cloud resource alerts (ECS, RDS, SLB, OSS, Redis, MongoDB) and CMS 2.0 Prometheus, APM, and UModel alerts
  • Routes each request to the matching workflow by intent, with separate step-by-step references for create and query flows
  • Enforces that CMS 2.0 rules use only ManageAlertRules and QueryAlertRules, with no fallback to other APIs on error
  • Requires mandatory webhook lookup, duplicate pre-checks, and explicit user confirmation before any rule is created

Install

$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-cms-alert-rule-create -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Alibaba Cloud Alert Rule Management

This skill creates and queries alert rules. Intent routing selects CMS 1.0 or CMS 2.0 workflow automatically.


CLI Setup (Required Before Execution)

aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-cms-alert-rule-create"
aliyun plugin update

Step 0: Intent Routing

Identify user's monitoring target → route to the correct workflow. See step0-intent-routing.md.

User ScenarioRoute To
Cloud product system metrics (ECS, RDS, SLB, OSS, Redis, MongoDB…)CMS 1.0 Workflow
Prometheus / APM / UModel / custom metricsCMS 2.0 Workflow

Supported Alert Types

VersionTypeCreate APIQuery API
CMS 1.0Cloud Resource (ECS/RDS/SLB/OSS/Redis/MongoDB…)PutResourceMetricRuleDescribeMetricRuleList
CMS 2.0Prometheus (PROMETHEUS)ManageAlertRulesQueryAlertRules
CMS 2.0APM (APM)ManageAlertRulesQueryAlertRules
CMS 2.0UModel (UMODEL)ManageAlertRulesQueryAlertRules

Details

Repository
github.com/aliyun/alibabacloud-aiops-skills
Categories
DevOps & Cloud, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the alibabacloud-cms-alert-rule-create skill do?

It creates and queries Alibaba Cloud alert rules through the Alibaba Cloud CLI. It covers CMS 1.0 cloud resource monitoring for products such as ECS, RDS and SLB, and CMS 2.0 advanced monitoring for Prometheus, APM and UModel alerts.

How do I install the alibabacloud-cms-alert-rule-create skill?

Run npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-cms-alert-rule-create -y in a project. Once installed, the agent can route each alert request to the correct CMS workflow based on the alert type.

What does the skill need before it can create alert rules?

It needs the Alibaba Cloud CLI with the ai-mode feature enabled and a plugin update applied first, as its setup steps require. Its critical rules also ask you to supply values such as the workspace, and the cluster or service ID for Prometheus and APM alerts.

Can this skill create Prometheus or APM alerts for Kubernetes and applications?

Yes, the skill creates CMS 2.0 alert rules for Prometheus, APM and UModel, and it writes PromQL for Prometheus alerts such as K8s monitoring. It asks you for the cluster or service and workspace before creating the rule.

More from aliyun/alibabacloud-aiops-skills

All 28

Similar to Alibabacloud Cms Alert Rule Create

More DevOps & Cloud