llm-evals
Skill4 starsChanged 11 days agoMITView on GitHub
Build and run eval harnesses for features that call a model, with a keyless mock lane in CI, a budget-capped live lane behind a key gate, thresholds in a versioned file, and judge scoring. Use when adding or changing evals, testing a prompt or model swap, gating a release on output quality, or investigating a quality regression. Runs scripts/check_thresholds.py.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- kaushik-holla/agent-skillstheir own version, first seen Nov 29, 2026
- toy-crane/claude-code-playbook-templatetheir own version, first seen Nov 8, 2026
- reddygopalkrishna/developer-agent-skillstheir own version, first seen Nov 8, 2026
- krzysztofsurdy/code-virtuosotheir own version, first seen Nov 1, 2026
- VoDaiLocz/kilo-kit-mcptheir own version, first seen Aug 21, 2026
- poorvith-mp/skills-developertheir own version, first seen Aug 19, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- toy-crane/claude-code-playbook-template★ 78same name
- krzysztofsurdy/code-virtuoso★ 36same name
- VoDaiLocz/kilo-kit-mcp★ 27same name
- reddygopalkrishna/developer-agent-skills★ 8same name
- saitarrun/Devforge-ai★ 4same name
- kaushik-holla/agent-skills★ 2same name
- poorvith-mp/skills-developer★ 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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-contractSkill
- claim-traceSkill
- docs-syncSkill
- llm-pipelineSkill
- prose-guardSkill
- readme-brandSkill
- repo-scoutSkill
- session-handoffSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Add --baseline evals/baseline.json to catch regressions that still clear the floor.
- Distinctive: line 26
Keep them separate. A suite that needs a key to run is a suite that stops running.
- Very specific: line 30
Put them in evals/thresholds.json, commit them, and change them in their own commit with a reason in the message.
- Distinctive: line 45
Always include cost and latency alongside quality.
- Distinctive: line 51
Read references/harness.md when building the dataset, writing a judge, or running an A/B.
- Distinctive: line 55
Before changing anything, re-run.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
llm-evals
Without evals, a prompt change is a guess and a model swap is a leap. With them, both become a diff you can read.
Gate a run
python <skill>/scripts/check_thresholds.py results.json --thresholds evals/thresholds.jsonAdd --baseline evals/baseline.json to catch regressions that still clear the floor. A metric that stays above its minimum while dropping four points from last week is the failure that absolute thresholds miss.
Exit code is 1 on any failure or any threshold whose metric is missing from the results, unless that threshold is warn_only.
Two lanes
Mock lane. Runs against the mock provider from llm-pipeline. No key, no cost, deterministic, runs on every commit in CI. It tests the pipeline: schema conformance, error paths, stage ordering, that the shapes hold. It cannot test output quality, and pretending otherwise is the main way eval suites become theatre.
Live lane. Runs against the real provider. Key-gated, so it is skipped rather than failed when no key is present. Budget-capped with a hard token or dollar ceiling that aborts the run. Local and on-demand, not on every commit.
Keep them separate. A suite that needs a key to run is a suite that stops running.
Thresholds are a versioned file
Put them in evals/thresholds.json, commit them, and change them in their own commit with a reason in the message. A threshold quietly lowered to make CI green is worse than no threshold.
{
"accuracy": { "min": 0.82, "max_drop": 0.03 },
"latency_p95_ms": { "max": 4000 },
"cost_per_run_usd": { "max": 0.35 },
"refusal_rate": { "max": 0.02, "warn_only": true }
}The checker also lists metrics you report but do not gate. Either add a threshold or stop reporting them, because an ungated metric is decoration.
What to measure
Always include cost and latency alongside quality. A prompt change that lifts accuracy two points and triples cost is a decision, not a win, and you cannot make that call without both numbers on the same page.
Measure the thing the product promises. If the product is a drafting tool for a human reviewer, measure agreement with the reviewer, not fluency.
Detail
Read references/harness.md when building the dataset, writing a judge, or running an A/B. It covers dataset design, judge prompts and their failure modes, sample size against variance, and budget capping.
Interpreting a failure
Before changing anything, re-run. LLM evals are noisy, and a single failing run on a small set is often variance rather than regression. If the suite is too small for that to be distinguishable, the suite is too small.
Prose follows prose-guard's rules.
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.

