Command Palette

Search for a command to run...

Назад к скиллам
скилл № 75200

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от 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.md when 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 own config.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:

  1. Run /root:check (or this skill's built-in preflight) to validate all prerequisites.
  2. Present the check results and run configuration summary to the user.
  3. 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_info schema (two top-level sections only; config.yaml is one-shot per run — no live status field, no evolving: section).
  • The wiring rule: meta_info.dependencies has two keys, from (this block's own upstream — keys are dot-paths into that block's runtime_info.input; values are <source_block>.output.<key> strings or {from, when, required} mappings) and to (this block's own downstream, the mirror declared by the producer — keys are its own runtime_info.output keys; values are <consumer>.input.<path> strings or {to, when} mappings). Wired values never live in runtime_info.input directly. runtime_info.input is exclusively for values that originate outside the block tree (API keys, external dataset paths, human decisions), with human as 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 value local.
  • The archiving rule: after each run, create artifacts/archives/run_NNN/ with metadata.yaml (id, block, timestamps, status, exit_code, repo commit SHAs), snapshot config.yaml, snapshot scripts/, session.log, monitor.md; then append one entry to artifacts/index.yaml with archive: artifacts/archives/run_NNN/. Note: repo trees are not copied — only commit SHAs are recorded in metadata.yaml.

Step 1 — Load this block

The "current block" is TARGET_DIR (CWD when block_name is unset;

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

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

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

Сравнить run с