Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-aom-list

БесплатноЗапускает вложенные скриптыНе проверен

1. Read-only Huawei Cloud **AOM (Application Operations Management)** management-plane name-list query, triggerable from natural language. 2. Lists the…

wlc-devот wlc-dev192 установки в других каталогах

Об этом скилле

Huawei Cloud AOM Name-List Query

Overview

List the management-plane resource names of Huawei Cloud AOM (Application Operations Management) for a Huawei Cloud account / region. The skill covers 12 read-only name-list categories and can be driven either by an explicit --category or by a natural-language --query string routed to one of the categories.

Architecture:

agent → python3 scripts/list_aom.py --query "<intent>" --category <c>
      → natural-language router (query → category)
      → write-intent guard (read-only enforcement)
      → execution:  hcloud AOM <Operation>            (CLI, primary)
                  → huaweicloudsdkaom v2              (SDK fallback)
                  → REST GET with X-Auth-Token         (token fallback)
      → normalized rows → name-first table / --names-only / --json stdout

Key properties:

  • Read-only by design — every category maps to a single list read operation (verified against the SDK _http_info resource_path). A write-intent guard rejects create / update / delete / enable / disable / batch-* vocabulary before anything runs.
  • CLI first, SDK fallback, REST last — KooCLI is attempted first; when the operation is not available or hcloud is absent, the skill falls back to the official SDK, then to a token-based REST GET.
  • Name-list oriented — each category declares the response field that carries the human resource name; the table shows it first and --names-only prints just those names.
  • Capability boundary (out of scope, always refused) — raw metric / log data and every write operation.

Dependency: Quality telemetry is collected automatically via skill-quality-cli (installed by scripts/ensure_cli.sh if absent).

Query Categories

All 12 categories are served by huaweicloudsdkaom v2. The REST path is the SDK _http_info resource_path verbatim.

Category Description Name field REST path (read)
alarm-rules 告警规则列表 alarm_rule_name GET /v2/{project_id}/alarm-rules
alarm-rule-templates 告警规则模板列表 alarm_rule_template_name GET /v4/{project_id}/alarm-rules-template
metric-or-event-alarm-rules 指标/事件告警规则列表 alarm_rule_name GET /v4/{project_id}/alarm-rules
event2alarm-rules 事件告警规则列表 name GET /v2/{project_id}/event2alarm-rule
action-rules 行动规则列表 rule_name GET /v2/{project_id}/alert/action-rules
mute-rules 静默规则列表 name GET /v2/{project_id}/alert/mute-rules
dashboards 仪表盘列表 dashboard_title GET /v2/{project_id}/aom/dashboards
dashboard-folders 仪表盘分组列表 folder_title GET /v2/{project_id}/aom/dashboards-folder
notification-templates 通知模板列表 name GET /v2/{project_id}/events/notification/templates
prom-instances Prometheus 实例列表 prom_name GET /v1/{project_id}/aom/prometheus
access-codes 接入码列表 access_code GET /v1/{project_id}/access-code
service-discovery-rules 服务发现规则列表 name GET /v1/{project_id}/inv/servicediscoveryrules

AOM CMDB note (from Phase 2 research): the AOM application-resource (CMDB) API family (huaweicloudsdkaom v3: applications / components / environments) exposes no list endpoint — only lookups by name or id (ShowAppByName / ShowComponentByName / ShowEnvByName). Those are detail queries, not name-list queries, so they are intentionally not part of this skill.

Prerequisites

  1. Python 3.8+ with the Huawei Cloud SDK — run python3 scripts/ensure_env.py to install huaweicloudsdkcore and huaweicloudsdkaom automatically. See references/cli-installation-guide.md.
  2. KooCLI (hcloud) — optional primary execution path; see references/cli-installation-guide.md. When absent, the SDK fallback is used.
  3. Credentials configured out-of-band — the CLI reads the active hcloud profile; the SDK fallback reads AK/SK from the whitelisted environment variables (HUAWEI_ACCESS_KEY / HUAWEI_SECRET_KEY, HUAWEICLOUD_SDK_AK / HUAWEICLOUD_SDK_SK, HW_*, ...). Never paste AK/SK into chat; the script never reads, echoes or stores secrets itself.
  4. IAM permission — read-only AOM list actions (least-privilege policy in references/iam-policies.md).
  5. Outbound HTTPS access to aom.<region>.myhuaweicloud.com.
  • skill-quality-cli — ensured by bash scripts/ensure_cli.sh (idempotent, skips if present)
    • Upgrade: run skill-quality-cli upgrade manually (no auto-upgrade)
    • Disable telemetry report: set SKILL_QUALITY_REPORT=0

Workflow

Run python3 scripts/ensure_env.py FIRST. Do this before any query, even the natural-language ones: without huaweicloudsdkaom installed the SDK fallback is unavailable, and any natural-language case that depen

Полный SKILL.md на ClawHub

Установить huawei-cloud-aom-list в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-aom-list?

1. Read-only Huawei Cloud **AOM (Application Operations Management)** management-plane name-list query, triggerable from natural language. 2. Lists the *names* of 12 AOM resource categories: alarm rules (告警规则), alarm rule templates (告警规则模板), metric/event alarm rules (指标/事件告警规则), event-to-alarm rules (事件告警规则), action rules (行动规则), mute rules (静默规则), dashboards (仪表盘), dashboard folders (仪表盘分组), notification templates (通知模板), Prometheus instances (Prometheus 实例), access codes (接入码) and service-discovery rules (服务发现规则). 3. Execution order: KooCLI (`hcloud AOM <Operation>`) first, then the official `huaweicloudsdkaom` v2 SDK, then a token-based REST GET fallback. A write-intent guard rejects every mutating intent before any command runs. 4. Output: a table by default (the name field first), `--json` for the full payload, or `--names-only` for names only; stdout only. 5. Explicitly OUT OF SCOPE: raw metric data points (`ListMetricItems` / `ShowMetricsData` / Prometheus `query` / `query_range`), log items (`ListLogItems`), the AOM CMDB detail lookups (`ShowAppByName` / `ShowComponentByName` / `ShowEnvByName` — no list endpoint), and every write operation. 6. Triggers include: "查询AOM名称列表", "AOM 资源名称", "查询AOM告警规则", "AOM 告警规则模板", "AOM 指标告警规则", "AOM 事件告警规则", "AOM 行动规则", "AOM 静默规则", "AOM 监控看板列表", "AOM 监控看板分组", "AOM 通知模板", "AOM Prometheus 实例", "AOM 接入码", "AOM 服务发现规则", "AOM list", "AOM alarm rules", "AOM prometheus instances", "AOM notification templates". Every trigger carries an explicit AOM qualifier so the router never confuses AOM with the sibling CES / EPS management-plane query skill, whose alarm-rule / dashboard vocabulary overlaps. 7. Offline unit tests (mocked hcloud / SDK) cover intent routing, the write-intent guard, output normalization, backend fallback and all output modes.

Как установить скилл huawei-cloud-aom-list?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-aom-list запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-aom-list с