Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-cloudrobo-train

БесплатноЗапускает вложенные скриптыНе проверен

Manage CloudRobo model training tasks and simulation reinforcement learning (SimRL) tasks — create pretrain (TRAIN_FROM_SCRATCH) and finetune (MODEL_TUNING)…

huaweicloudskillот 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 of export 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:

  1. Explicit --workspace-id parameter (if provided)
  2. Configured default workspace (via cloudrobo workspace use --workspace-id <id>)
  3. 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.

  1. Find the existing task — if user provides a task name (not ID), use cloudrobo train list-tasks to find it by name. If user provides task_id, skip to step 2.
  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).
  3. 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, parameters values.
  4. 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 via list-tasks if needed.
  5. Build new config — copy the existing config, apply user's changes. Keep all other fields identical (algorithm, datasets, spec, cluster_id, etc.).
  6. Submit — cloudrobo train create-task --config '<new-json>' (CLI preferred). With --verbose/-v, show a user-friendly summary first.
  7. 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-task and 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

Полный SKILL.md на ClawHub

Установить 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-cloudrobo-train с