eval
Run a skill's eval cases in a sandbox and grade them against the previous run, drafting or refreshing the cases first. Use when the user wants to test a skill…
от Integralist★ 31 звезда на GitHub
Установить eval в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Run a skill's fixed eval cases in isolated sandboxes and grade the results against the previous run. Skills have no compiler: the evidence is realistic prompts and transcript review. Cases and plain-English checks are versioned with the skills.
Ablation mode (--ablate). Pass --ablate to run each case twice—with
the skill (treatment) and without it (baseline, bare model)—and judge
both blind to test whether the skill still beats the bare model. Pass
--ablate=<base-ref> (such as HEAD or a pre-rewrite SHA) to compare the
working-tree skill against an earlier revision. When --ablate is passed,
read and follow ABLATION.md before running cases.
Paths
All paths are relative to the repository. Read the skill from the working tree,
not ~/.agents/skills/, which lags until the next make install-agents and
would test the previous edit.
.agents/skills/<skill>/SKILL.md: skill text under test..agents/skills/<skill>/evals/cases.json: cases; see CASES-FORMAT.md.docs/evals/<yyyy-mm-dd>-<hhmm>-<skill>.md: run result; see RESULTS-FORMAT.md.docs/evals/<yyyy-mm-dd>-<hhmm>-<skill>-ablation.md: ablation result (kept separate so normal runs still diff against prior non-ablation runs).
Workflow
- Choose the skill. Confirm
.agents/skills/exists; if not, stop with a note. With no--skill, list skills, flag those without cases, and ask which one. Do not continue until the target is named. - Settle the cases. If
evals/cases.jsonis missing, draft a starter suite with one case per described branch and hard rule. Otherwise comparegit log -1 --format=%h -- <skill path>with the Skill revision in the newest results file. If they differ, read the diff and propose cases for new behaviour and retirement of checks for removed behaviour. Derive cases from the skill; never edit a check because it went red—that would rewrite the test to match a bug. Show the cases diff and write it only after user approval. Cases do not change mid-run. - Execute and grade. When drafting or updating cases, read
CASES-FORMAT.md; before writing a run result,
read RESULTS-FORMAT.md. Before preparing
cases or launching executors, read
RUN-PROTOCOL.md. It governs sandbox setup,
cold execution, verification, transcript handling, grading, cleanup, and
model/delegation rules. Under
--ablate, also follow ABLATION.md for paired sandboxes and blind A/B grading. Each case must have a transcript or a recorded setup failure; each check needs a verdict and evidence. - Report. Run
mkdir -p docs/evalsand write a new result file stamped withdate +%F-%H%M, compared with the newest olderdocs/evals/*-<skill>.md(names sort by time). Never overwrite an earlier run. Record skill and cases revisions usinggit log -1 --format=%h -- <path>; append-dirtywhen uncommitted. Mark a case whosesetuporpromptchanged asrevised, not scored against history. List every check that passed last time but fails now before proposing a skill change; the user decides what to do about regressions. Include parent verification output and state the regressions.
Growing the suite
A failure caught by hand becomes a case; that is useful growth. Change a check
only when intended behaviour changed. Keep a known, accepted trade-off as a
documented fail; do not chase a green board by deleting the signal.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/ABLATION.md
- references/CASES-FORMAT.md
- references/RESULTS-FORMAT.md
- references/RUN-PROTOCOL.md
FAQ
Что делает скилл eval?
Run a skill's eval cases in a sandbox and grade them against the previous run, drafting or refreshing the cases first. Use when the user wants to test a skill in this repo, add eval cases, or check a skill edit for regressions.
Как установить скилл eval?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл eval запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…