evaluator-calibration
Skill756 starsChanged 5 months agoMITView on GitHub
Calibrate a reviewer persona with few-shot rubric examples so skepticism stays consistent and doesn't drift lenient over long runs.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- a11y-passSkill
- active-memory-reminderSkill
- adversarial-verifySkill
- authz-checkSkill
- bisect-regressionSkill
- broken-window-checkSkill
- changelog-from-diffSkill
- clean-commitsSkill
- context-budgetSkill
- contract-testSkill
- coverage-gapsSkill
- decision-recordSkill
- dependency-auditSkill
- design-systemSkill
- eval-harnessSkill
- feature-list-jsonSkill
- flaky-hunterSkill
- harness-strippingSkill
- hitl-escalateSkill
- init-script-contractSkill
- input-validationSkill
- kill-dead-codeSkill
- loading-empty-error-statesSkill
- migration-writerSkill
- model-routingSkill
- owasp-reviewSkill
- pdf-ingestionSkill
- planner-spec-expandSkill
- pr-from-diffSkill
- progress-reading-protocolSkill
- prompt-cachingSkill
- readme-auditSkill
- read-the-traceSkill
- rebase-safelySkill
- reduce-nestingSkill
- revert-surgicalSkill
- schema-diffSkill
- secret-scanSkill
- self-eval-biasSkill
- shift-notesSkill
- simplifySkill
- spec-firstSkill
- sprint-contractSkill
- sql-reviewSkill
- structured-outputSkill
- subagent-fanoutSkill
- suggest-next-featuresSkill
- systematic-debuggingSkill
- tool-restraintSkill
- using-loopkitSkill
- verification-before-completionSkill
- write-failing-test-firstSkill
- my-new-skillSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Spot-check with a held-out fail: Every ~10 sprints, feed the evaluator an artifact from your example set that you know fails.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Evaluator Calibration
An evaluator agent that reads the generator's reasoning drifts lenient. The generator explains why the code is good; the evaluator, priming on that prose, starts nodding along. By sprint 8 the "skeptical critic" is a rubber stamp. Prithvi flagged this in the March 2026 planner/generator/evaluator writeup — evaluator leniency is the failure mode of the three-agent harness.
The fix is not "tell the evaluator to be stricter." That works for one iteration. The fix is anchoring the rubric with concrete pass/fail examples the evaluator re-reads every invocation, and re-prompting from scratch on a fixed cadence so drift can't accumulate.
When to apply
- You're building a critic/evaluator/judge agent in a multi-agent loop.
- You're using an LLM as a grader for skills, PRs, diffs, or agent output.
- You've noticed pass rates creeping up while output quality hasn't changed — or worse, dropped.
- You want two runs of the same evaluator on the same artifact to return the same verdict.
Procedure
- Write the rubric as a scored checklist, not prose. Each criterion gets a name, a one-line definition, and a binary or 1-3 score. Prose rubrics ("evaluate whether the code is well-designed") drift; checklists don't.
- Anchor every criterion with 2 concrete examples — one pass, one fail. Real examples from prior runs, not invented ones. The evaluator reads these every invocation. This is the calibration; without it you're just prompting hope.
- Forbid reading the generator's reasoning before scoring. The evaluator sees the artifact (code, diff, output) and the rubric. It does not see the generator's "here's why this is good" prose. Score first, then optionally read the reasoning to write the critique.
- Require the evaluator to quote the artifact in every verdict. "Fails criterion 3 because
<quoted line>" — not "fails criterion 3." Quoting forces grounding and makes the verdict auditable. - Re-prompt from scratch every N iterations. Empirically N=5 works. Kill the evaluator's context, reload the system prompt + rubric + examples fresh. Do not compact; compaction preserves the drift.
- Log verdict distributions. Track pass rate per criterion per sprint. A criterion that goes from 40% pass to 90% pass without a spec change is drift, not improvement.
- Spot-check with a held-out fail. Every ~10 sprints, feed the evaluator an artifact from your example set that you know fails. If it passes, the calibration has decayed — regenerate the example set from recent real runs.
Anti-patterns
- "Be skeptical" in the system prompt with no examples. Words don't calibrate. Examples calibrate.
- Letting the evaluator read the planner's plan. Same drift mechanism as reading the generator's reasoning — priming on intent softens the critique.
- One shared context across many gradings. Each grading should start from a clean rubric read. Batch-grading in one context is where leniency compounds fastest.
- Invented examples. Fake pass/fail examples don't anchor to the artifact distribution the evaluator actually sees. Pull from real runs.
- Scoring on a 1-10 scale. The evaluator will cluster at 7. Use binary or 1-3.
Related
- [[adversarial-verify]] — the single-shot form; evaluator-calibration is the standing-agent form.
- [[shift-notes]] — evaluator verdicts belong in the ledger so drift is visible session-over-session.
- [[broken-window-check]] — a mechanical version of "don't trust the last verdict"; pairs well when the evaluator is the thing being distrusted.
When NOT to apply
Single-shot grading with a fresh context every call — there's no drift to prevent, and the examples are overhead. Also skip for tasks under ~1 hour where the evaluator only runs 2-3 times.
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.

