skill-eval
Skill0 starsChanged 5 months agoMITView on GitHub
Use when creating or editing a skill, and before shipping it — measures whether the skill actually changes the model's behavior by running each test prompt with the skill injected and without it (baseline), then comparing pass rates. Use when the user asks to evaluate, benchmark, or justify a skill, or asks "does this skill earn its context?".
- Reads credentials
8 other projects use a version of this.
Adopted by
Most recently taken up by
- databricks-industry-solutions/hls-skillstheir own version, first seen Oct 6, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 2, 2026
- sean2077/skillstheir own version, first seen Sep 24, 2026
- greglas75/zuvotheir own version, first seen Sep 6, 2026
- Electric-Coding-LLC/skillstheir own version, first seen Sep 4, 2026
- IndelibleVivi/skill-field-labtheir own version, first seen Aug 17, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- boshu2/agentops★ 447same name
- IndelibleVivi/skill-field-lab★ 14same name
- sunitghub/canon-skills★ 9same name
- greglas75/zuvo★ 8same name
- sean2077/skills★ 4same name
- databricks-industry-solutions/hls-skills★ 1same name
- NinjaSln-labs/agent-skills★ 1same name
- Electric-Coding-LLC/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- ponytailSkill
- complexity-routerSkill
- domain-modelingSkill
- grillingSkill
- to-issuesSkill
- to-prdSkill
- writing-plansSkill
- subagent-driven-developmentSkill
- tddSkill
- using-git-worktreesSkill
- debuggingSkill
- finishing-a-development-branchSkill
- reviewSkill
- verification-before-completionSkill
- drift-evalSkill
- find-skillsSkill
- improve-loopSkill
- skill-validatorSkill
- writing-skillsSkill
- using-architectSkill
The file
Files
skill-eval — L5 quality gate
The framework's ship gate: a skill earns its place only if it moves a measured number. This harness runs every test prompt twice — once with the skill injected as a system prompt, once without (baseline) — and reports the delta.
Why this is the keystone of L5
ponytail, superpowers, and mattpocock all author skills by taste, with no measurement loop. On strong models the over-build traps converge (baseline already picks the native answer), so eyeballing two outputs can't tell you the marginal effect. This harness makes it a number.
Run it (from the Architect/ root)
node skills/l5-meta/skill-eval/run.mjs --self-test # prove the scorer, no API
node skills/l5-meta/skill-eval/run.mjs skills/l5-meta/skill-eval/sets/l0-ponytail.json
EVAL_N=5 node skills/l5-meta/skill-eval/run.mjs <set.json> # 5 runs/case, majority voteThe runner uses the direct API when ANTHROPIC_API_KEY is set, else the local logged-in
claude CLI. Cost ≈ 2 × cases × EVAL_N task calls, plus one judge call per judge
assertion per run.
Artifacts, every run: transcripts to runs/<stamp>-<set>/<case>.{baseline,skill}.txt and one
JSONL record (per-case grades, Δ, gate) to runs/log.jsonl — improve-loop's
transcript-feedback reads these. Transcript dirs are gitignored; the log is tracked.
EVAL_MODEL— model under test (default: set'smodel, elsehaiku).EVAL_N— runs per case; the case verdict is the majority across runs, which absorbs LLM non-determinism (default 1). Use an odd N to avoid ties (a tie counts as FAIL).EVAL_JUDGE_MODEL— model that gradesjudgeassertions (defaultsonnet— judge with a stronger model than the one under test).
Eval-set format
{
"skill": "skills/<layer>/<skill>/SKILL.md",
"model": "haiku",
"cases": [
{ "id": "debounce", "prompt": "…task…",
"assert": [
{ "kind": "excludes", "pattern": "import\\s+[^\\n]*from\\s+['\"]lodash" },
{ "kind": "includes", "pattern": "skipped|add when" }
] }
]
}skill— the SKILL.md body injected for the with-skill run (frontmatter stripped).- assertion
kind:includes/excludes— regex over the whole output (cheap, deterministic).verdict— regex over the first line only (classifier outputs).judge—{ "kind": "judge", "rubric": "…what a passing answer must satisfy…" }: an LLM (EVAL_JUDGE_MODEL) grades against the rubric. For fuzzy criteria regex can't capture; pair with a deterministic one. An undecidable reply is a runner error, never a silent pass.
- A case passes only if all its assertions pass.
difficulty— optional 1 (toy) / 2 (realistic) / 3 (adversarial);dark-room.mjsflags sets with no case ≥2 as a dark room (only-easy sets reveal nothing).- Assert behavior the skill mandates that baseline won't show (e.g. ponytail's
Skipped: X), not facts a good baseline already produces.
Reading the result
pass rate baseline 0/3 (0%) with-skill 3/3 (100%) Δ +100%
ship gate: PASS — skill moves the numberΔ > 0→ the skill changes behavior in the measured direction. Ship it.Δ = 0(no movement) → either the model already behaves this way (the trap is too easy — pick a harder one or a weakerEVAL_MODEL), or the skill isn't pulling its weight. Either way: does this skill earn its context budget?
Honest limits
- Text/regex assertions over a single run are a weak signal. Treat scores as a trend
across edits, not ground truth. For load-bearing decisions, raise
EVAL_N(majority vote) and add ajudgeassertion — both are built in. - The
judgeis a stronger but still imperfect signal: LLM-as-judge scores drift across model versions, so pinEVAL_JUDGE_MODELand compare runs against each other, not against an absolute bar. - This is the gate the rest of the borrow backlog routes through: no ecosystem borrow ships until it clears a Δ here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

