Command Palette

Search for a command to run...

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

evaluate-skill

БесплатноЗапускает вложенные скриптыНе проверен

Evaluate a skill by running test cases and grading results. Use when testing whether a skill produces correct guidance, validating improvements, or…

laurigatesот laurigates★ 61 звезда на GitHub

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

/evaluate:skill

Evaluate a skill's effectiveness by running behavioral test cases and grading the results against assertions.

When to Use This Skill

Use this skill when... Use alternative when...
Want to test if a skill produces correct results Need structural validation -> scripts/plugin-compliance-check.sh
Validating skill improvements before merging Want to file feedback about a session -> /feedback:session
Benchmarking a skill against a baseline Need to check skill freshness -> /health:check --scope=agentic
Creating eval cases for a new skill Want to review code quality -> /code-review

Context

  • Available skills: !find . -path '*/skills/*' -name 'SKILL.md' -not -path '*/.claude/worktrees/*'

Parameters

Parse these from $ARGUMENTS:

Parameter Default Description
<plugin/skill-name> required Path as plugin-name/skill-name
--create-evals false Generate eval cases if none exist
--runs N 1 Number of runs per eval case
--baseline false Also run without skill for comparison
--harness subagent|headless subagent How each cell is rolled out. subagent: an in-session Task subagent with the SKILL.md as context. headless (opt-in): a real claude -p child with the plugin loaded via rollout_headless.sh, so plugin loading, description routing, allowed-tools and hooks are exercised and trace/workspace checks can be graded. Needs claude, jq, python3
--triggers false After the eval cases, also run the skill's trigger evals (Step 4b)
--triggers-only false Run only the trigger evals (Step 4b); skip Step 4 and Steps 5-7

Workflow harness (template)

workflows/evaluate-skill.workflow.js ships beside this skill. It is a TEMPLATE to adapt, not a script to run verbatim. Read it, then rewrite it for the work in front of you. It covers Steps 2-7 for a batch-shaped run except Step 4b: it has no trigger stage, so with --triggers run Step 4b yourself after the workflow returns, and with --triggers-only run Step 4b instead of the workflow. A single spot check stays on the prose path below.

Adapt freely: the agent prompts, the config axis (the shipped one is with-skill / baseline), the effort tiers, the generation brief behind --create-evals, and the shape of the rows the summary table renders.

Preserve across any adaptation: (a) the fan-out width is the cartesian product evalIds.length x runs x configs.length, computed in JS from the eval-case list the Preflight agent read off disk with inspect_eval.sh --print-evals - never a prose "for each eval case, for each run"; (b) GRADE_SCHEMA's closed PASS|PARTIAL|FAIL|ERROR status enum plus the split deterministic* / judge* counters, so a vague verdict is structurally impossible and a dead agent becomes an explicit ERROR row that stays in the denominator instead of reading as a pass; (c) Aggregate is a real barrier - the standard deviation and the baseline delta are cross-cell facts no single cell can compute, and benchmark.json has to be written exactly once. Three further things are structure, not preference: the grader is never the agent that produced the transcript (.claude/rules/loop-integrity.md Pillar 1 - an author asked to judge its own output optimises for done, not for correct), grade_deterministic.py grades first and its verdicts are never re-judged, and the cellCap ceiling aborts rather than truncating.

Agent budget: 2 + 2 x cells — preflight and aggregate, plus one rollout and one independent grader per cell (at most cellCap cells). The scale guard asks before every run, because the cell list is built at runtime. args.harness: 'headless' does not change it: the rollout agent becomes a thin runner that calls rollout_headless.sh (and never performs the task itself), still one per cell.

Skip the harness when: the run is fewer than three cells - a one- or two-case spot check, or a single re-run of one eval id - which is a linear pass where the harness is pure overhead; the script returns {mode:'inline'} at that floor. The floor is deliberately far lower than configure-all's 15, because this harness's marginal cost is a constant two agents: Steps 4 and 6 below already spawn one rollout subagent and one grader subagent per cell, so the harness redistributes those agents rather than adding to them. The steps below remain the authoritative description of what each stage must produce; the harness only fixes how the work is split.

Before adapting the template, read references/harness-adaptation.md: the registered name evaluate-skill, why no agent is worktree-isolated, why the model cannot vary per cell, and why `conte

Полный SKILL.md на GitHub

Установить evaluate-skill в Claude Code и Claude Desktop

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

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

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

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

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

Task
Read
Write
Edit
Glob
Grep
Bash(bash *)
Bash(python3 *)
TodoWrite

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

references/command-reference.mdreferences/fixtures.mdreferences/harness-adaptation.mdreferences/headless-rollout.mdreferences/report-format.mdreferences/trigger-evals.mdworkflows/evaluate-skill.workflow.js

FAQ

Что делает скилл evaluate-skill?

Evaluate a skill by running test cases and grading results. Use when testing whether a skill produces correct guidance, validating improvements, or benchmarking before release.

Как установить скилл evaluate-skill?

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

Скилл evaluate-skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить evaluate-skill с