Skip to main content
skill CX Codex

alibabacloud-cms-alert-rule-create — Claude Code skill

alibabacloud-cms-alert-rule-create is a Claude Code skill for creating and managing Alibaba Cloud alert rules across CMS 1.0 cloud resources and CMS 2.0 Prometheus, APM, and UModel.

no license 288 installs ★ 300 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-cms-alert-rule-create -a claude-code
Open on GitHub

What alibabacloud-cms-alert-rule-create does

This skill bridges two monitoring systems in Alibaba Cloud. For cloud resources like ECS, RDS, SLB, OSS, Redis, and MongoDB, it uses CMS 1.0 with the PutResourceMetricRule API. For Prometheus, APM applications, and custom UModel metrics, it switches to CMS 2.0 with ManageAlertRules. The skill detects which workflow to use based on the alert type you describe.

The workflow follows these steps: lock the context (region, instances, workspace), generate a metric query by calling describe-metric-meta-list for CMS 1.0 or building PromQL/APM configuration for CMS 2.0, set detection thresholds and check frequency, pick notification channels (contact groups for CMS 1.0, webhooks for CMS 2.0), preview the config and confirm before running the CLI command. All API calls include the user-agent header AlibabaCloud-Agent-Skills/alibabacloud-cms-alert-rule-create and set timeouts to --read-timeout 30 for queries and --read-timeout 60 for writes.

For CMS 2.0 creation, the skill asks you for workspace value; Prometheus rules also need cluster ID, APM rules need service ID. No guessing or auto-completion happens here.

What it helps with

  • Set up CPU alerting on ECS or RDS without manual metric configuration
  • Deploy a Prometheus alert to monitor a Kubernetes cluster in Alibaba Cloud
  • Retrieve and check status of existing alert rules across your environment
  • Add an APM alert with a custom threshold for a production application
  • Bind notification contacts to an alert so the right team receives notifications

Example prompts for the agent

  • Create an alert for CPU usage on an ECS instance in cn-beijing region
  • Set up a Prometheus alert using PromQL to track job queue depth
  • List all alert rules tied to my APM application

How to install alibabacloud-cms-alert-rule-create

1Skills CLI (Vercel)

npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-cms-alert-rule-create -a claude-code

2Manually: put the files in place

~/.claude/skills/alibabacloud-cms-alert-rule-create/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/alibabacloud-cms-alert-rule-create/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about alibabacloud-cms-alert-rule-create

How do I install alibabacloud-cms-alert-rule-create in Claude Code?

Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-cms-alert-rule-create -a claude-code, then open the file ~/.claude/skills/alibabacloud-cms-alert-rule-create/SKILL.md to activate it.

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

It creates and queries alert rules in Alibaba Cloud. It supports monitoring standard cloud resources (ECS, RDS, SLB, and others) via CMS 1.0 and advanced monitoring (Prometheus, APM, UModel) via CMS 2.0. It picks the right API automatically.

What information do I need to create an alert in CMS 2.0?

For Prometheus alerts, provide the cluster ID and workspace. For APM alerts, provide the service ID and workspace. The skill prompts you for these values interactively without auto-filling.

Similar skills

All skills for DevOps and infrastructure →

From the same set66

The whole set →
alibabacloud-rds-copilot The alibabacloud-rds-copilot skill wires the Anthropic RDS Copilot assistant into your coding agent: database questions, SQL rewrites, instance operations and troubleshooting. CX Codex +1 438installs alibabacloud-tech-solution-animation-creation-auto-deploy alibabacloud-tech-solution-animation-creation-auto-deploy is a skill for animation deployment on Alibaba Cloud: sets up OSS, issues a Bailian API key, and launches ComfyUI and WebUI in Function Compute. CX Codex +1 411installs alibabacloud-das-agent alibabacloud-das-agent is a Claude Code skill that connects Alibaba Cloud DAS for plain-language database diagnostics. CX Codex +1 395installs alibabacloud-sls-index-config-management alibabacloud-sls-index-config-management manages Alibaba Cloud SLS Logstore indexes, generates index schemas from structured log samples, and tunes configurations for queries and cost. CX Codex +1 339installs alibabacloud-ecs-code-deploy alibabacloud-ecs-code-deploy deploys application code or AI agents to Alibaba Cloud ECS using appmanager, handling pre-checks, pricing estimates, and log checks. CX Codex +1 277installs alibabacloud-network-reachability-analysis alibabacloud-network-reachability-analysis — a skill that analyzes network reachability in Alibaba Cloud NIS. Tests forward and reverse paths between cloud resources, pinpoints broken routes, and renders network topology. CX Codex +1 277installs alibabacloud-oss-manage-cron-upload alibabacloud-oss-manage-cron-upload plans recurring uploads from a local folder to Alibaba Cloud OSS through the aliyun CLI. Use it for cron or Windows Task Scheduler setups. CX Codex +1 262installs alibabacloud-iqs-search The alibabacloud-iqs-search skill searches the live web through Aliyun IQS and reads pages from a URL. Use it for current facts, news checks, and source-based research. CX Codex +1 257installs

Project sponsors

Companies that keep this analytics open