# Anthropic Evaluations

> This skill should be used when the user asks to "create evals", "evaluate an agent", "build evaluation suite", or mentions agent testing, graders, or benchmarks. Also suggest when building coding agents, conversational agents, or research agents that need quality assurance.

- **Type:** Skill
- **Install:** `agentstack add skill-dwmkerr-claude-toolkit-anthropic-evaluations`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dwmkerr](https://agentstack.voostack.com/s/dwmkerr)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dwmkerr](https://github.com/dwmkerr)
- **Source:** https://github.com/dwmkerr/claude-toolkit/tree/main/plugins/toolkit/skills/anthropic-evaluations
- **Website:** https://www.skills.sh/dwmkerr/claude-toolkit

## Install

```sh
agentstack add skill-dwmkerr-claude-toolkit-anthropic-evaluations
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Anthropic Evaluations

Build rigorous evaluations for AI agents using Anthropic's proven patterns.

## Quick Reference

You MUST read the reference files for detailed guidance:

- [Grader Types](./references/grader-types.md) - Code-based, model-based, human graders
- [Agent Type Patterns](./references/agent-type-patterns.md) - Coding, conversational, research, computer use
- [Roadmap](./references/roadmap.md) - Steps 0-8 for building evals from scratch
- [Frameworks](./references/frameworks.md) - Harbor, Promptfoo, Braintrust, etc.

**YAML Templates:**
- [coding-agent-eval.yaml](./references/coding-agent-eval.yaml) - Coding agent template
- [conversational-agent-eval.yaml](./references/conversational-agent-eval.yaml) - Support agent template

**Annotated Examples:**
- [Example: Coding Agent](./references/example-coding-agent.md) - Auth bypass fix walkthrough
- [Example: Conversational](./references/example-conversational.md) - Refund handling walkthrough

## Core Definitions

| Term | Definition |
|------|------------|
| **Task** | Single test with defined inputs and success criteria |
| **Trial** | One attempt at a task (run multiple for consistency) |
| **Grader** | Logic that scores agent performance; tasks can have multiple |
| **Transcript** | Complete record of a trial (outputs, tool calls, reasoning) |
| **Outcome** | Final state in environment (not just what agent said) |
| **Evaluation harness** | Infrastructure that runs evals end-to-end |
| **Agent harness** | System enabling model to act as agent (scaffold) |
| **Evaluation suite** | Collection of tasks measuring specific capabilities |

## Grader Types (Quick Reference)

| Type | Methods | Best For |
|------|---------|----------|
| **Code-based** | String match, unit tests, static analysis, state checks | Fast, cheap, objective verification |
| **Model-based** | Rubric scoring, assertions, pairwise comparison | Nuanced, open-ended tasks |
| **Human** | SME review, A/B testing, spot-check sampling | Gold standard calibration |

See [Grader Types](./references/grader-types.md) for detailed comparison.

## Capability vs Regression Evals

| Type | Question | Target Pass Rate |
|------|----------|------------------|
| **Capability** | "What can this agent do well?" | Start low, hill-climb |
| **Regression** | "Does it still handle what it used to?" | Near 100% |

Capability evals with high pass rates "graduate" to regression suites.

## Non-Determinism Metrics

| Metric | Measures | Use When |
|--------|----------|----------|
| **pass@k** | At least 1 success in k attempts | One success matters (coding) |
| **pass^k** | All k attempts succeed | Consistency essential (customer-facing) |

Example: 75% per-trial success rate
- pass@3 ≈ 98% (likely to get at least one)
- pass^3 ≈ 42% (0.75³ all succeed)

## Tracked Metrics

```yaml
tracked_metrics:
  - type: transcript
    metrics: [n_turns, n_toolcalls, n_total_tokens]
  - type: latency
    metrics: [time_to_first_token, output_tokens_per_sec, time_to_last_token]
```

## Attribution

Based on [Demystifying evals for AI agents](https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents) by Anthropic (January 2026).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dwmkerr](https://github.com/dwmkerr)
- **Source:** [dwmkerr/claude-toolkit](https://github.com/dwmkerr/claude-toolkit)
- **License:** MIT
- **Homepage:** https://www.skills.sh/dwmkerr/claude-toolkit

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dwmkerr-claude-toolkit-anthropic-evaluations
- Seller: https://agentstack.voostack.com/s/dwmkerr
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
