huawei-cloud-modelarts-training-management
БесплатноЗапускает вложенные скриптыНе проверенManage Huawei Cloud ModelArts training jobs and related resources through full lifecycle operations via hcloud CLI. Covers 52 API interfaces across 8…
от huaweicloudskill388 установок в других каталогахОб этом скилле
Huawei Cloud ModelArts Training Management
Full lifecycle management for ModelArts training jobs and related resources via hcloud CLI — 52 API interfaces across 8 functional domains.
Overview
This skill enables users to manage Huawei Cloud ModelArts training jobs and related resources through the hcloud CLI. It covers the complete training lifecycle including training job CRUD, algorithm management, training experiments, auto search (hyperparameter tuning), model import, and training image save.
Architecture
User Request → Agent → hcloud ModelArts <Operation> --cli-region={region} [--params] → Huawei Cloud ModelArts API
Applicable Scenarios
- Training Job Management: Create, list, show, stop, delete training jobs; query logs, metrics, engines, flavors, quotas
- Algorithm Management: Create, list, show, update, delete training algorithms; publish to gallery
- Training Job Tags: Create, show, delete tags for training jobs
- Training Experiments: Create, list, show, update, delete, check training experiments
- Training Job Events: Query job events, stages, tasks; list system events and scheduled events
- Model Import: Import, list, show, delete AI models; create ModelArts agency
- Auto Search: Query hyperparameter search trials, parameters analysis, yaml templates
- Training Image Save: Create and query training job image save tasks
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 Log in to Huawei Cloud Console → IAM → Access Keys. If you don't have one, click "Create Access Key" and save it securely.
② Run this in your terminal (one-time setup):
hcloud configure set --cli-access-key=<YOUR_AK> --cli-secret-key=<YOUR_SK>(Replace
<YOUR_AK>and<YOUR_SK>with the values from step ①)③ Come back and tell me "configured", I'll verify it works.
Note: The
configure setcommand stores your credentials in~/.hcloud/config.json. After that, all hcloud commands use them automatically — no need to pass AK/SK again.Agent: DO NOT execute any
configure setcommand yourself.
🔧 User's Responsibility (for documentation, NOT agent execution)
The user configures credentials outside the agent session (in their own terminal):
# One-time setup — run this in your terminal, NOT in the agent chat
HISTCONTROL=ignorespace
hcloud configure set --cli-access-key=<YOUR_AK> --cli-secret-key=<YOUR_SK>
⚠️ Note: hcloud CLI does NOT read
HW_ACCESS_KEY/HW_SECRET_KEYenvironment variables (those are for Python SDK only).hcloud configure setis the only supported credential configuration method.
Workflow
Step 1: Identify the Operation
Determine which training operation the user needs based on their request:
| User Intent | Operation Category |
|---|---|
| Create/list/show/stop/delete training jobs | Training Job Management |
| Create/list/show/update/delete algorithms | Algorithm Management |
| Create/show/delet |
Установить huawei-cloud-modelarts-training-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-modelarts-training-management?
Manage Huawei Cloud ModelArts training jobs and related resources through full lifecycle operations via hcloud CLI. Covers 52 API interfaces across 8 functional domains: training job management, algorithm management, training job tags, training experiments, training job events, model import, auto search (hyperparameter tuning), and training image save. All write operations require user confirmation before execution. Triggers include: "ModelArts training", "训练作业", "模型训练", "创建训练作业", "查询训练作业", "停止训练作业", "删除训练作业", "算法管理", "超参配置", "training job", "training management", "create training", "ModelArts 训练", "训练实验", "自动搜索", "超参调优".
Как установить скилл huawei-cloud-modelarts-training-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-modelarts-training-management запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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