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-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
listread operation (verified against the SDK_http_inforesource_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-onlyprints 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 (
huaweicloudsdkaomv3: 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
- Python 3.8+ with the Huawei Cloud SDK — run
python3 scripts/ensure_env.pyto installhuaweicloudsdkcoreandhuaweicloudsdkaomautomatically. See references/cli-installation-guide.md. - KooCLI (
hcloud) — optional primary execution path; see references/cli-installation-guide.md. When absent, the SDK fallback is used. - 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. - IAM permission — read-only AOM
listactions (least-privilege policy in references/iam-policies.md). - 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.pyFIRST. Do this before any query, even the natural-language ones: withouthuaweicloudsdkaominstalled the SDK fallback is unavailable, and any natural-language case that depen
Установить 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic