From ponytail
LLM-as-judge design the lazy way: pick direct-scoring vs pairwise, mitigate judge bias, calibrate rubrics and confidence, validate against humans. A judge call is context spend — load only the criteria, evidence, and passes that earn the verdict. Use when the user says "LLM as judge", "score this output", "pairwise comparison", "evaluator bias", "rubric calibration", "is my eval reliable", "A/B my prompt", or invokes /advanced-evaluation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ponytail:advanced-evaluationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A judge is a prompt, and every prompt is a context budget. Don't bolt on a
A judge is a prompt, and every prompt is a context budget. Don't bolt on a five-model panel before a single swapped pass earns its keep. Load the criteria that decide the verdict, the evidence that anchors it, the second pass that de-biases it — nothing else. Most evals are one judge, two passes, a rubric.
| Have ground truth? | Use | For | Watch |
|---|---|---|---|
| Yes — objective criterion | Direct scoring | accuracy, instruction-follow, format, toxicity | scale drift |
| No — preference/quality | Pairwise | tone, style, persuasiveness, creativity | position + length bias |
| Reference exists | Reference-based | summary vs source, translation vs gold | — |
Pairwise beats direct scoring on subjective tasks. Don't reach past the first row that fits.
Evidence before score — cite observable output features, then emit the number.
Single-pass pairwise is corrupted by position bias. The standout technique — run it every time:
Confidence is never 100% — cap 0.99, reduce on inconsistency, raise with evidence count.
| Bias | Mitigation |
|---|---|
| Position — first slot wins | swap passes, consistency check |
| Length — longer scores higher | explicit "ignore length" + length as its own criterion |
| Self-enhancement — rates own output up | different model for gen vs eval; strip attribution |
| Verbosity — irrelevant detail wins | rubric penalizes off-scope content |
| Authority — confident tone wins | require evidence; hedged+sourced beats confident+bare |
| Task | Primary | vs humans |
|---|---|---|
| Binary pass/fail | Precision, Recall, F1 | Cohen's κ |
| Ordinal 1-5 | Spearman ρ | weighted κ |
| Pairwise | agreement rate, position consistency | — |
Bands (validate, then trust): Spearman ρ good >0.8 / bad <0.6 · Cohen's κ >0.7 / <0.5 · position consistency >0.9 / <0.8 · length-score correlation <0.2 / >0.4. Chase systematic disagreement, not raw agreement — a judge consistently wrong on one criterion beats one with random noise.
Default: one judge. PoLL (multi-model, median-aggregate) for high-stakes. Hierarchical (cheap screen → expensive on edge cases) for volume. Human-in-loop routes low-confidence to people. Each adds tokens — make the stakes justify them.
Never skip: the deterministic pre-check gate, position swapping on pairwise, evidence-before-score, and validation against human labels — an eval nobody checked against humans is decoration. Version-control judge prompts (wording swings scores); re-anchor rubrics against fresh human examples as standards drift.
evaluation — deterministic checks, regression suites, production gates. This skill owns the judge.harness-engineering — locked rubrics, rollback, autonomous-loop governance.tool-design — schemas/error handling for eval tools; context-optimization — token/latency budget for high-volume judges.Verdict: one judge, two swapped passes, evidence-anchored scores, validated against humans. Add a panel only when stakes outweigh the tokens.
npx claudepluginhub robertbarclayy/nwbzpwnr --plugin ponytailGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.