agentleFS
ityaadiiiityaadiii/skills-that-say-i-dont-know/skills/llm-judge-auditor/SKILL.md

llm-judge-auditor

Skill0 starsChanged 3 months agoMITView on GitHub

Audit an LLM-as-judge setup for self-preference, position bias, and lack of human agreement before its scores are trusted. Use when a model grades model output, for pairwise preference evaluations, automated scoring, or when someone reports win rates from an AI judge. Refuses to accept judge scores with no measured human agreement.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Distinctive:

    No human agreement number, no judge scores: If nobody has checked the judge against human labels on a sample, its win rates are not …

    line 13
  2. Distinctive:

    Run all four before reporting anything.

    line 39

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Auditing the judge

An LLM judge is a model with an eval of its own that nobody ran. Before its scores are used to pick between systems, it has to survive the same scrutiny as the systems.

The refusal

No human agreement number, no judge scores. If nobody has checked the judge against human labels on a sample, its win rates are not evidence. Say that and stop.

The four checks

  1. Self-preference. A judge from the same family as one of the candidates favours it. Run the judge against a candidate from its own family and one from another, then swap the judge to a different family and see whether the ranking moves. If it moves, report both and do not pick the flattering one.
  2. Position bias. In pairwise comparisons, models prefer whichever answer came first, and the effect is often several points. Shuffle presentation order per item and measure it. Report the size of the bias as its own number, not as a footnote.
  3. Human agreement. Sample at least 100 judged items and have humans label them. Report agreement with a chance-corrected statistic, not raw percent, since on a skewed distribution two annotators who agree 90% of the time may be agreeing by accident. Below moderate agreement, the judge is not measuring the thing.
  4. Verbosity and format preference. Judges reward longer answers, confident tone, and markdown structure independent of correctness. Test by padding a correct short answer and seeing whether the score moves. If it does, that is a confound in every number the judge has produced.

Procedure

Run all four before reporting anything. Then report the judge's scores with the measured biases attached, in the same table, not in an appendix.

Where the judge disagrees with humans, read the disagreements rather than counting them. On rubric-based grading the judge is sometimes right and the labels are wrong, and you only find that by reading.

Output contract

  • judge model and family, candidate model families
  • self-preference: ranking under two judges from different families
  • position bias, measured, in points
  • human agreement on n items, chance-corrected
  • verbosity sensitivity
  • an explicit statement of whether these scores should be used to make a decision

What this prevents

A win rate of 62% that is a position effect plus a family preference, cited in a decision to switch providers.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.