← Back to Skills Marketplace
sdk-team

Alibabacloud Cms Manage

by alibabacloud-skills-team · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
39
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install alibabacloud-cms-manage
Description
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...
README (SKILL.md)

CMS CLI — aliyun cms2

Prerequisite Check

  1. Check aliyun existswhich aliyun (macOS/Linux) or where aliyun (Windows).

    • Not found → ask the user to install the aliyun CLI first: \x3Chttps://help.aliyun.com/document_detail/121541.html>. Stop and wait.
  2. Check CLI version — run aliyun version. Minimum required: 3.3.15 (see compatibility in 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 -1 If the output equals the current version, the requirement is NOT met.

    • Version OK → go to step 3.
    • Version too old or unrecognized →
      1. Run aliyun upgrade --help to test whether the upgrade subcommand exists.
        • Available → run aliyun upgrade -y to update to the latest version automatically, then re-check aliyun version.
      2. If upgrade not available → run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash, then re-check aliyun version.
      3. If upgrade succeeded → go to step 3.
      4. If upgrade failed → ask the user to upgrade manually: \x3Chttps://help.aliyun.com/zh/cli/update-cli>. Stop and exit.
  3. Check cms2 plugin — run aliyun 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] --help first to get the full flag list and examples.

  • Prefer -o text (default) to reduce token consumption for list/get; use -o json only 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 query default 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:

  • InvalidJSON usually means malformed --body; validate with jq . \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/null to 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.

Usage Guidance
Install only if you trust the publisher and intend to let an agent manage Alibaba Cloud monitoring from your configured aliyun profiles. Before use, require explicit approval for CLI upgrades, curl-based installers, plugin updates, destructive cloud operations, and Kubernetes changes; prefer a least-privilege Alibaba Cloud profile.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose is Alibaba Cloud CloudMonitor management via `aliyun cms2`, and the referenced workflows align with that purpose, including alerting, APM, RUM, event, and integration operations.
Instruction Scope
The skill gives broad cloud-management guidance, including creating, updating, enabling, disabling, and deleting monitoring resources; many destructive or cluster-changing paths require confirmation, but prerequisite upgrade and plugin-update steps do not.
Install Mechanism
If the local CLI is too old, the skill instructs the agent to run `aliyun upgrade -y`, and if unavailable to run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash`, which can modify the host without an explicit consent step.
Credentials
Use of Alibaba Cloud credentials and cloud APIs is expected for the skill's purpose, and the artifacts disclose reliance on the aliyun CLI credential system and profiles.
Persistence & Privilege
The AI-Mode sequence changes local aliyun CLI configuration and runs `aliyun plugin update` before business commands; AI-Mode is later disabled, but plugin updates and any changed components can persist beyond the session.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alibabacloud-cms-manage
  3. After installation, invoke the skill by name or use /alibabacloud-cms-manage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Entry skill for managing Alibaba Cloud CloudMonitor (CMS) via the aliyun CLI. - Provides detailed prerequisite checks for CLI installation, version, and plugin availability. - Documents AI-Mode setup and teardown for improved agent interactions. - Strictly enforces use of `aliyun cms2` without fallback to legacy commands or workarounds. - Includes module routing based on user keywords for integration, alerting, APM, RUM, events, notifications, and more. - Outlines error handling tips and output conventions to ensure smooth command execution.
Metadata
Slug alibabacloud-cms-manage
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 39 downloads so far.

How do I install Alibabacloud Cms Manage?

Run "/install alibabacloud-cms-manage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Alibabacloud Cms Manage free?

Yes, Alibabacloud Cms Manage is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Alibabacloud Cms Manage support?

Alibabacloud Cms Manage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Alibabacloud Cms Manage?

It is built and maintained by alibabacloud-skills-team (@sdk-team); the current version is v1.0.0.

💬 Comments