Designs eval datasets that measure model quality through coverage, difficulty distribution, labeling consistency, and contamination avoidance. Covers sourcing strategies, stratification, inter-annotator agreement, and rubric creation.
Ships in 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.
None: SKILL.md is the whole skill.
Your evals are only as good as the dataset they run on. Miss a user scenario and you'll never catch regressions on it.
Best to worst:
A good eval set mixes all four. Typical split: 60% real, 20% synthetic, 15% adversarial, 5% benchmark.
Split your dataset by categories that matter:
dataset:
categories:
simple_qa: 100 samples # easy, high-frequency
multi_step_reasoning: 50 # medium
ambiguous_queries: 30 # hard
edge_cases: 20 # adversarial
rare_domains: 20 # coverage of long tail
Report metrics per stratum, not just the aggregate. A model can improve on average while regressing on edge cases — you'll only see it stratified.
Two people label the same 50 items independently. Compute inter-annotator agreement:
from sklearn.metrics import cohen_kappa_score
kappa = cohen_kappa_score(labeler_a, labeler_b)
Target:
Resolve disagreements with a tiebreaker, then update the rubric based on what caused disagreement.
Write explicit guidelines with examples:
### Label: helpful
**Definition**: Response addresses the user's question directly and accurately.
**Examples**:
- Query: "How do I loop in Python?" / Response: Shows `for` loop → YES
- Query: "How do I loop in Python?" / Response: General loop theory → NO (dodges the specific language)
- Query: "Fix this bug" / Response: Points out the bug + fix → YES
- Query: "Fix this bug" / Response: "I'll need more info" (bug is in the code) → NO
If two labelers disagree, add their disputed case as a rubric example.
If your eval is in the model's training data, scores are inflated. Check:
For production evals, rotate the dataset yearly and keep a private held-out set.
Track difficulty via model pass rate:
< 30% pass: too hard; models improve but you can't measure it30-80% pass: useful range> 95% pass: too easy; dataset has plateauedPrune items that reach 100% for several consecutive model generations — they no longer discriminate.
When you need more coverage:
const prompt = `Generate 20 diverse user queries that a customer support bot might receive.
Cover: billing (5), technical issues (5), account access (5), general FAQ (5).
Vary wording: formal, casual, angry, confused.
Return JSON array.`;
const response = await client.messages.create({
model: JUDGE_MODEL, // a current, strong model ID from config
max_tokens: 4000,
messages: [{ role: "user", content: prompt }],
});
Then:
Quality > quantity. 200 well-labeled items beat 5000 noisy ones.
Treat datasets like code:
evals/
customer_support/
v1/
dataset.jsonl
rubric.md
CHANGELOG.md
v2/
dataset.jsonl
rubric.md
CHANGELOG.md
Never silently edit. Version bumps communicate "scores before v2 are not comparable to scores after".
Keep 100-200 items never published, never used for prompt iteration. Only for:
Rotate a fraction yearly.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/cost-quality-tradeoffMeasure and optimize the cost/quality curve — which model, prompt, and settings give the best quality per dollar. Covers Pareto analysis, break-even thresholds, and when to spend more vs less.
Use this skill when optimizing LLM spend, picking a default model for a feature, or deciding whether a premium model is worth it.
Activate when: cost vs quality, model selection, eval cost, Pareto frontier, cheaper model, premium model tradeoff.
/golden-set-maintenanceCurate and maintain "golden set" eval items — the small, high-signal cases that must never regress. Covers selection criteria, review cadence, retiring stale items, and keeping the set sharp.
Use this skill when building a sanity-check eval that runs on every PR, defending against silent quality drops, or your full eval takes too long to run in CI.
Activate when: golden set, smoke test eval, canary eval, must-not-regress, eval sentinels, core eval.
/llm-as-judgeUse an LLM as an evaluator for open-ended outputs — rubrics, pairwise comparison, calibration with human labels, bias mitigation. Covers when LLM-judge works, when it fails, and how to trust its scores.
Use this skill when evaluating generative outputs at scale, building eval pipelines, or replacing expensive human review for non-critical judgments.
Activate when: LLM as judge, LLM evaluator, automated evaluation, pairwise comparison, rubric evaluation, eval model.
/regression-evalsSet up continuous regression evals so model/prompt/tool changes don't silently break existing behavior. Covers gating thresholds, CI integration, statistical significance, and response to regressions.
Use this skill when deploying prompts to production, gating model upgrades, or noticing "it worked yesterday" in AI features.
Activate when: regression eval, eval CI, prompt regression, model upgrade gate, eval threshold, eval alert.
/evals:eval-dataset-designfrom evals
npx claudepluginhub latestaiagents/agent-skills --plugin evals2 plugins in one repository ship this exact skill · first indexed Nov 5, 2026