Alibabacloud Cms Manage
/install alibabacloud-cms-manage
CMS CLI — aliyun cms2
Prerequisite Check
-
Check
aliyunexists —which aliyun(macOS/Linux) orwhere aliyun(Windows).- Not found → ask the user to install the aliyun CLI first: \x3Chttps://help.aliyun.com/document_detail/121541.html>. Stop and wait.
-
Check CLI version — run
aliyun version. Minimum required: 3.3.15 (seecompatibilityin frontmatter).⚠️ Compare version segments as integers (semver): 3.3.4 \x3C 3.3.15 because 4 \x3C 15. Shell verification:
printf '%s\ ' "3.3.15" "$(aliyun version)" | sort -V | head -1If the output equals the current version, the requirement is NOT met.- Version OK → go to step 3.
- Version too old or unrecognized →
- Run
aliyun upgrade --helpto test whether theupgradesubcommand exists.- Available → run
aliyun upgrade -yto update to the latest version automatically, then re-checkaliyun version.
- Available → run
- If
upgradenot available → runcurl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash, then re-checkaliyun version. - If upgrade succeeded → go to step 3.
- If upgrade failed → ask the user to upgrade manually: \x3Chttps://help.aliyun.com/zh/cli/update-cli>. Stop and exit.
- Run
-
Check
cms2plugin — runaliyun cms2 --help.- Help output OK → continue to Credentials.
unknown command/ missing → stop immediately, output the error report below (append CLI version, OS, and error message), and make no further CLI calls.
Credentials
aliyun cms2 reuses the aliyun CLI credential system (aliyun configure).
Use --profile \x3Cname> to switch profiles.
AI-Mode
Execute the following before and after business commands:
# Before — enable AI-Mode and set User-Agent
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-cms-manage"
aliyun plugin update
# ... execute business commands (aliyun cms2 ...) ...
# After — disable AI-Mode
aliyun configure ai-mode disable
Global Conventions
Hard constraint: fallback to aliyun cms, other API versions, or any workaround is strictly prohibited.
Always run
aliyun cms2 \x3Ccommand> [subcommand] --helpfirst to get the full flag list and examples.
- Prefer
-o text(default) to reduce token consumption for list/get; use-o jsononly when indented JSON is needed. - Before onboarding concrete resource IDs, verify them with
entity query --source CloudResource; do not rely on ID shape alone. entity querydefault time range: when the user does not specify--from/--to, default to the last 7 days (--from= now − 7d,--to= now, both as Unix seconds).
Error Handling
Error codes and actions are listed in aliyun cms2 --help. Additional tips:
InvalidJSONusually means malformed--body; validate withjq . \x3C\x3C\x3C'\x3Cvalue>'before passing to the CLI.--body and stdin are mutually exclusive; specify only one— means both--body(or--file) and stdin data were provided. Fix: keep only one input source. In agent/CI environments where stdin may be a pipe, append\x3C /dev/nullto the command to ensure stdin is empty.
Module Routing
| User Intent Keywords | Commands | Module |
|---|---|---|
| onboarding, monitoring addon, policy, integration, addon release, metric metadata | integration metric-meta |
references/integration.md |
| alert, rule, alert rule, alert template, alert history, patch, create rule, manage rule | alert rule alert template alert history |
references/alerting.md |
| APM measureCode, group/filter/groupBy, baseUnit/displayUnit | alert rule (APM type) |
references/apm-metrics.md |
| UModel metricSet, K8s pod metric, entity-based alert | alert rule (UModel type) |
references/umodel-metrics.md |
| notification, contact, robot, webhook, notification recipients, dingTalk, bots, lark, weChat work | notification-channel contact notification-channel robot notification-channel webhook |
references/alerting.md |
| event, event-hub, alert event, SLS event, incident | event-hub |
references/event-hub.md |
| Grafana, dashboard | grafana |
references/grafana.md (planned) |
| APM, application monitoring, agent install, Java agent, Golang agent, Python agent, Node.js agent, PHP agent, .NET agent, ack-onepilot, OpenTelemetry onboarding, K8s/ACK/ACS container onboarding, ECS host onboarding, LicenseKey, proprietary agent, instgo, aliyun-bootstrap, probe setup, apm onboarding | apm service apm configuration |
references/apm.md |
| AI observability, Dify, LangChain, LangGraph, DashScope, AgentScope, OpenAI, Coze, OpenClaw, CoPaw, Hermes, LLM monitoring, AI tracing, AI agent monitoring, custom instrumentation | apm service apm configuration integration addon |
references/ai.md |
| RUM, Real User Monitoring, User Experience Monitoring, frontend monitoring, web monitoring, H5, mobile app monitoring, Android crash, iOS crash, JS error, page performance, miniapp monitoring, create RUM app, RUM SDK, pid, serviceId, endpoint | rum service rum configuration |
references/rum.md |
Commands not listed above — see aliyun cms2 --help.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install alibabacloud-cms-manage - 安装完成后,直接呼叫该 Skill 的名称或使用
/alibabacloud-cms-manage触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Alibabacloud Cms Manage 是什么?
Entry skill for the aliyun CLI distribution of CloudMonitor (CMS). Use when the user mentions aliyun cms2, CloudMonitor, CMS commands, or any CMS module oper... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。
如何安装 Alibabacloud Cms Manage?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install alibabacloud-cms-manage」即可一键安装,无需额外配置。
Alibabacloud Cms Manage 是免费的吗?
是的,Alibabacloud Cms Manage 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Alibabacloud Cms Manage 支持哪些平台?
Alibabacloud Cms Manage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Alibabacloud Cms Manage?
由 alibabacloud-skills-team(@sdk-team)开发并维护,当前版本 v1.0.0。