huawei-cloud-ecs-manage
БесплатноЗапускает вложенные скриптыНе проверенUse when managing Huawei Cloud ECS (Elastic Cloud Server / 弹性云服务器) instances — lifecycle management (create / start / stop / restart / delete), tag-based…
от huaweicloud★ 59 звёзд на GitHubОб этом скилле
Huawei Cloud ECS Manage (Create-Failure Diagnosis & Instance Management)
STOP - Do not answer from general knowledge. Follow the procedure below.
Step 0: Ensure skill-quality-cli (required; installed on first use)
bash scripts/ensure_cli.sh # idempotent: installs only if absent (no auto-upgrade)
export PATH="$HOME/.local/bin:$PATH"
skill-quality-cli version # verify it works
Run this step first: quality reporting depends on
skill-quality-cli, ensured idempotently byscripts/ensure_cli.sh(installs once if missing, skips if present; no auto-upgrade — runskill-quality-cli upgrademanually). Offline failure degrades silently; re-run once online. Always runhcloud ECS <Operation> --helpbefore constructing a command.
Overview
This skill provides AI Agent capabilities for Huawei Cloud ECS: lifecycle management, tag-based
batch operations, tag management, querying, VNC console access, enterprise-project migration, and an
8-step create-failure diagnosis ordered IAM → balance → quota → flavor → image → network →
keypair → disk. It exposes 31 huawei_* actions:
| Capability | Risk | Actions |
|---|---|---|
| Query (read-only) | R3 | huawei_list_ecs_instances, huawei_get_ecs_instance, huawei_list_ecs_flavors, huawei_list_ecs_images, huawei_list_ecs_quotas |
| Diagnose (read-only) | R3 | huawei_diagnose_ecs_create_failure, huawei_analyze_ecs_health |
| Lifecycle | R2 | huawei_create_ecs_instance, huawei_batch_create_ecs_instances, huawei_start_ecs_instance, huawei_stop_ecs_instance, huawei_restart_ecs_instance |
| Batch by tag | R2 | huawei_batch_start_ecs_by_tag, huawei_batch_stop_ecs_by_tag, huawei_batch_reboot_ecs_by_tag |
| Tags | R2 | huawei_batch_tag_ecs, huawei_batch_untag_ecs |
| Ops assist | R3 / R2 | huawei_get_ecs_vnc_console (R3), huawei_change_ecs_enterprise_project (R2) |
| Lifecycle | R1 | huawei_delete_ecs_instance |
| Change ops (§5) | R2 | huawei_resize_ecs_instance, huawei_reinstall_ecs_os, huawei_reset_ecs_password, huawei_replace_ecs_keypair, huawei_bind_ecs_eip, huawei_change_ecs_security_group, huawei_add_ecs_nic, huawei_attach_ecs_volume, huawei_detach_ecs_volume |
| Change ops (§5) | R1 | huawei_unbind_ecs_eip, huawei_remove_ecs_nic |
Every write is asynchronous: polling the returned job_id is a mandatory post-step —
see §6 Async job polling.
Scope boundaries:
- ✅ Query instances/flavors/images/quotas; diagnose create failures and instance health
- ✅ Create post-paid / yearly-monthly / spot and batch heterogeneous instances; start/stop/restart/ delete; tag-based batch start/stop/reboot; batch tag/untag; VNC console; enterprise-project migration
- ✅ Change an existing instance: resize, reinstall OS, reset password, replace keypair, bind/unbind EIP, attach/detach security group, add/remove NIC, attach/detach volume
- ✅ Read and point to CES metrics; hand deep monitoring work to the dedicated ECS monitoring skill
- ❌ NEVER create, delete or reconfigure the VPC / subnet / security-group resource or the EVS volume resource itself — only attach/detach existing resources
- ❌ NEVER execute a write without explicit confirmation (batch preview + count, > 50 → second confirm)
- ❌ NEVER report a write as "done" before its async job reaches
SUCCESSand, forcreate, before the instance reachesACTIVE - ❌ NEVER echo credentials (AK/SK, passwords, tokens, VNC URLs, private keys)
- ❌ NEVER auto-purchase a paid resource:
prePaid/spotcreation stays preview + confirm - ➡️ Out of scope: RDS / database queries (hand back to the user, see
references/related-skills.md)
Dependency: Quality telemetry is collected automatically via skill-quality-cli
(installed by scripts/ensure_cli.sh if absent).
Critical Warnings
| Trap | Why |
|---|---|
| IAM permission is the #1 non-quota create blocker | 403 / not authorized / APIGW.0301 means the action is missing from the user's policy — check references/iam-policies.md, never widen to ECS FullAccess |
| Account balance / arrears blocks paid create | Insufficient account balance / Account is in arrears / Order payment failed — check BSS balance first for prePaid and for orders with isAutoPay=true |
| Quota exhaustion is the #1 quota create failure | Insufficient quota / Quota exceeded — check ShowServerLimits first |
| Flavor must exist in the target region/AZ | Filter ListFlavors by --availability_zone; a sold-out flavor fails |
Image must be active and match the flavor architecture |
Deleted/private image or x86/ARM mismatch fails provisioning |
| Subnet with no free IPs blocks create | An exhausted CIDR or dhcp disabled fails NIC allocation |
| Security group must exist before create | Non-existent SG ID fails the request |
| K |
Установить huawei-cloud-ecs-manage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл huawei-cloud-ecs-manage?
Use when managing Huawei Cloud ECS (Elastic Cloud Server / 弹性云服务器) instances — lifecycle management (create / start / stop / restart / delete), tag-based batch start / stop / reboot, batch tag management, yearly-monthly (prePaid) and spot (竞价) creation, batch heterogeneous creation, day-to-day change operations (resize / reinstall OS / reset password / replace keypair / bind & unbind EIP / change security group / add & remove NIC / attach & detach volume / migrate enterprise project), instance querying, quota/flavor/image inspection, VNC console access, mandatory async-job polling after every write, and multi-step root-cause diagnosis of ECS instance creation failures (IAM → balance → quota → flavor → image → network → keypair → disk). Monitoring metrics are handed off to the dedicated ECS monitoring skill. Provides 31 huawei_* actions: huawei_list_ecs_instances, huawei_get_ecs_instance, huawei_list_ecs_flavors, huawei_list_ecs_images, huawei_list_ecs_quotas, huawei_diagnose_ecs_create_failure, huawei_analyze_ecs_health, huawei_create_ecs_instance, huawei_batch_create_ecs_instances, huawei_start_ecs_instance, huawei_stop_ecs_instance, huawei_restart_ecs_instance, huawei_batch_start_ecs_by_tag, huawei_batch_stop_ecs_by_tag, huawei_batch_reboot_ecs_by_tag, huawei_batch_tag_ecs, huawei_batch_untag_ecs, huawei_get_ecs_vnc_console, huawei_change_ecs_enterprise_project, huawei_delete_ecs_instance, huawei_resize_ecs_instance, huawei_reinstall_ecs_os, huawei_reset_ecs_password, huawei_replace_ecs_keypair, huawei_bind_ecs_eip, huawei_unbind_ecs_eip, huawei_change_ecs_security_group, huawei_add_ecs_nic, huawei_remove_ecs_nic, huawei_attach_ecs_volume, huawei_detach_ecs_volume. Service keywords: ECS, elastic cloud server, instance, VM, server, flavor, image, quota, keypair, security group, subnet, EIP, job, resize, reinstall, tag, batch, VNC, enterprise project, prePaid, spot, 云服务器, 弹性云服务器, 实例, 规格, 镜像, 配额, 密钥对, 安全组, 子网, 创建失败, 启动, 停止, 重启, 删除, 变更规格, 重装系统, 重置密码, 绑定EIP, 解绑EIP, 网卡,
Как установить скилл huawei-cloud-ecs-manage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-ecs-manage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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