run
Preflight and execute the block in the current working directory. Reads the bundled BLOCK_DEFINITION.md to recall the contract, then validates that the block…
от LegoX★ 45 звёзд на GitHub
Установить run в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/root:run
Read Effective profiles before loading
child configs. Honor explicit profiles and TRAJGEN_CONFIG, EVAL_CONFIG, and
TERMINAL_CURATOR_CONFIG with block-relative path resolution. Use that same
effective profile set for source selection, sibling dependency checks, resource
selection, and child dispatch; never reset a parent-selected profile.
Preflight the target block, then execute its scripts/start.sh. Refuse to execute if any prerequisite is missing — a missing input is the user's signal to fill it, never a signal to invent a value.
Arguments
The args string is free-form natural language (may be empty). The agent reads the whole string holistically — no token parsing — to decide which block to run and what (if anything) to change beforehand.
Target resolution
List ./blocks/ to get the set of valid block names, then read the args string and decide:
- Single block clearly identified (literal name or unambiguous paraphrase — consult each block's
CLAUDE.mdwhen the user uses a description) →TARGET_DIR=./blocks/<name>/. - Multiple blocks mentioned, or genuinely ambiguous → ask the user which one. Do not guess.
- No block mentioned (empty, generic, or refers to the whole pipeline) →
TARGET_DIR=CWD(the root). The root may lack its ownconfig.yaml; treat that as a warning, not an abort. - Block inferred but
./blocks/<name>/doesn't exist → abort with the actual./blocks/listing and ask the user to pick. Never fall back to root silently.
Confirmation
- Args empty, or names a block with no extra instruction → run directly.
- Instruction implies a config edit or flag injection → propose the concrete change (file path, old → new value, or flag to inject) and confirm before applying.
- Ambiguous target → ask before proceeding.
Never silently mutate runtime_info or meta_info fields. A user instruction is permission to propose, not to act unilaterally.
Examples
| Args | Target | Behavior |
|---|---|---|
| (empty) | root | dispatch selected child run skills in dependency order |
curator |
curator | run directly |
curator only 32 verified tasks |
curator | propose config/flag change, confirm, run |
run curator with 32 tasks |
curator | same — name embedded in text |
run the trajectory generator |
tracer | resolved via paraphrase + CLAUDE.md |
run curator and tracer |
ambiguous | ask which block |
start the data pipeline |
root | dispatch selected child run skills in dependency order |
run frobnicator |
abort | print valid list, ask user to pick |
Every step below operates on TARGET_DIR. Where the rest of this document says "this block" or "CWD", read it as TARGET_DIR.
IMPORTANT: Before executing, the agent MUST:
- Run
/root:check(or this skill's built-in preflight) to validate all prerequisites. - Present the check results and run configuration summary to the user.
- Confirm authorization before launching
scripts/start.sh. Reuse explicit authorization already given for the same source, host, budget, and operation. If that scope is unresolved or a new large run is proposed, obtain user confirmation before launch.
Step 0 — Orient
Read resources/BLOCK_DEFINITION.md bundled in this plugin (sibling of the skills/ folder containing this file). It is the contract. Pay particular attention to:
- The
meta_info/runtime_infoschema (two top-level sections only; config.yaml is one-shot per run — no live status field, noevolving:section). - The wiring rule:
meta_info.dependencieshas two keys,from(this block's own upstream — keys are dot-paths into that block'sruntime_info.input; values are<source_block>.output.<key>strings or{from, when, required}mappings) andto(this block's own downstream, the mirror declared by the producer — keys are its ownruntime_info.outputkeys; values are<consumer>.input.<path>strings or{to, when}mappings). Wired values never live inruntime_info.inputdirectly.runtime_info.inputis exclusively for values that originate outside the block tree (API keys, external dataset paths, human decisions), withhumanas the must-fill marker. - The remote-execution rule:
meta_info.resources.ip: local(or null/absent) means run on the current host — no SSH. Only a real remote IP triggers SSH+tmux. Never attempt to SSH to the literal valuelocal. - The archiving rule: after each run, create
artifacts/archives/run_NNN/withmetadata.yaml(id, block, timestamps, status, exit_code, repo commit SHAs), snapshotconfig.yaml, snapshotscripts/,session.log,monitor.md; then append one entry toartifacts/index.yamlwitharchive: artifacts/archives/run_NNN/. Note: repo trees are not copied — only commit SHAs are recorded inmetadata.yaml.
Step 1 — Load this block
The "current block" is TARGET_DIR (CWD when block_name is unset;
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл run?
Preflight and execute the block in the current working directory. Reads the bundled BLOCK_DEFINITION.md to recall the contract, then validates that the block in CWD is ready to run — config.yaml is well-formed, every runtime_info.input is filled, every inter-block dependency declared in the block's own meta_info.dependencies resolves against the named sibling block's runtime_info.output, repos under repos/ are present and at their pinned commits, the environment (venv_path) exists, and scripts/start.sh is present and executable. Only if all checks pass does it run scripts/start.sh — locally when meta_info.resources.ip is absent, null, or "local"; inside a tmux+SSH session on the named host when meta_info.resources.ip is a real remote IP. Each run is archived automatically by scripts/archive_run.sh (installed by start.sh's EXIT trap). Triggers on phrases like "run this block", "execute the block", "kick off start.sh", "fire the block", "run /root:run".
Как установить скилл run?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл run запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…