eval-harness

Define pass/fail criteria and calculate pass@k metrics for Claude Code agent evals.

Updated May 9, 2026
One-click install
npx skills add https://github.com/kk20300113-png/my-claude-skills --skill eval-harness-kk20300113-png
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-harness
Source: https://github.com/kk20300113-png/my-claude-skills/tree/main/eval-harness
Command: npx skills add https://github.com/kk20300113-png/my-claude-skills --skill eval-harness-kk20300113-png

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the guesswork around Claude Code agent reliability and unintended regressions from prompt or code changes, giving teams measurable confidence in AI-assisted task completion.

Core Features & Use Cases

  • Eval-Driven Development Workflow: Guides teams to define pass/fail criteria for AI tasks before implementation, run evals continuously during development, and track regressions with every change.
  • Reliability Metrics Tracking: Calculates pass@k (success within k attempts) and pass^k (all k attempts succeed) metrics to measure agent performance across model versions and prompt iterations.
  • Use Case: A software team adding a new payment processing feature can use this Skill to define capability evals for the new feature, set regression evals for existing checkout flows, and track if the agent reliably completes the task across multiple test runs.

Quick Start

Use the eval-harness skill to define pass/fail criteria for your new user authentication feature and track agent reliability across 3 test runs.

Frequently Asked Questions about eval-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure AI agent reliability for Claude Code workflows?

You can measure AI agent reliability by defining pass/fail criteria for Claude Code tasks and tracking pass@k and pass^k metrics across multiple test runs to evaluate completion consistency.

What is eval-driven development for AI-assisted software engineering?

Eval-driven development is a workflow where you define pass/fail criteria for AI tasks before implementation and run continuous capability testing to track regressions with every prompt or code change.

How do I run regression testing on existing features using Claude Code?

To run regression testing, define capability evals for your existing functionality and execute multiple test runs to calculate pass@k and pass^k metrics, generating standardized reports to identify performance drops.

Can I benchmark Claude Code agent performance across different model versions?

Yes, you can benchmark agent performance across model versions by applying the formal evaluation framework to calculate reliability metrics like pass@k and pass^k, giving your team measurable confidence in task completion.

What are pass@k and pass^k reliability metrics in AI testing?

Pass@k measures agent success within k attempts, while pass^k measures if all k attempts succeed, providing standardized metrics to evaluate AI task completion and track regressions across iterations.

When should I use an eval harness for AI-assisted development?

You should use an eval harness when adding new features or modifying prompts in AI-assisted development and need to eliminate guesswork around unintended regressions by tracking measurable reliability data.