Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

eval-loop

БесплатноБез исполняемых скриптовНе проверен

Improves prompt, skill, or instruction text in scored rounds against locked eval cases, with a frozen grader hash, replicates, holdout cases, and a human read…

majiayu000от majiayu000★ 31 звезда на GitHub

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

Eval loop

Improve text that steers a model (a bot's system prompt, a SKILL.md, agent instructions) the way code is improved: a locked case set, a score per round, and a delta that means something. A grader change, a single run, or a tally shown as "pass" each break the comparison, so this skill refuses them.

Inputs

  • The text under improvement: the file or files the change edits. Everything else in the round is read-only.
  • Arguments: a note of what changed, which goes in the round's kind cell; baseline forces a new baseline round; pass runs step 8 on the current best round; round runs the next fix round. With none, the report decides which round comes next.
  • Cases: the project's eval cases, by default in the layout of references/case-format.md (a folder per case: case.yaml, graders/*.md); any layout the runner understands works. A holdout folder holds cases that are run and scored but never opened by whoever edits the text.
  • Project settings: on every invocation, read .claude/shipyard/eval-loop.md in the project root if it exists. It names the runner command, the case and holdout folders, the judge for LLM graders, the real-surface command, and the caps: replicates, wall clock, fix rounds, and max_cost_usd. Its shape is in references/overlay-example.md. Without a runner command, ask for one; without max_cost_usd, refuse to open a round (step 1).

Output

.claude/shipyard/reports/eval-loop-<branch>.md (/ in the branch name becomes -), in the shape of references/report-template.md: Commit: (the full HEAD sha), Result: pass | not passed | stopped, a round table (round, kind, grader hash, text hash, cases, replicates, suite pass rate, delta, cost), a per-case pass-rate matrix, the holdout check, the real-surface transcripts, and Checked: / Not checked: lines. Raw transcripts and scores stay on disk under .claude/shipyard/eval-loop/<branch>/round-<n>/; the report points at them.

Rules

  • Compare only on the same grader hash. The hash covers every grader file and the locked case list. Two rounds with different hashes are different tests; a delta between them is noise dressed as progress, so the report never prints one. Why: five grader edits mid-loop once turned 26/84 and 58/84 into numbers nobody could compare.
  • A grader or case edit opens a new baseline round, which re-scores the previous best text under the new hash before any fix is tried. That gives the next delta a reference. Editing cases or graders is allowed; it is a baseline change, never a fix round.
  • At least 3 replicates per case (replicates, default 3). Same text, same cases, two runs: four cases flipped. A case passes a round only when every replicate passes; the matrix shows k/n, never a single tick.
  • Mechanical graders first, LLM graders second. Banned strings, repeated replies, language mirroring, length caps, and required exact strings (a fixed phone number or legal phrase, say) are cheap, deterministic, and decide the reply on their own; a reply that fails one isn't sent to the LLM judge. LLM graders run on one judge for the whole round, named in the settings.
  • The holdout folder stays unread. The skill runs and scores it; nobody editing the text opens it, quotes it, or greps it for content. Before each round, the diff of the text under improvement is checked for strings from the holdout cases (user turns, required strings) and a match stops the round. Why: text tuned to the test passes the test and nothing else.
  • Failing cases first. Order the round by the previous round's pass rate, ascending, so a round cut by the cost or wall-clock cap has already scored what matters.
  • Cost cap per round. max_cost_usd is required. Pass it to the runner where the runner takes a cap; otherwise estimate cases × replicates × cost per run from the settings and refuse a round that exceeds it. A round stopped by the cap is reported as partial, never as a score.
  • Runs go in the background with a wall-clock cap (wall clock, default 20 min a round). On timeout, stop the whole process tree, through the wrapper the settings name if they name one. A replicate that didn't finish scores not run, and a round with a not run can't be the best.
  • No pass on a tally. pass needs a run on the real surface (the deployed bot, the installed skill, not the harness) and three raw transcripts shown to the human in full, who says pass (H7). Tone and safety are judged by a person reading replies, not by a count.
  • Fix rounds are capped (fix rounds, default 5 per baseline). At the cap, report the trend and stop; the human decides whether to fix, re-plan, or stop.

Steps

Steps are agent-owned unless marked.

- [ ] 1 Read settings; refuse without a cost cap
- [ ] 2 Holdout check on the diff
- [ ] 3 Open the round: hash and lock
- [ ] 4 Run repli
Полный SKILL.md на GitHub

Установить eval-loop в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

metadata.json

FAQ

Что делает скилл eval-loop?

Improves prompt, skill, or instruction text in scored rounds against locked eval cases, with a frozen grader hash, replicates, holdout cases, and a human read of raw transcripts before pass. Use when asked to "run the evals and fix the prompt", "make the bot pass its cases", "is the new prompt better", or "iterate on this SKILL.md until the evals pass". Not for test suites or a one-off eval run.

Как установить скилл eval-loop?

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

Скилл eval-loop запускает скрипты?

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

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

Сравнить eval-loop с