training-integration
БесплатноБез исполняемых скриптовНе проверенPlan, validate, and hand off optional MyoSuite policy evaluation or RL training integrations without starting uncontrolled experiments.
от lza6★ 19 звёзд на GitHubОб этом скилле
MyoSuite Training Integration
Use this sub-skill when a task involves an optional RL framework, a saved policy, an experiment configuration, or a reproducible training handoff for a MyoSuite environment. Keep environment use separate from experiment execution: the base CPU package can create and step MyoSuite environments without any RL framework, scheduler, model download, external account, JAX, or CUDA stack.
This sub-skill owns planning, dependency/config validation, bounded evaluation, callback contracts, and safety gates. It does not own long-running training, benchmark execution, scheduler submission, credential setup, or model download.
Route The Request
| Request | Route |
|---|---|
| Check whether optional training packages are present | Run scripts/check_training_deps.py. |
| Evaluate a local saved policy | Follow Policy evaluation. |
| Understand SB3, MJRL, DEP-RL, or TorchRL boundaries | Read Framework boundaries. |
| Validate or design an experiment config | Read Configuration. |
| Map Hydra launch concepts or callbacks | Read Launch and callback contracts. |
| Diagnose a missing package, checkpoint, or space mismatch | Read Troubleshooting. |
| Start a full run, benchmark, Slurm job, or download | Stop at a reproducible handoff; require explicit execution outside this skill. |
Establish The Contract
Before loading a policy or drafting a run, collect:
- Exact environment id and MyoSuite/package versions.
- Framework and algorithm (
stable_baselines3.PPO,SAC, MJRL NPG, DEP-RL, TorchRL, or a custom policy). - Policy artifact type, local path, trusted origin, and companion state such as
VecNormalizestatistics. - Observation and action spaces used during training.
- Evaluation budget: seed, episodes, maximum steps, render mode, and output directory.
- For training: config snapshot, dependency lock, hardware/backend, resource cap, checkpoint cadence, evaluation protocol, and stop conditions.
Do not guess a framework from a suffix alone. A .zip commonly denotes an SB3
model, .pickle often denotes an MJRL-style object, and DEP-RL usually loads a
run directory, but provenance and loader API remain authoritative.
Preflight Without Training
From this sub-skill directory, run a metadata-only check:
python scripts/check_training_deps.py --framework sb3 --json
Validate a local artifact without deserializing it:
python scripts/check_training_deps.py \
--framework sb3 \
--policy ./policy.zip \
--json
Validate a project-owned YAML configuration without invoking Hydra or a launcher:
python scripts/check_training_deps.py \
--framework sb3 \
--launcher hydra-local \
--config ./experiment.yaml \
--json
The script performs no installation, download, deserialization, training,
scheduler submission, credential lookup, or output creation. Optional
--probe-env --env <id> creates and resets one environment, reports spaces, and
closes it; it never steps or trains. Exit 0 means requested checks passed and
the config is within the script's agent-session guardrail, 1 means a missing
or invalid requirement, 2 is CLI misuse, and 3 means the config parsed but
exceeds or evades the bounded-run guardrail. None of these statuses authorizes
training.
Evaluate A Saved Policy Safely
Use the loader that produced the artifact:
- SB3:
PPO.load(path, env=env, device="cpu")orSAC.load(...), thenmodel.predict(obs, deterministic=True). - MJRL/examine-style policy: trusted pickle only; the object must implement
get_action(obs), whose first returned item is the action. - DEP-RL:
deprl.load(path, env)for a user run, ordeprl.load_baseline(env)only when baseline acquisition is explicitly permitted. - Custom: define and record an adapter with one clear action method and validate
its output against
env.action_spacebefore stepping.
Do not pass an SB3 .zip directly to myosuite.utils.examine_env. Its policy
contract is a module-qualified class constructible as (env, seed) or a trusted
pickled object with get_action; SB3 uses load plus predict. Use a bounded
custom evaluation loop for SB3. See training workflows.
Always check the package before the file loader, check file existence before
loading, and check spaces before rollout. This preserves distinct diagnoses for
ModuleNotFoundError, FileNotFoundError, and action/observation-space errors.
Never deserialize an untrusted pickle or checkpoint.
Training Safety Gate
When asked to launch a full run from an agent session:
- Do not call
model.learn, a historical launcher, a shell training helper, Hydra mult
Установить training-integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл training-integration?
Plan, validate, and hand off optional MyoSuite policy evaluation or RL training integrations without starting uncontrolled experiments.
Как установить скилл training-integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл training-integration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic