/ai-evals:eval-rubricfrom ai-evals
Writes or updates eval rubrics for AI agents/features with pass/fail criteria in four groups (outcome, trajectory, governance, experience) plus release thresholds. Supports v1 (before traces), v2 (after traces), and audit modes. Outputs HTML and markdown.
Ships in ai-evals. 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.
Read when SKILL.md points to them.
An eval rubric is the written definition of good behavior for one AI product. It is a section of the PRD. Every line is a pass/fail check on a single trace. Numbers that hold across many traces (cost, latency, failure rate) are release thresholds and live in their own PRD section.
This skill writes v1 before any traces exist, and v2 after traces have been read. It also audits a rubric someone else wrote.
Read references/worked-examples.md before writing a rubric for the first time in a session. It
shows two products taken from v1 to v2.
| The user has | Mode |
|---|---|
| A PRD, spec, system prompt or a product description, and no traces yet | v1 |
| A v1 rubric plus trace codes or annotated traces | v2 |
| A rubric and wants feedback on it | Audit |
If it is unclear, ask one question: "Have you read traces from this agent yet?"
| Group | Question it answers | Comes from | Typical owner |
|---|---|---|---|
| Outcome (O) | What did it produce, and is it right? | Definition of success | PM, subject expert, engineering |
| Trajectory (T) | How did it get there? | Autonomy table, known risks | Engineering |
| Governance (G) | What must it never do, and always do? | Tool surface, policy, non-goals | Legal, finance, security |
| Experience (X) | How did it feel to the user in this channel? | User and channel | Design |
Rules for every line:
Look for a PRD or spec in the working folder first. Read it fully. The rubric derives from four
parts of it, described in references/prd-sections.md:
Also note the user and channel, because that sets the experience line.
If any of the four parts is missing, ask for it. Ask at most five questions, in one batch, and only for what you could not find:
If the user has policy documents, tool definitions or a system prompt, read them instead of asking. Do not invent tools or policies. If something is unknown, write it under Open questions.
If the PRD has no tool surface or autonomy table, draft both as tables and confirm them with the user before writing the rubric. They are the source of most governance and trajectory lines.
Write ten to fifteen lines in total, in this order:
Do not try to finish trajectory or experience. The odd paths and the friction are not knowable until traces exist. Say so in the output.
For each line add two short fields:
Code if a rule on the trace can decide it, LLM judge if it needs judgment,
Human if neither is practical yet. Prefer Code.Separately from the rubric, propose three to five thresholds for the PRD: cost per task, latency, and the failure rate the team will accept at launch. Add a threshold tied to a governance line if a single failure there is unacceptable (for example, zero unapproved writes). Mark every number as a target until there is data. Never put a threshold inside the rubric.
Before showing it, test every line:
Then list what v1 cannot know yet: the trajectory and experience lines that only traces reveal.
Inputs: the v1 rubric and either trace codes (from the trace-codes skill) or annotated traces.
For each trace code or finding, decide which case it is:
| Case | What to do |
|---|---|
| An existing line caught it | Keep the line. Note the finding as evidence. |
| An existing line caused it (too blunt, too broad) | Sharpen the line. Keep its ID. Record the old wording. |
| Nothing covers it | Add a line in the right group with the next free ID. |
| The behavior is fine and the line is wrong | Rare. Remove the line only with the user's agreement. |
Rules for v2:
New or Sharpened, with the finding that motivated it.Check an existing rubric against the rules above and report, per line: keep, rewrite (with the rewrite), split, move to release thresholds, or cut. Then list what is missing by group. A rubric with no governance lines for an agent that can write, spend or send is incomplete.
Save two files next to the PRD (or in the working folder if there is no PRD):
<product>-rubric-v<N>.md: the rubric as a table per group, then the release thresholds, then
open questions.<product>-rubric-v<N>.html: the same content as a page, built from
references/rubric-template.html. Fill the placeholders and keep the structure.In the reply, give the count of lines per group, the two or three lines most worth debating with stakeholders, and what to do next:
trace-codes.eval-code (lines marked Code) and eval-llm-judge
(lines marked LLM judge).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
eval-rubric, ai-evaluation, prd, quality-criteria, agent-testing
npx claudepluginhub calibre-labs/reforge-ai-evals --plugin ai-evals10 skills in this plugin
/eval-coachAnswer questions about AI evals from the Reforge AI Evals course (its FAQs, course reader and live sessions), and teach the plugin's skills through short hands-on lessons on Mapper, the course agent. Use this skill whenever someone asks a concept or "why/how/when" question about evals, agents, harnesses, traces, rubrics, user input grids, trace codes, code checks, LLM judges, TPR/TNR, judge alignment, datasets, release thresholds, online evals, monitoring or agent success rate; asks "what does the course say about...", "explain...", "what's the difference between..."; or says "teach me evals", "how do I learn this plugin", "quiz me", "continue the tour" or "eval coach". Draws diagrams when an idea has a shape. Do NOT use when the person wants eval work done on their own files (write a rubric, cluster notes, write a judge): load that skill.
/eval-codeWrite deterministic, code-based evaluator functions for an AI product. Use this skill whenever you need to write evaluators that check structural properties of AI outputs (format, count, presence, schema compliance) without calling another LLM. Also use when auditing existing code-based evaluators for brittleness, coverage gaps, or false positives.
/eval-guideEntry point for eval work. Use when someone asks for help with evals in general, does not know where to start, asks "what should I do next", or asks for something no other skill in this plugin matches. Do NOT use when a more specific skill in this plugin already matches the request. Load that skill directly.
/eval-llm-judgeWrite LLM-as-judge evaluator prompts for AI products. Use this skill whenever you need to evaluate semantic properties of AI outputs that cannot be checked programmatically — output quality, tone, factual accuracy, edge case handling, reference alignment. Also use when auditing existing judge prompts for bias, vagueness, or compound criteria. Output is a judge prompt and a runner in the project's own scorer format (a Python runner when the project has none), saved where the project keeps its evaluators.
/llm-alignAnalyze alignment between LLM judge scores and human labels in an eval dataset. Use this skill whenever someone wants to evaluate how well an LLM judge agrees with human reviewers, calculate TPR/TNR, investigate disagreements, or improve a scorer prompt. Trigger on phrases like: "calculate TPR/TNR", "judge alignment", "where does the LLM disagree with humans", "improve my scorer", "why is the LLM getting these wrong", "compare human labels to LLM scores", "evaluate my eval", or any time someone shares eval results and asks about score quality or judge calibration.
/ticket-to-evalStrip PII from a customer support ticket or eval trace and convert it into eval dataset rows. Produces two outputs: a regression dataset row (close to the original input, tagged with failure_mode) and a generalized dataset row (abstracted for broader coverage). Works with local CSV files or any eval platform. Use this skill whenever someone shares a support ticket, user complaint, or raw trace and wants to turn it into eval data. Trigger on: "add this ticket to the dataset", "convert this trace to an eval", "strip PII from this complaint", "turn this into a test case".
Other plugins' skills for the same job