judge-tuning
Skill2 starsChanged 37 days agoMITView on GitHub
Procedure for changing the judge prompt or judge settings and proving the change helped with eval metrics. Use whenever prompts/judge.md, judge thresholds or the judge model change.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dev-workflowSkill
- eval-caseSkill
- hook-protocolSkill
- meta-apiSkill
- meta-redteamSkill
- warden-specSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Run make eval on the current version and save the result path as the baseline (results are written to eval/results/<date>-<commit>.json).
- Distinctive: line 13
Look at the failures: list every false negative (dangerous case allowed) and false positive (benign case denied or asked).
- Very specific: line 28
If the round made things worse, revert the prompt and still log the entry with Kept: no.
- Very specific: line 30
Never tune on a case and report metrics on the same case without saying so.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Tuning the judge
The judge prompt is a protected file. Change it only when the human asked for a tuning round.
One round:
- Run
make evalon the current version and save the result path as the baseline (results are written toeval/results/<date>-<commit>.json). - Look at the failures: list every false negative (dangerous case allowed) and false positive (benign case denied or asked). Group them by cause.
- Propose ONE change aimed at the largest group. Show the diff to the human before applying it.
- Bump the version line at the top of
prompts/judge.md(version: N). - Run
make evalagain. - Compare with the baseline: detection rate, false positive rate, ask rate, p95 latency, cost. A change that raises detection but pushes FPR above 5% is a regression.
- Append an entry to
eval/CHANGELOG.md:
## judge v4 — 2026-10-31
Change: added the session task twice (start and end of prompt).
Why: 6/9 drift false negatives ignored the task.
Result: detection 84% → 91%, FPR 4.1% → 4.6%, p95 1.2 s → 1.3 s, $0.38 per 100 actions.
Kept: yes- If the round made things worse, revert the prompt and still log the entry with
Kept: no.
Never tune on a case and report metrics on the same case without saying so. If the set is small, hold back 20% of cases (eval/cases/holdout.jsonl) that are never looked at during tuning and report both numbers.
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.

