Command Palette

Search for a command to run...

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

setup

One-shot bootstrap for the root block tree — verify shared tooling, ensure the root config.yaml exists and matches the contract, and (optionally, on user…

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

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

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

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

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

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

/root:setup

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.

Per the block plugin guidelines (resources/BLOCK_DEFINITION.md → § Plugin skills), every block exposes a :setup skill that bootstraps everything the block needs before :check can pass. At the root level this covers:

  1. Shared tooling — verify (or install) the global python3+PyYAML / uv / docker prerequisites the pipeline assumes; abort with actionable next steps if missing.

  2. Root config — ensure ./config.yaml exists and matches the contract (orchestration identity: meta_info.blocks roster with role one-liners, explicit dependencies: {from: {}, to: {}}, empty runtime_info.output). If missing, scaffold it from resources/config.template.yaml. The root owns no shared pipeline inputs: the blocks intentionally use different LLM endpoints/keys, so every external pipeline value is filled per-block by that block's own :setup — do not invent a shared llm_api or task-source at the root.

    The one exception is runtime_info.input.cloudflare and runtime_info.input.docker: tree-wide, optional, account-level infrastructure credentials that every block reads through scripts/shared_credentials.sh. Both default to all-empty (feature off) and are filled in step 4/5 below, never automatically.

  3. Recurse (optional) — resolve the active task producer as described below, then for each selected name in meta_info.blocks, ask the user "set up <name> now?" and on yes hand off to /<name>:setup. Each block's setup fills its own runtime_info.input, replacing human markers with real values (never writing secrets into config — env/file channels only, as each field's inline comment directs).

Active producer selection

Read the effective Tracer config → runtime_info.input.task_source before recursing. With provider: local, use local_block: curator by default or terminal-curator when selected. An external local source or a non-local provider selects neither producer for Tracer. If Evaluator is in scope and its task_source.dataset_name is terminal-curator, also select terminal-curator: its exported registry is an active upstream dependency. Use the union of both consumers' producer requirements. Set up only those selected producers and the other requested downstream children; do not bootstrap the unused producer, require its API credentials, or run any generation batch. State which one was skipped. Reject an unknown local_block value. A directly targeted Evaluator setup does not launch or set up a curation sibling automatically.

An explicitly targeted setup such as /root:setup terminal-curator invokes /terminal-curator:setup without changing Tracer's selector. Existing user authorization to set up the requested scope is sufficient; do not ask again for each dependency installation already covered by that scope. Missing inputs still need clarification before dependent work proceeds.

Optional extras

These two are off by default — always ask before doing either, even if the user has run /root:setup before. Neither is required for /root:check or /root:run to pass; they only unlock specific quality-of-life gains.

Both write to the same place: root config.yaml → runtime_info.input.{docker,cloudflare}, read by every block through scripts/shared_credentials.sh (resolution order: env > root config.yaml > the block's own legacy env file). Non-secret fields go in config.yaml; secrets do not — config.yaml is git-tracked, so api_token and password stay "" there and come from the environment instead.

  1. Docker registry credentials — ask "configure a container-registry login to raise the anonymous pull rate limit?" Tell the user plainly why before asking: curator, tracer and evaluator all pull large numbers of Docker images per run (one per task environment), and anonymous Docker Hub pulls are capped at 100 per 6h per IP — hitting it mid-run surfaces as manifest errors that look like agent or verifier failures. If the user says yes:
    • Write the non-secret fields into root config.yaml → runtime_info.input.docker: username, and registry/mirror if they use something other than Docker Hub.
    • Have the user supply the password/token as $DOCKER_PASSWORD in their own environment. Never accept a password pasted in chat, and never write one into config.yaml.
    • Alternatively, a plain interactive docker login in their own terminal works too and needs no config at all — scripts/docker_login.sh --status
Полный SKILL.md на GitHub

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

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

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

FAQ

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

One-shot bootstrap for the root block tree — verify shared tooling, ensure the root config.yaml exists and matches the contract, and (optionally, on user confirmation) recurse into each block listed under `meta_info.blocks` and invoke its own `:setup` skill in order. Idempotent: safe to re-run; only touches fields the user has not already filled in. Triggers on phrases like "set up the project", "bootstrap the pipeline", "fill in the root config", "initial setup", "wire up API keys", "prepare everything before /root:run".

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

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

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

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

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

Сравнить setup с