Command Palette

Search for a command to run...

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

run

Launch the evaluator pipeline via `scripts/start.sh` after preflight passes: generate the per-job LiteLLM config from `runtime_info.input.litellm_proxy`…

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

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

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

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

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

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

/evaluator:run

Use the complete effective profile selected by EVAL_CONFIG (relative filenames resolve from blocks/evaluator/), otherwise this block's config.yaml. Retain a parent-selected profile throughout checks, setup, launch, and archive. Block-local references to config.yaml below mean that profile; root shared-credential config references keep their existing meaning. Do not reset the selector or copy a private profile over the committed config.

Preflight-then-execute entry point. Always invoke /evaluator:check first; require explicit user confirmation before launching. evaluator is a leaf block — no child blocks — so this skill runs scripts/start.sh directly (per BLOCK_DEFINITION.md §3.2, no child dispatch applies).

Procedure

  1. Preflight — invoke /evaluator:check; abort on any FAIL. Never launch on a stale/unvalidated config.
  2. Confirm — present the run-configuration summary from :check plus the benchmark task count (post-HARBOR_EXCLUDE_TASKS), the agent.name@version + runtime_image, and a rough wall-time estimate. Wait for an explicit yes (root CLAUDE.md "check → confirm → run"). Never auto-launch — a full benchmark is many container-hours.
  3. Launch — bash scripts/start.sh, background by default (evaluator runs are long; ask the user once if they want foreground). Per meta_info.resources.ip:
    • local / null / absent → run on the current host inside a tmux session named evaluator.
    • configured remote hostname/IP → connect with the user's SSH-key configuration, attach to (or create) a remote tmux session named evaluator, and run start.sh inside it from meta_info.resources.directory (per BLOCK_DEFINITION.md §2.3). Confirm with the user whether the code is already in sync at that path or needs rsync first. A tmux session keeps the run alive across shell disconnects.
  4. Archive — start.sh's EXIT trap runs cleanup_litellm then scripts/archive_run.sh "$rc" "$RUN_STARTED_AT", which appends to artifacts/index.yaml and snapshots config + scripts under artifacts/archives/run_NNN/. Do not write index.yaml from this skill.

What scripts/start.sh does internally

  1. Optional update_repos.sh (only with --update-repos / EVAL_UPDATE_REPOS=1).
  2. Re-runs scripts/dryrun.sh, then scripts/probe_llm_completion.sh, as its own launch gate. Probe FAIL aborts. Probe WARN also aborts unless the user explicitly accepted the warning and the launch sets EVAL_ALLOW_PROBE_WARN=1.
  3. Generates a per-job LiteLLM config from runtime_info.input.{llm_api, litellm_proxy} + the Harbor template into artifacts/litellm/<job>/, copying Harbor's trajectory_logger.py alongside it.
  4. Starts the LiteLLM proxy (serve_litellm.sh) on litellm_proxy.port, waits up to 120 s for it to accept connections (cold/network-filesystem imports can take 30–60 s), and aborts if it exits early.
  5. Builds the default Harbor command (uv run harbor run --dataset <name>@<version> … --registry-path … --agent-import-path … --mounts-json … --model …) with per-agent flags, --retry-exclude AgentTimeoutError, and one --exclude-task-name per entry in HARBOR_EXCLUDE_TASKS, then runs it inside repos/harbor, teeing to artifacts/logs/evaluator_<ts>.log.
  6. Post-eval job analysis (unless runtime_info.input.job_analysis.enabled: false): calls scripts/analyze_job.sh "$JOB_DIR" to write <job_dir>/analysis/ — the attribution/scoring artifacts the dashboard reads. Non-fatal: a failed analysis never fails a completed eval. Pure-CPU by default (LLM judge off → zero token cost). If the gold dataset is missing it auto-runs scripts/prepare_dataset.sh <dataset_name> first (adapter → tagger); the tagger uses job_analysis.tag_llm and needs a JSON-clean endpoint. See /evaluator:dashboard for browsing the results.

Use bash scripts/start.sh --dry-run-command to print the generated LiteLLM config path and Harbor command without launching — useful in the confirm step.

Modes

Mode Trigger What runs
smoke Args mention "smoke"/"quick"; or harbor_job.n_tasks is a small int; or a -100 benchmark subset is selected. Standard start.sh flow; Harbor honours the n_tasks cap. A -100 subset is the cleanest smoke.
full Args empty or say "everything"/"all tasks". start.sh against the full benchmark.

Conventions to honour

  • Benchmark selection lives in config.yaml, not flags. To change benchmark, edit runtime_info.input.task_source.{dataset_name,version,registry_path,no_hack} and re-run /evaluator:check. Refuse to override these via free-form args — launching a different benchmark than the one :check validated is never correct. no_hack: true only applies to swebench-verified — the -100 subset is rejected (cap with harbor_job.n_tasks
Полный SKILL.md на GitHub

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

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

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

FAQ

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

Launch the evaluator pipeline via `scripts/start.sh` after preflight passes: generate the per-job LiteLLM config from `runtime_info.input.litellm_proxy`, start the LiteLLM proxy on the configured port, then run the Harbor job with the configured dataset/version and registry path, together with any `--exclude-task-name` flags from `HARBOR_EXCLUDE_TASKS`. Long-running. Stamps live state into `artifacts/index.yaml` via `scripts/archive_run.sh`. Triggers on phrases like "run evaluator", "launch evaluator", "run swebench", "evaluate the model", "kick off the evaluator benchmark".

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

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

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

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

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

Сравнить run с