huawei-cloud-ecs-lifecycle
БесплатноЗапускает вложенные скриптыНе проверенManage the full lifecycle of Huawei Cloud ECS (Elastic Cloud Server) instances — create, list, show details, start, stop, reboot, rename, delete, reinstall or…
от huaweicloudskill460 установок в других каталогахОб этом скилле
Huawei Cloud ECS Lifecycle Management
Full lifecycle management for Huawei Cloud Elastic Cloud Server (ECS) — from provisioning to decommissioning, including power-state orchestration and instance queries.
Overview
This Skill manages the complete lifecycle of ECS (Elastic Cloud Server) instances on Huawei Cloud
using the KooCLI ECS service (with the huaweicloudsdkecs Python SDK as fallback):
| Capability | Operations | Actions |
|---|---|---|
| Query | ListServersDetails, ShowServer |
List instances with filters/pagination; show instance detail |
| Linked query | ListServerVolumeAttachments, EVS ListVolumes/ShowVolume/ListSnapshots/ShowSnapshot, VPC ShowVpc/ListSubnets/ShowSubnet/ListSecurityGroups/ShowSecurityGroup/ListSecurityGroupRules, EIP ListPublicips/ShowPublicip |
Query the instance's attached EVS volumes & snapshots, VPC/subnet topology, security groups & rules, and bound EIPs |
| Create | CreateServers |
Create one or more pay-per-use cloud servers |
| Power state | BatchStartServers, BatchStopServers, BatchRebootServers |
Start / stop / reboot (batch) |
| Update | BatchUpdateServersName |
Rename one or more servers |
| OS image | ReinstallServerWithCloudInit / ReinstallServerWithoutCloudInit, ChangeServerOsWithCloudInit / ChangeServerOsWithoutCloudInit |
Reinstall the operating system, or switch the instance to a different OS image |
| Resize | ListResizeFlavors, ResizeServer, ResizePostPaidServer, BatchResizeServers |
Query the flavors a server may be resized to; change the flavor (vCPU / memory) of one or many servers |
| Delete | DeleteServers |
Delete one or more servers (optional EIP/data volume release) |
| Knowledge | — | Basic ECS FAQ (flavors, billing, auth, network, disk) answered inline |
Scope note: All mutating operations (create / delete / start / stop / reboot / rename / reinstall
OS / change OS / resize) are executed only after explicit user confirmation. Query operations are
safe to run anytime. Reinstall OS, change OS, and resize are destructive or disruptive — see
references/lifecycle-change-operations.md for the full sequence, parameters, and warnings.
Prerequisites
- KooCLI (hcloud) installed and authenticated — see
references/cli-installation-guide.md. ⚠️ This is verified at runtime by the Step 0 preflight check, not merely assumed: ifhcloudis missing fromPATH, unauthenticated, or no region can be resolved, the run aborts before any ECS command is attempted. - Region — pass
--cli-region=cn-north-4(use the account's region; e.g.cn-north-4), or the active CLI profile default is used - IAM permissions — the authenticated account needs the ECS permissions listed in
references/iam-policies.md(least privilege); OS reinstall/change and resize additionally need the change-operation permissions documented there - Python 3.8+ with
huaweicloudsdkecs(only needed for the SDK fallback path)
Quality Reporting Environment Variables
| Environment Variable | Required | Description |
|---|---|---|
SKILL_QUALITY_ENDPOINT |
No | 上报地址,默认 https://skillsapi.developer.myhuaweicloud.com/api/quality/report |
SKILL_QUALITY_GUEST_ENDPOINT |
No | Guest (unauthenticated) report endpoint |
SKILL_QUALITY_NAME |
No | Skill name (auto-detected) |
SKILL_QUALITY_DISABLE |
No | Set 1 to disable reporting (local debugging) |
SKILL_QUALITY_TIMEOUT |
No | Report timeout in seconds (default 3) |
Workflow
Preflight — mandatory entry check. Run the preflight script before anything else:
bash scripts/preflight_check.sh --region={region}It checks, in order: (1)
hcloudis onPATH, (2)hcloud versionruns, (3) credentials are configured, (4) the region is resolvable — then performs a read-only smoke call to prove the credentials actually work. If any check fails, stop here, print the installation / authentication guidance fromreferences/cli-installation-guide.md, and do not attempt any ECS command. Use--skip-auth-checkonly for a deliberately offline run. This step exists precisely so that a missing binary or an unauthenticated account fails immediately at the entry point instead of surfacing ascommand not foundin the middle of an operation. Exit codes:0= environment ready,1= not ready (abort the workflow),2= invalid usage.Classify the request — knowledge question (answer inline from the Overview/FAQ below and official docs) or an ECS operation.
Resolve the target server(s) — for instance-specific operations, get
server_idfrom the user, or list instances first (ListServersDetails) if the ID is unknown.Query operations — build the command with the requested filters and execute directly. For linked-resource
Установить huawei-cloud-ecs-lifecycle в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-ecs-lifecycle?
Manage the full lifecycle of Huawei Cloud ECS (Elastic Cloud Server) instances — create, list, show details, start, stop, reboot, rename, delete, reinstall or switch the operating system, and resize (change flavor) cloud servers — plus basic ECS knowledge Q&A. Covers CRUD, power-state orchestration (start/stop/reboot) with batch support, OS reinstall/change, flavor resize, pagination, and filters. Also queries the instance's linked cross-product resources (attached EVS volumes and snapshots, VPC/subnet topology, security groups and rules, bound EIPs). A Step 0 preflight check validates the KooCLI installation, credentials, and region before anything runs. All mutating operations require explicit user confirmation before execution. Triggers include: "创建云服务器", "删除云服务器", "启动云服务器", "停止云服务器", "重启云服务器", "修改云服务器名称", "查询云服务器列表", "查询云服务器详情", "重装操作系统", "切换操作系统", "变更云服务器规格", "查询云服务器关联资源", "查询挂载云硬盘", "云硬盘快照", "ECS生命周期管理", "ECS运维", "ECS关联资源", "create ecs", "delete ecs", "start ecs", "stop ecs", "reboot ecs", "reinstall os", "resize ecs", "change flavor", "ecs lifecycle", "linked resources", "elastic cloud server management", "云服务器增删改查".
Как установить скилл huawei-cloud-ecs-lifecycle?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-ecs-lifecycle запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic