huawei-cloud-ces-eps-query
FreeRuns bundled scriptsNot checked1. Read-only Huawei Cloud **management-plane** queries for CES (Cloud Eye) and EPS (Enterprise Project Service), triggerable from natural language. 2. CES (7…
by wlc-dev351 installs in other catalogsAbout this skill
Huawei Cloud CES / EPS Management-Plane Query
Overview
Query the management-plane metadata of Huawei Cloud CES (Cloud Eye) and
EPS (Enterprise Project Service) for a Huawei Cloud account. The skill covers
12 read-only query categories and can be driven either by an explicit
--category or by a natural-language --query string that is routed to
one of the categories.
Architecture:
agent → python3 scripts/ces_eps_query.py --query "<intent>" --category <c>
→ natural-language router (query → category)
→ write-intent guard (read-only enforcement)
→ execution: skill-quality-cli run ─▶ hcloud CES|EPS <Operation> (CLI, primary)
→ huaweicloudsdkces v2 / huaweicloudsdkeps v1 (SDK fallback)
→ REST GET with X-Auth-Token (token fallback)
→ normalized rows → table / JSON stdout
Key properties:
- Read-only by design — every category maps to a single read operation
(verified against the SDK
_http_inforesource_path). A write-intent guard rejects create / update / delete / enable / disable / migrate / batch-* vocabulary before anything runs. The onlyPOSTpaths used (notification-masks/batch-query,resources/filter) are read batch query operations, never mutations. - 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.
- Natural-language triggerable —
--query "查询企业项目绑定资源"routes toeps-resources; unknown intents are rejected with the list of categories. - Capability boundary (out of scope, always refused) — raw metric data
points (
ShowMetricData/ListMetrics/BatchListMetricData), service-level metric values (RDS / DCS / DMS / EVS / ELB ...), and every write operation.
Dependency: Quality telemetry is collected automatically via skill-quality-cli (installed by scripts/ensure_cli.sh if absent).
Query Categories
CES — 7 categories (huaweicloudsdkces v2)
| Category | Description | SDK method | REST path (read) |
|---|---|---|---|
alarm-rules |
告警规则列表 | list_alarm_rules |
GET /v2/{project_id}/alarms |
alarm-histories |
告警历史列表 | list_alarm_histories |
GET /v2/{project_id}/alarm-histories |
alarm-templates |
告警模板列表 | list_alarm_templates |
GET /v2/{project_id}/alarm-templates |
dashboards |
仪表盘列表 | list_dashboard_infos |
GET /v2/{project_id}/dashboards |
notification-masks |
通知掩码列表 | list_notification_masks |
POST /v2/{project_id}/notification-masks/batch-query (read) |
resource-groups |
资源分组列表 | list_resource_groups |
GET /v2/{project_id}/resource-groups |
one-click-alarms |
一键告警列表 | list_one_click_alarms |
GET /v2/{project_id}/one-click-alarms |
EPS — 5 categories (huaweicloudsdkeps v1)
| Category | Description | SDK method | REST path (read) |
|---|---|---|---|
eps-projects |
企业项目列表 | list_enterprise_project |
GET /v1.0/enterprise-projects |
eps-project-detail |
企业项目详情 (needs --id) |
show_enterprise_project |
GET /v1.0/enterprise-projects/{enterprise_project_id} |
eps-quotas |
企业项目配额 | show_enterprise_project_quota |
GET /v1.0/enterprise-projects/quotas |
eps-resources |
企业项目绑定资源 (needs --id) |
show_resource_bind_enterprise_project |
POST /v1.0/enterprise-projects/{enterprise_project_id}/resources/filter (read) |
eps-migration-records |
企业项目迁移记录 | list_migration_record |
GET /v1.0/enterprise-projects/migrate-record/list |
Prerequisites
- Python 3.8+ with the Huawei Cloud SDK — run
python3 scripts/ensure_env.pyto installhuaweicloudsdkcore,huaweicloudsdkcesandhuaweicloudsdkepsautomatically. 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 CES / EPS actions (least-privilege policy in references/iam-policies.md).
- Outbound HTTPS access to
ces.<region>.myhuaweicloud.comandeps.<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
1
Install huawei-cloud-ces-eps-query in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the huawei-cloud-ces-eps-query skill do?
1. Read-only Huawei Cloud **management-plane** queries for CES (Cloud Eye) and EPS (Enterprise Project Service), triggerable from natural language. 2. CES (7 query categories): alarm rules (告警规则), alarm histories (告警历史), alarm templates (告警模板), dashboards (仪表盘), notification masks (通知掩码), resource groups (资源分组), one-click alarms (一键告警). 3. EPS (5 query categories): enterprise project list (企业项目列表), enterprise project detail (企业项目详情), enterprise project quotas (企业项目配额), resources bound to an enterprise project (绑定资源), migration records (迁移记录). 4. Execution order: KooCLI (`hcloud CES|EPS <Operation>`) first, then the official `huaweicloudsdkces` v2 / `huaweicloudsdkeps` v1 SDK, then a token-based REST GET fallback. A write-intent guard rejects every mutating intent before any command runs. 5. Explicitly OUT OF SCOPE: raw metric data points (`ShowMetricData` / `ListMetrics` / `BatchListMetricData`), service-level metric values (RDS / DCS / DMS / EVS / ELB ...), and every write operation (create / update / delete / enable / disable / migrate / batch-*). 6. Triggers include: "查询告警规则", "告警历史", "告警模板", "仪表盘", "通知掩码", "资源分组", "一键告警", "企业项目列表", "企业项目详情", "企业项目配额", "企业项目绑定资源", "迁移记录", "CES query", "EPS query", "cloud eye", "enterprise project", "alarm rule list". 7. Offline unit tests (mocked hcloud / SDK) cover intent routing, the write-intent guard, output normalization, backend fallback and all CLI output modes.
How do I install the huawei-cloud-ces-eps-query skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the huawei-cloud-ces-eps-query skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
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…
by 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…
by 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…
by 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…
by Anthropic