huawei-cloud-computing-query
БесплатноЗапускает вложенные скриптыНе проверенQueries Huawei Cloud computing resources (ECS/BMS/IMS/AS/CCE/DeH), Covers ECS instances, flavors, keypairs, quotas, server groups, block devices, NICs, VNC…
от huaweicloudskill841 установка в других каталогахОб этом скилле
Huawei Cloud Resource Query
Execution method: this skill runs local Python scripts against the Huawei Cloud SDK.
hcloud,openstack,curland hand-written API calls are not execution paths for this skill.Run every query from the skill directory with the venv Python created by the environment check:
.venv/bin/python3 scripts/huawei_<service>.py <subcommand> [options](Windows:.venv\Scripts\python.exe). When the host provides askill action=exectool, prefix the same command withskill action=exec:and useskill://paths.The entry scripts are executable (
chmod +x, shebang#!/usr/bin/env python3), soscripts/huawei_<service>.py <subcommand>also runs directly;-hworks on a bare host with neither SDK nor credentials, and both entry forms resolve the same options.
Overview
Read-only query skill for Huawei Cloud computing resources, available specifications and existing resource inventory. Scope covers ECS, BMS, IMS, AS, CCE and DeH (dedicated hosts). In scope: resource lists and details, selection data (flavors, images, AZs, quotas), resource IDs and dependencies. Out of scope: creating, modifying, deleting, resizing, reinstalling or restarting any resource; guessing data that was not queried.
Services and entries
| Category | Service | Entry | Guide |
|---|---|---|---|
| ECS | Elastic Cloud Server | scripts/huawei_ecs.py |
references/ecs/guide.md |
| BMS | Bare Metal Server | scripts/huawei_bms.py |
references/bms/guide.md |
| IMS | Image Management Service | scripts/huawei_ims.py |
references/ims/guide.md |
| AS | Auto Scaling | scripts/huawei_as.py |
references/as/guide.md |
| CCE | Cloud Container Engine | scripts/huawei_cce.py |
references/cce/guide.md |
| DeH | Dedicated Host | scripts/huawei_deh.py |
references/deh/guide.md |
Each entry exposes one subcommand per operation. The subcommand name equals the old script file name
without the .py suffix; for example scripts/huawei_ecs.py list_servers_details.
Usage principles
- This skill only queries; it never creates, modifies or deletes resources.
- Prefer the region, project, AZ, resource name and resource ID supplied by the user.
- Query exactly one region per call. Do not silently loop over regions; for a multi-region view, confirm the region list first and label each result block.
- Base every answer on actual API responses; never speculate from experience.
- Preserve key fields in the answer so they can be reused (IDs, names, specifications, images).
- Narrow large result sets with
--name,--id,--status,--tagor--limit. - If a resource type has no subcommand in the matching guide, say so instead of returning unreliable data.
- Run
-hon a subcommand before using it; the help page lists every accepted parameter. - Do not fabricate subcommand names; use only the names listed in the guide.
Prerequisites
Run the lightweight environment check once per session. It is safe on a bare host with neither
credentials nor the SDK: it checks Python, compiles the entry scripts and probes the SDK imports,
prints SKIP: credentials not configured when AK/SK are absent, and exits 0 in under 10 seconds.
Results are cached in .env_check_cache; a pass is reused for 30 minutes and a skip/failure for 5
minutes, so repeated calls stay cheap.
bash scripts/check_env.sh
powershell -ExecutionPolicy Bypass -File scripts/check_env.ps1
Run the strict check only when you are about to execute live queries; it creates the virtual environment, installs the SDK packages and validates the credentials through IAM.
bash scripts/check_env.sh --full
powershell -ExecutionPolicy Bypass -File scripts/check_env.ps1 --full
The strict check fails fast with exit code 2 when credentials are missing; a host with credentials but
unreachable package mirrors or network fails with exit code 3 and a readable hint. The first strict run
may take tens of seconds; the whole run is bounded by a total timeout (HW_ENV_CHECK_TIMEOUT, default
120 seconds) so it never waits silently. Force a re-check with --force or HW_ENV_CHECK_FORCE=1;
change the pass-cache TTL with --ttl <seconds> or HW_ENV_CHECK_TTL.
Quick self-check without installing dependencies: run -h on any entry script, for example
.venv/bin/python3 scripts/huawei_ecs.py list_servers_details -h. Help handling happens before the
credential and SDK checks, so it exits 0 and prints the accepted parameters even on a bare host. Use it
to confirm the skill is executable before spending time on the full environment check.
Environment variables (values are secrets; never echo them):
- AK/SK — required; the resolver tries these in order:
HW_ACCESS_KEY/HW_SECRET_KEY, thenHUAWEI_ACCESS_KEY/HUAWEI_SECRET_KEY, thenAKSK(a single slash-joinedAK/SKvalue).HUAWEICLOUD_SDK_AK/HUAWEICLOUD_SDK_SKare accepted a
Установить huawei-cloud-computing-query в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-computing-query?
Queries Huawei Cloud computing resources (ECS/BMS/IMS/AS/CCE/DeH), Covers ECS instances, flavors, keypairs, quotas, server groups, block devices, NICs, VNC console, BMS bare metal servers/flavors/quotas, IMS images/OS versions/members/quotas, AS scaling groups/configs/policies/activity logs/lifecycle hooks/warm pools/quotas, CCE clusters/nodes/node pool details/node pool tags/cluster tags/quotas, and DeH dedicated hosts/host details (read-only). No write operations. Cross-category: for cloud disks (EVS) use the storage query skill; for ECS create/start/stop/reboot/delete/resize use the ECS management skill; for CCE workloads/namespaces/events use the CCE kubectl-based skills. Use this skill when the user needs to query ECS instance details, list flavors, check BMS availability, browse images, view auto-scaling group/policy status, inventory CCE clusters and nodes, or check dedicated host capacity. Triggers include: "弹性云服务器", "ECS", "裸金属", "BMS", "镜像", "IMS", "弹性伸缩", "AS", "伸缩组", "伸缩策略", "规格查询", "CCE", "云容器引擎", "集群", "节点", "节点池", "专属主机", "DeH", "flavor", "instance", "image", "scaling", "cluster", "node", "dedicated host".
Как установить скилл huawei-cloud-computing-query?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-computing-query запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic