Agent Evaluation
Use this skill when the work is deciding how an AI agent should be measured, not
when the work is simply building the feature itself.
Read references/grader-selection.md when you need help picking grader types,
benchmark families, or score dimensions for a specific agent surface.
Read references/ops-and-calibration.md when you need harness design,
transcript review, CI gates, sampling policy, saturation checks, or production
monitoring guidance.
When to use this skill
- The user needs an eval plan for a coding, research, conversational, or
computer-use agent
- The task is to choose code-based, model-based, or human graders
- The user wants a benchmark suite, regression gate, or eval roadmap before
shipping an agent change
- The user needs to connect offline evals, CI checks, and production quality
monitoring
- The team needs to diagnose whether an apparent agent improvement is real,
saturated, or benchmark-gamed
When not to use this skill
- The task is to fix the application, model prompt, or product workflow itself
- The user wants backend/API test implementation rather than an AI-agent eval
system
- The job is primarily research synthesis, RAG design, or agent implementation
rather than measurement policy
- The user already has a frozen eval harness and wants a bounded mutation loop
on the skill package itself; route that to
skill-autoresearch
Instructions
Step 1: Classify the agent surface and risk
Capture:
evaluation_brief:
agent_type: coding | research | conversational | computer-use | mixed
decision_to_make: launch-gate | regression-check | benchmark | diagnosis | production-monitoring
primary_risk: correctness | safety | hallucination | workflow-breakage | latency | cost | user-satisfaction
environment: local-repo | browser | api | document-workflow | external-system
evidence_available:
- existing tests
- transcripts
- production logs
- reference answers
- human reviewers
constraints:
determinism: high | medium | low
budget: tight | medium | generous
runtime: pr-check | nightly | scheduled | live-sampling
Do not start with grader mechanics before the surface and decision are explicit.
Step 2: Choose the grader stack
Pick the lightest stack that still proves the claim:
- Use code-based graders when success can be checked through tests, files, DB
state, exit codes, or structured outputs
- Use model-based graders when open-ended quality must be judged but a rubric
can still be made concrete
- Use human review for ambiguous, safety-sensitive, or calibration-heavy slices
- Mixed stacks are valid, but name the primary grader and the escalation path
Prefer outcome checks over path checks. Do not grade brittle step-by-step traces
unless the workflow truly requires a fixed sequence.
Step 3: Design the suite
Define:
- 20-50 representative tasks for an initial suite when possible
- a balance of success cases, failure cases, and edge cases
- required artifacts for each task: prompt, setup, expected outcome, grader, and
timeout
- score dimensions that map to the decision being made
For agent-specific guidance:
- Coding agents: prioritize build, tests, spec match, and diff quality
- Research agents: prioritize grounding, coverage, source quality, and factual
verification
- Conversational agents: prioritize resolution, policy adherence, turn economy,
and human-judged quality
- Computer-use agents: prioritize final UI or system state, not click-by-click
replay
Step 4: Define harness and isolation
Specify:
- execution environment,
- reset strategy,
- timeout and retry policy,
- transcript capture,
- flaky-case handling,
- what belongs in PR checks versus nightly or scheduled runs
If the suite is nondeterministic, call that out and use repeated trials or
sampling instead of pretending a single run is authoritative.
Step 5: Add production and calibration logic
Every plan should say:
- what stays offline,
- what gates merges or releases,
- what is sampled in production,
- how failures are reviewed,
- how saturation or benchmark drift is detected,
- when new failures graduate into regression tasks
Transcript review is part of the loop, not an optional afterthought.
Step 6: Return one evaluation packet
Return a compact packet with:
# Agent Evaluation Plan
## Scope
- Agent type:
- Decision:
- Primary risk:
- Confidence:
## Recommended grader stack
- Primary grader:
- Secondary grader or escalation:
- Why this stack fits:
## Suite design
- Task families:
- Positive / negative / edge balance:
- Success dimensions:
- Benchmark or source tasks:
## Harness and operations
- Environment:
- Reset / isolation:
- CI vs scheduled runs:
- Transcript capture:
## Production feedback loop
- Sampling policy:
- Alert threshold:
- Human review path:
- Saturation / drift check:
## Immediate next steps
1. ...
2. ...
3. ...
Best practices
- Start with the decision the eval must support, not with a favorite benchmark
- Prefer observable outcome graders over path-matching graders
- Keep transcript review in the loop for debugging and recalibration
- Split PR checks from slower nightly or production-sampling lanes
- Add new regression tasks from real failures instead of polishing only the
benchmark
- Revisit
skill-autoresearch only after the eval package is stable and still
misses measurable goals
References
references/grader-selection.md
references/ops-and-calibration.md
- Anthropic:
Demystifying evals for AI agents
- SWE-bench, WebArena, OSWorld, and tau2-bench for representative benchmark
families
1---2name: agent-evaluation3description: Design evaluation systems for AI agents by choosing the right grader mix, benchmark shape, harness boundaries, and production feedback loop. Use when the user needs eval planning for coding agents, research agents, conversational agents, or computer-use agents, even if they ask in terms like benchmark, grader, harness, regression suite, eval roadmap, red-team tasks, online evals, or agent quality monitoring. Not for fixing the underlying product feature or writing the feature tests themselves.4---56# Agent Evaluation78Use this skill when the work is deciding how an AI agent should be measured, not9when the work is simply building the feature itself.1011Read `references/grader-selection.md` when you need help picking grader types,12benchmark families, or score dimensions for a specific agent surface.1314Read `references/ops-and-calibration.md` when you need harness design,15transcript review, CI gates, sampling policy, saturation checks, or production16monitoring guidance.1718## When to use this skill1920- The user needs an eval plan for a coding, research, conversational, or21 computer-use agent22- The task is to choose code-based, model-based, or human graders23- The user wants a benchmark suite, regression gate, or eval roadmap before24 shipping an agent change25- The user needs to connect offline evals, CI checks, and production quality26 monitoring27- The team needs to diagnose whether an apparent agent improvement is real,28 saturated, or benchmark-gamed2930## When not to use this skill3132- The task is to fix the application, model prompt, or product workflow itself33- The user wants backend/API test implementation rather than an AI-agent eval34 system35- The job is primarily research synthesis, RAG design, or agent implementation36 rather than measurement policy37- The user already has a frozen eval harness and wants a bounded mutation loop38 on the skill package itself; route that to `skill-autoresearch`3940## Instructions4142### Step 1: Classify the agent surface and risk4344Capture:4546```yaml47evaluation_brief:48 agent_type: coding | research | conversational | computer-use | mixed49 decision_to_make: launch-gate | regression-check | benchmark | diagnosis | production-monitoring50 primary_risk: correctness | safety | hallucination | workflow-breakage | latency | cost | user-satisfaction51 environment: local-repo | browser | api | document-workflow | external-system52 evidence_available:53 - existing tests54 - transcripts55 - production logs56 - reference answers57 - human reviewers58 constraints:59 determinism: high | medium | low60 budget: tight | medium | generous61 runtime: pr-check | nightly | scheduled | live-sampling62```6364Do not start with grader mechanics before the surface and decision are explicit.6566### Step 2: Choose the grader stack6768Pick the lightest stack that still proves the claim:6970- Use code-based graders when success can be checked through tests, files, DB71 state, exit codes, or structured outputs72- Use model-based graders when open-ended quality must be judged but a rubric73 can still be made concrete74- Use human review for ambiguous, safety-sensitive, or calibration-heavy slices75- Mixed stacks are valid, but name the primary grader and the escalation path7677Prefer outcome checks over path checks. Do not grade brittle step-by-step traces78unless the workflow truly requires a fixed sequence.7980### Step 3: Design the suite8182Define:8384- 20-50 representative tasks for an initial suite when possible85- a balance of success cases, failure cases, and edge cases86- required artifacts for each task: prompt, setup, expected outcome, grader, and87 timeout88- score dimensions that map to the decision being made8990For agent-specific guidance:9192- Coding agents: prioritize build, tests, spec match, and diff quality93- Research agents: prioritize grounding, coverage, source quality, and factual94 verification95- Conversational agents: prioritize resolution, policy adherence, turn economy,96 and human-judged quality97- Computer-use agents: prioritize final UI or system state, not click-by-click98 replay99100### Step 4: Define harness and isolation101102Specify:103104- execution environment,105- reset strategy,106- timeout and retry policy,107- transcript capture,108- flaky-case handling,109- what belongs in PR checks versus nightly or scheduled runs110111If the suite is nondeterministic, call that out and use repeated trials or112sampling instead of pretending a single run is authoritative.113114### Step 5: Add production and calibration logic115116Every plan should say:117118- what stays offline,119- what gates merges or releases,120- what is sampled in production,121- how failures are reviewed,122- how saturation or benchmark drift is detected,123- when new failures graduate into regression tasks124125Transcript review is part of the loop, not an optional afterthought.126127### Step 6: Return one evaluation packet128129Return a compact packet with:130131```markdown132# Agent Evaluation Plan133134## Scope135- Agent type:136- Decision:137- Primary risk:138- Confidence:139140## Recommended grader stack141- Primary grader:142- Secondary grader or escalation:143- Why this stack fits:144145## Suite design146- Task families:147- Positive / negative / edge balance:148- Success dimensions:149- Benchmark or source tasks:150151## Harness and operations152- Environment:153- Reset / isolation:154- CI vs scheduled runs:155- Transcript capture:156157## Production feedback loop158- Sampling policy:159- Alert threshold:160- Human review path:161- Saturation / drift check:162163## Immediate next steps1641. ...1652. ...1663. ...167```168169## Best practices1701711. Start with the decision the eval must support, not with a favorite benchmark1722. Prefer observable outcome graders over path-matching graders1733. Keep transcript review in the loop for debugging and recalibration1744. Split PR checks from slower nightly or production-sampling lanes1755. Add new regression tasks from real failures instead of polishing only the176 benchmark1776. Revisit `skill-autoresearch` only after the eval package is stable and still178 misses measurable goals179180## References181182- `references/grader-selection.md`183- `references/ops-and-calibration.md`184- Anthropic: `Demystifying evals for AI agents`185- SWE-bench, WebArena, OSWorld, and tau2-bench for representative benchmark186 families