huawei-cloud-modelarts-resource-pool-management
Manage Huawei Cloud ModelArts dedicated resource pools (专属资源池) and node pools through full lifecycle operations via hcloud CLI. Covers 53 operations across 10…
от huaweicloudskill488 установок в других каталогах
Установить huawei-cloud-modelarts-resource-pool-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Huawei Cloud ModelArts Resource Pool Management
Full lifecycle management for ModelArts dedicated resource pools and node pools via hcloud CLI — 53 operations across 10 functional domains.
Overview
This skill enables users to manage Huawei Cloud ModelArts dedicated resource pools (专属资源池) and node pools through the hcloud CLI. It covers the complete lifecycle including resource pool CRUD, node management, node pool management, network resources, tag management, plugin management, workloads, scheduled events, OS configuration, and resource flavor queries. Pricing inquiry for chargeable operations is included via scripts/query-pricing.sh (KooCLI 7.3.12 no longer supports BSS, so the script fails loudly and a console/API Explorer fallback is documented).
⚠️ Scope boundary: This skill is used ONLY for ModelArts dedicated resource pool / node pool / network / tag / plugin management. It does NOT handle OBS buckets, ECS instances, or any other Huawei Cloud service operations. For non-ModelArts requests (e.g., "query my OBS bucket"), decline and point the user to the appropriate service-specific skill.
Known Capability Limitations (verified by real testing)
- CreatePool flavors must carry the
.dsuffix: Only flavors likemodelarts.vm.cpu.16u64g.dcan create a dedicated pool. Flavors WITHOUT the.dsuffix (e.g.,modelarts.vm.cpu.8ud) fail withModelArts.50004000 Invalid flavor ... is not available for your project. Always verify the targeted flavor withListResourceFlavorsbeforeCreatePool. - BatchResetPoolNodes is NOT available for regular VM pools:
rollingConfig.strategyhas no valid value for VM pools, so batch reset only works when the pool supports a valid strategy. For regular VM nodes, resets must be done by deleting and recreating the nodes instead. - BatchResizePoolNodes only supports hyperinstance nodes: resizing is not supported for regular VM nodes; use delete-recreate as the fallback for VM pools.
Architecture
User Request → Agent → hcloud ModelArts <Operation> --cli-region={region} [--params] → Huawei Cloud ModelArts API
Applicable Scenarios
- Resource Pool Management: Create, list, show, update, delete resource pools; monitor, statistics, node config, order management
- Pool Node Management: List/show nodes; batch delete, update, lock, unlock, reboot, reset, resize, migrate, bind
- Node Pool Management: Create, list, show, update, delete node pools within a resource pool
- Network Resources: Create, list, show, update, delete ModelArts networks; query available IPs
- Tag Management: List, show, batch create, batch delete resource pool tags
- Plugin Management: List plugin templates; list and create pool plugins
- Jobs & Workloads: List workloads, show workload statistics, list jobs
- Scheduled Events: List and accept scheduled events
- OS Configuration: Show OS user config and quotas
- Resource Flavors & Events: List resource flavors, events, node config templates
Prerequisites
- hcloud CLI installed and authenticated — Reference: https://support.huaweicloud.com/qs-hcli/hcli_02_003.html
- Huawei Cloud AK/SK configured via hcloud (see Security & Credential Check below)
- ModelArts service enabled in the target region
- IAM permissions — See references/iam-policies.md
Security & Credential Check
⚠️ CRITICAL: This section defines the agent's security boundary. Follow it strictly.
🔒 Security Rules (MANDATORY)
- 🚫 NEVER read, echo, or print AK/SK values (e.g.,
cat ~/.hcloud/config.json,echo $HW_ACCESS_KEYis FORBIDDEN) - 🚫 NEVER read or cat credential files such as
~/.hcloud/config.jsonor any file that may contain secrets - 🚫 NEVER ask the user to input AK/SK directly in the conversation or command line
- 🚫 NEVER execute
hcloud configure set --cli-access-key=... --cli-secret-key=...— credential configuration is the user's responsibility, done outside the agent session - 🚫 NEVER pass
--cli-access-key/--cli-secret-keyon every API call — they will be exposed in process listings (ps aux) for the entire request duration - ✅ ALWAYS use
hcloud configure listto check credential status (presence check only, not values) - ✅ If no valid profile exists, STOP and instruct the user to configure credentials outside this session
- ✅ Recommend using IAM user with minimal permissions instead of main account
✅ Agent Credential Check (the ONLY acceptable check)
# Step 1: Check credential status — presence only, not values
hcloud configure list
✅ Expected: Shows a valid profile with
mode: AKSK❌ If empty/invalid → Guide the user with the 3-step process below:
Step-by-step guidance (copy-paste for the user):
"No valid credentials found. Please follow these 3 steps in your terminal:"
① Get your AK/SK
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-modelarts-resource-pool-management?
Manage Huawei Cloud ModelArts dedicated resource pools (专属资源池) and node pools through full lifecycle operations via hcloud CLI. Covers 53 operations across 10 functional domains: resource pool management, pool nodes, node pool management, network resources, tag management, plugin management, jobs/tasks, scheduled events, OS configuration, and resource flavor/event queries. Includes BSS on-demand pricing inquiry before chargeable operations (create/expand) to inform users of costs. All write operations require user confirmation. Triggers include: "资源池", "专属资源池", "resource pool", "创建资源池", "查询资源池", "删除资源池", "更新资源池", "资源池监控", "资源池节点", "pool node", "节点池", "node pool", "资源池网络", "pool network", "资源池标签", "pool tags", "插件", "plugin", "工作负载", "workload", "定时事件", "scheduled event", "OS配置", "规格列表", "ModelArts resource pool", "manage resource pool", "询价", "pricing", "按需价格", "价格查询".
Как установить скилл huawei-cloud-modelarts-resource-pool-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-modelarts-resource-pool-management запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop 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…
internal-comms
AnthropicA 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…
skill-development
AnthropicThis 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…