huawei-cloud-cloudrobo-train
БесплатноЗапускает вложенные скриптыНе проверенManage CloudRobo model training tasks and simulation reinforcement learning (SimRL) tasks — create pretrain (TRAIN_FROM_SCRATCH) and finetune (MODEL_TUNING)…
от huaweicloudskill507 установок в других каталогахОб этом скилле
Windows / PowerShell: Examples use bash syntax. To run on Windows PowerShell:
- Flatten
\line continuations to a single line, or end lines with a backtick.- Set env vars with
$env:NAME="value"instead ofexport NAME="value".- Single-quoted JSON
'{"a":"b"}'works as-is.
Overview
Manages the full lifecycle of CloudRobo model training tasks and SimRL tasks. Two training modes (MODEL_TUNING / TRAIN_FROM_SCRATCH), five methods (FFT/SFT/LORA/QLORA/DEEPSPEED). Covers creation, monitoring, diagnosis, drafts, stats, resume, and pipeline orchestration.
Two task surfaces (switchable via --sim-rl):
| Surface | API prefix | CLI switch | SDK methods | Resume |
|---|---|---|---|---|
| Regular training | /v1/training/train-tasks |
(default) | 19 train_* |
Yes |
| SimRL | /v1/training/rl-tasks/simulation |
--sim-rl |
16 sim_rl_* |
No |
Scenarios: Fine-tuning, pretraining, simulation RL, draft save/resubmit, monitoring (stages/ resource/events), failure diagnosis, stats. Training runs for hours/days; poll at 30-60s intervals.
Agent → CLI (`cloudrobo train <command> [--sim-rl]`) or SDK (`TrainClient`)
→ cloudrobo-service (REST API)
All operations target cloudrobo-service and require a workspace_id. Model/dataset discovery
calls cloudrobo-asset-manager via cloudrobo asset.
Prerequisites
See references/cli-installation-guide.md for CLI installation, AK/SK authentication, and
workspace configuration. All training operations require a valid workspace_id.
Workspace auto-resolution: The SDK and CLI automatically resolve workspace_id in this order:
- Explicit
--workspace-idparameter (if provided) - Configured default workspace (via
cloudrobo workspace use --workspace-id <id>) - Auto-query: if no workspace is configured, the SDK queries
cloudrobo workspace list, picks the first available workspace, saves it as the default, and uses it
If auto-query fails (no workspaces found), the error message guides the user to create a workspace.
To manually set the default workspace: cloudrobo workspace use --workspace-id <id>.
Workflow
Create Task Based on Existing Task
Scenario: user says "按照已有任务创建一个训练任务", "复制之前的任务", "create same task again", or references an existing task name. Do NOT walk through the full Task Creation Workflow. Instead, reuse the existing task's config directly.
- Find the existing task — if user provides a task name (not ID), use
cloudrobo train list-tasksto find it by name. If user provides task_id, skip to step 2. - Query the existing task config —
cloudrobo train show-task --task-id <id>→ extract the full task config (train_mode, train_method, algorithm, input_models, datasets, spec, cluster_id, worker_num, parameters, env, output_models). - Identify what to change — ask the user in ONE question what to modify (usually just the task
name). Common changes:
name,output_models[].model_name,parametersvalues. - Auto-fix conflicts — if creating a task with the same output model name, append a suffix
(e.g.,
-2,-3, or date) to avoid "输出模型已存在" error. Check vialist-tasksif needed. - Build new config — copy the existing config, apply user's changes. Keep all other fields identical (algorithm, datasets, spec, cluster_id, etc.).
- Submit —
cloudrobo train create-task --config '<new-json>'(CLI preferred). With--verbose/-v, show a user-friendly summary first. - Poll status — 30s interval until terminal state.
Key principle: When the user references an existing task, the agent MUST first query that task's config via
show-taskand reuse it, NOT walk through model/dataset/method selection again. The user has already made those decisions; they just want a new task with the same config.
Task Creation Workflow
Shortcut: If the user references an existing task ("按照已有任务创建", "复制之前的任务", "create same task again"), skip this workflow and use Create Task Based on Existing Task instead.
This unified workflow drives both MODEL_TUNING and TRAIN_FROM_SCRATCH task creation. The agent
orchestrates discovery across cloudrobo-asset / cloudrobo-resource, presents options filtered by
what the cloud actually supports, then submits silently (add --verbose/-v on the CLI call to
print a user-friendly summary first and submit, no yes/no prompt).
Step 1 — Default Task Name
- Default:
Train-{YYYYMMDD-HHMMSS}(e.g.Train-20260812-143000) - Agent offers the default; user may rename. Proceed with default if user says "ok".
Step 2 — Choose Training Method
Ask exactly one question (use a single AskUserQuestion call, NEVER duplicate):
- A) 模型调优 (MODEL_TUNING) — has a base model, finetune via FFT/SFT/LORA/QLORA/DEEPSPEED
- B) 无基模型训练 (TRAIN_FROM_SCRATCH) — three sub-paths (see Step 3b)
No-repeat rule: Each step in this workflow asks t
Установить huawei-cloud-cloudrobo-train в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-cloudrobo-train?
Manage CloudRobo model training tasks and simulation reinforcement learning (SimRL) tasks — create pretrain (TRAIN_FROM_SCRATCH) and finetune (MODEL_TUNING) tasks with FFT/SFT/LORA/QLORA/DEEPSPEED methods; manage the full task lifecycle (create/read/update/delete/stop/restart/resume/draft); save and resubmit draft configs; count tasks by status; monitor execution stages, resource usage, training logs, signed URLs, and events; diagnose failures. SimRL tasks (simulation reinforcement learning) are managed via the same CLI with a --sim-rl flag and cover the same CRUD + lifecycle + monitoring surface (except resume, which is train-only). Triggers include: model training, fine-tuning, pretraining, training task, training stages, resource usage, training logs, training events, draft task, restart training, stop training, resume training, task stats, simulation reinforcement learning, SimRL, 仿真强化学习, 模型训练, 模型微调, 训练任务, 训练阶段, 资源使用, 训练日志, 训练事件, 草稿任务, 重启训练, 克隆训练, 停止训练, 续训训练, 任务统计.
Как установить скилл huawei-cloud-cloudrobo-train?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-cloudrobo-train запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic