Command Palette

Search for a command to run...

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

check

Recursively sanity-check every block at and beneath the current working directory: config.yaml schema, runtime_info.input completeness, inter-block dependency…

БесплатноБез исполняемых скриптов
LegoXот LegoX★ 45 звёзд на GitHub

Установить check в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/root:check

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.

Recursively walk the block tree rooted at the current working directory and validate every block's config, resources, external APIs, and block-specific runtime prerequisites. Safe to run: only scripts/dryrun.sh (a side-effect-free validation script) is executed — no scripts/start.sh, no config edits, no archives written.

This skill is MANDATORY before /root:run. The agent must:

  1. Run /root:check to surface all issues in one pass.
  2. Present the configuration summary and check results to the user.
  3. Wait for explicit user confirmation ("yes", "go ahead", etc.) before launching /root:run.

Confirm the requested scope before launch. Existing explicit user authorization for the same source, host, and budget satisfies this gate; a passed check alone does not authorize a new or expanded run.

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 check and how to focus the report.

Target resolution

Same rule as /root:run. List ./blocks/ for valid names, then read args and decide:

  • Single block clearly identified (literal name or unambiguous paraphrase) → TARGET_DIR=./blocks/<name>/. Check that block only — no recursion into its children, no walking of siblings.
  • Multiple blocks mentioned or ambiguous → ask. Do not guess.
  • No block mentioned → TARGET_DIR=CWD (full block tree walk).
  • Block inferred but ./blocks/<name>/ doesn't exist → abort with the actual listing and ask the user to pick.

When TARGET_DIR is a block, cross-block dependency checks (the validator's dep:* checks) still read sibling configs to validate producer outputs — but don't recursively check those siblings' health.

Report focusing

Any extra context in args (beyond identifying the block) is a hint for how to present the report — not what to scan. /root:check always runs every check; the instruction only shapes which findings lead and which collapse to a one-line tail. If the hint is ambiguous, default to the full report.

Examples

Args Target Behavior
(empty) root full report across all blocks
curator curator full report for curator
tracer focus on api connectivity tracer lead with api:* findings
are my api keys working root full tree; lead with api:* findings
check curator for missing inputs curator lead with input:* / schema:* findings
compare curator and tracer configs ambiguous ask which block
check frobnicator abort print valid list, ask user to pick

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 and the wiring rule (meta_info.dependencies has two keys, from and to, both always present. 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. to: this block's own downstream, the mirror declared by the producer — keys are this block's own runtime_info.output keys, values are <consumer>.input.<path> strings or {to, when} mappings with fully-qualified <consumer>.input.<path> when-keys. The same edge is declared on both ends; the validator cross-checks them (dep:link-mismatch). runtime_info.input is exclusively for values originating outside the block tree). config.yaml has exactly two top-level sections — status: and evolving: are retired; live state lives in artifacts/index.yaml.
  • The fill markers (human = must-fill, "" = auto/env-supplied) and the output path/value shape.
  • The remote-execution rule (if meta_info.resources.ip is set, the block runs on that host — so its environment and repos must exist there, not locally).

Step 1 — Discover the block tree

Starting at TARGET_DIR (resolved in the Arguments section), decide where to begin:

  1. If block_name was passed (TARGET_DIR=./blocks/<block_name>/): treat that directory as the single block under check. Its config.yaml must exist — if not, abort: "blocks/<block_name>/config.yaml not found.". Do not recurse into its meta_info.blocks (leaf scope by user choice). Skip cases 2 and 3 below.
  2. No block_name, and ./config.yaml exists: this directory is the root of the check (the standard LegoFlow case —
Полный SKILL.md на GitHub

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

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

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

FAQ

Что делает скилл check?

Recursively sanity-check every block at and beneath the current working directory: config.yaml schema, runtime_info.input completeness, inter-block dependency resolution, repos pin matches, environment (venv_path) existence, remote resource (SSH/directory) reachability, live availability of every OpenAI-compatible LLM endpoint declared in any block's runtime_info.input, AND block-specific dryrun validation (scripts/dryrun.sh — GPU, Docker, WANDB, model compatibility, etc.). Reports all failures in one consolidated message with a run configuration summary. Does not execute scripts/start.sh, does not modify any config, does not write archives. **MANDATORY before /root:run** — the agent must run this skill AND receive explicit user confirmation before launching any block. Triggers on phrases like "check my blocks", "validate the config", "sanity check everything", "are my API keys working", "is the remote reachable", "run /root:check", "diagnose this block".

Как установить скилл check?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл check запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить check с