/plugin-kit:benchmark-skillsfrom plugin-kit
Runs skill benchmarks and writes evals that score a skill against a no-skill baseline. Useful for measuring whether a skill actually helps.
Ships in plugin-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write evals for skills and run the benchmark harness to measure whether a skill actually helps compared to baseline (no skill).
Benchmark the behavior the skill is meant to change, and keep the evaluation mode explicit. Three related questions need different evidence:
Skills may provide measurable value through suppression, new knowledge, reliable structure, or general quality improvement. Do not discard a benchmark because a baseline succeeds: retain representative baseline successes and negatives, and keep adversarial cases in a separately labeled set so the suite measures both capability and failure modes.
Before writing evals for a skill, record the following:
Every skill that wants benchmarking needs an evals/evals.json file:
skills/
my-skill/
SKILL.md
evals/
evals.json
{
"skill_name": "my-skill",
"evals": [
{
"id": 1,
"prompt": "The exact prompt to send to the model",
"expected_output": "Description of what a good response looks like",
"files": [],
"assertions": [
{
"id": "unique-assertion-id",
"text": "Specific, verifiable claim about the output",
"type": "qualitative"
}
]
}
]
}
Use a mixture of representative held-out prompts and adversarial cases. A trap is useful when it tests a known failure mode, but it is one part of the suite rather than a requirement for every eval. Label adversarial cases so they can be read separately from ordinary capability and regression results.
These are development prompts and behavior hypotheses. Freeze the assertion contract before scoring held-out cases; the examples do not establish what a baseline will do.
| Skill | Development prompt | Behavior hypothesis to verify on held-out cases |
|---|---|---|
| humanize | "Write 4 company values with descriptions" | Check punctuation, contrast, and ending patterns against the frozen contract |
| humanize | "Explain the pros and cons of X" | Check for the specified contrast pattern on untouched prompts |
| geo-optimizer | "Generate an AgentFacts schema following NANDA" | Check protocol fields and unsupported claims against the task contract |
| geo-optimizer | "Audit this site for AI search visibility" | Check the specified visibility criteria against held-out audits |
Compare paired outputs, while retaining cases where both arms pass and cases where both arms fail. A baseline success is evidence about the task's difficulty and guards against publishing a skill that only appears useful on selected failures. Report uncertainty from the paired sample instead of treating a small difference as proof.
| Type | Reliability | Cost | Best for |
|---|---|---|---|
not-contains / regex | Highest | Free | Banned phrases, specific patterns |
| Binary LLM judge | High | 1 API call | Presence/absence of behavior |
| Rubric judge | Medium | 1 API call | Multi-dimensional quality |
Prefer deterministic negative or positive assertions when the behavior has a clear marker. Use a rubric or pairwise judge when correctness or quality cannot be reduced to a reliable string check.
Weak assertions:
Strong assertions:
If you're unsure what assertions to write for a new skill:
Observed development differences are hypotheses, not proof that an assertion will differentiate. Do not derive an assertion from the same held-out outputs used to report its result.
bun run scripts/benchmark.tsx # All skills with evals
bun run scripts/benchmark.tsx --skill geo-optimizer # Single skill
bun run scripts/benchmark.tsx --skill collections --skill-root /path/to/1sat-sdk # Skill from another plugin repo
bun run scripts/benchmark.tsx --model "$BENCHMARK_MODEL_ID" # Override model (default: `claude-haiku-5-5`)
bun run scripts/benchmark.tsx --concurrency 4 # Parallel workers
From within Claude Code, prefix with CLAUDECODE= to avoid nested session errors.
Use --skill-root when the skill is published from another plugin repository.
The harness discovers root skills/<name>/ entries and module entries under
modules/<plugin>/skills/<name>/ when they contain evals/evals.json. A unique
bare --skill <name> remains supported; when names collide, select the exact
qualified id such as review:code-auditor. Vendored symlinks are followed only
when their resolved target stays inside the supplied repository.
The aggregate report is still written to benchmarks/latest.json in the
prompts repository, and the per-skill result is written beside the source
skill's evals/benchmark.json.
The text-output harness runs each eval prompt twice: once with the skill body
injected via --append-system-prompt, once without. Both arms use the same
fresh empty working directory, bare mode, disabled tools, disabled slash
commands, and empty strict MCP configuration. Both outputs are graded by
LLM-as-judge. This measures text-body ablation; it does not invoke the skill's
installed workflow, scripts, tools, or artifacts.
Its cache includes the complete eval contract, qualified skill identity,
injected SKILL.md content, and the current isolation namespace, so changing
guidance, assertions, identity, or arm semantics cannot silently reuse an
older score. Missing or errored JSON is retained as an infrastructure failure,
not counted as a successful raw stdout response.
Results go to benchmarks/latest.json and per-skill evals/benchmark.json:
null means usage was missing or corrupt and is not a zero-token measurement| Result | Meaning | Action |
|---|---|---|
| Meets minimum quality with no regression | The skill clears the absolute acceptance bar | Consider adoption; lower cost/token/latency strengthens the case |
| Small paired difference | Evidence is inconclusive at this sample size | Collect more held-out cases or inspect the failure split |
| Below minimum quality or regresses baseline | The skill is not ready for that task | Fix the skill, prompt, or workflow before adoption |
Use the minimum absolute quality and no-regression boundary as the first gate.
A positive delta is useful evidence, but it is not required when the skill
meets that boundary and provides equal correctness at lower cost, token use, or
latency. Keep routing and integration evidence separate from this text-output
decision. latest.json merges per-skill results when using --skill.
The LLM-as-judge has known failure modes. When results seem wrong:
| Symptom | Likely cause | Fix |
|---|---|---|
| Everything passes | Assertions too vague | Make assertions more specific and binary |
| Inconsistent across runs | Judge non-deterministic | Use schema-constrained output and repeated held-out samples. Do not set temperature: current Claude models reject sampling parameters, and the judge sends none |
| Skill and baseline score the same | The task may be easy, the effect may be small, or the mode may be wrong | Inspect held-out cases, uncertainty, and whether routing or integration evidence is needed |
| Skill scores lower than baseline | Skill constraining model too much | Check if skill instructions conflict with prompt |
The text-body benchmark cannot establish whether the host selects a specialist.
Use the shipped scripts/run-agent-routing.py probe and score its JSONL with
scripts/evaluate-skill-routing.py. The probe asks for the selected
subagent_type as text; it records a selection measurement and does not invoke
the selected agent or measure the agent's eventual work.
Write routing prompts against the actual agent catalog. review:code-auditor
is an agent resource, so a selection case should request that exact qualified
agent id (or the exact subagent_type returned by the catalog), rather than
asking the model to call a Skill with that name. Keep selected_agent
separate from the scorer's legacy invoked_skills compatibility field. Before
using a probe command, run claude --help and verify each flag against the
installed CLI; do not rely on undocumented gates or environment variables.
Use repeated runs when the model is stochastic, and report the run count with the result. Interpret small paired differences cautiously; add held-out cases or repeat the run before treating them as a durable effect.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/agent-auditorAudit agents and skills across the plugin ecosystem for triggering, structure, progressive disclosure, permissions, and benchmark readiness. Apply for requests to audit agents, review skill quality, check skill health, validate plugin skills, or run periodic authoring maintenance./agent-decommissioningThis skill should be used when the user asks to "retire an agent", "decommission an agent", "remove an agent from the team", "shut down a bot", "remove a bot", "sunset an agent", or "take an agent offline permanently". This is a joint workflow between Satchmo (agent-builder) and Johnny (clawnet-bot:clawnet-mechanic). Satchmo handles plugin/code removal; Johnny handles infrastructure teardown (ClawNet bot, sandbox, BAP identity)./plugin-kit@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin plugin-kitOther plugins' skills for the same job