/ai-product-managers-pack:aipm-llm-judgefrom ai-product-managers-pack
Writes an LLM-as-a-judge prompt for one failure type, creates a labelled agreement set, measures agreement with human labels on a held-out split, and runs bias checks for position, length, and self-preference.
Ships in ai-product-managers-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The team wants automated grading so evals can run on every change, but nobody can prove the judge agrees with the experts. A judge that waves through the failures you care about is worse than no judge. This answers: here is the judge for one failure type, here is how we test it against human labels, and here is when we stop trusting it.
If the check can be decided by code (format, a required field, the right tool called), use the code grader set in the Eval Rubric instead. If you have no labelled real outputs, start with Error Analysis: a judge with nothing to agree with is an opinion.
LLM-as-a-judge and its biases, from Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena" (NeurIPS 2023, arXiv 2306.05685), with Anthropic Engineering's point in Demystifying evals for AI agents that model graders need calibrating against human judgment. The judgment is reading agreement on fails, not overall: most outputs pass, so a judge that says "pass" to everything can look highly accurate. The failure it prevents is the automated suite that stays green while the one failure users hate goes straight through.
# LLM Judge Prompt and Agreement Check
Check: [rubric ID and question] | Labelled by: [role] | Labelled set: [n] passes, [n] fails | Date: [date]
## Judge Prompt
[Full prompt text: the check, pass and fail definitions, one example of each, output format "verdict + one-line reason"]
## Agreement (held-out split)
| Measure | Result | From run |
|---|---|---|
| Agreement on true passes | [not yet run] | [run date, n] |
| Agreement on true fails | [not yet run] | [run date, n] |
## Bias Checks
| Bias | Test | Result |
|---|---|---|
| Position | [order swapped] | [not yet run] |
| Length | [padded vs trimmed] | [not yet run] |
| Self-preference | [same family as graded model?] | [yes / no] |
## Distrust Triggers
- [Agreement on fails below the bar set by: name] | [any model change] | Re-measure on: [date]
## Decision
The [named owner of quality] sets the agreement bar and decides by [date] whether this judge enters the suite.
[not yet run]Run aipm-eval-plan (AI Eval Plan) to put the validated judges into suites.
This pack is made by 90n (90n.ai): AI-native ways of working and tools for Product, Marketing and HR teams, built by ex-McKinsey founders. We map where time and money leak, redesign the work around AI and stay until your people run it themselves, and we run our own company on Claude. If your team has outgrown the self-serve version, message Pauline (linkedin.com/in/paulinebertry).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub polar-bear-org/claude-skills --plugin ai-product-managers-pack36 skills in this plugin
/aipm-agent-specWrites an Agent Spec with the goal and done-state, allowed tools and permissions, stop conditions and a spend budget per session, the approval points carried over from the human-in-the-loop design, and the list of actions the agent must never take alone. Use for "run aipm-agent-spec", "agent spec", "write the limits for our agent", "agent permissions", "where should the agent stop", "agent guardrails", "excessive agency", "spend cap for the agent", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-failure-modesBuilds an AI Failure Modes Map with the failure list per output type, the cost of a false yes and a false no to the user, severity and detection ratings, a graceful failure per mode and a tolerable error rate left blank for a named person. Use for "run aipm-ai-failure-modes", "AI FMEA", "which AI mistakes matter", "leaders expect it to be right every time", "false positives vs false negatives", "graceful failure", "what happens when the AI is wrong", "AI error budget", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-impact-assessmentDrafts an AI Impact Assessment covering who is affected and how, intended use and foreseeable misuse, data used, human oversight, mitigations and residual risk with a named owner, with every legal point marked as a question for an adviser. Use for "run aipm-ai-impact-assessment", "AI impact assessment", "algorithmic impact assessment", "the customer wants an impact assessment", "foreseeable misuse of our AI feature", "who does this feature affect", "residual risk sign-off", part of the Claude for AI Product Managers Pack by 90n.Other plugins' skills for the same job