eval-harness

Defines and runs eval-driven development checks with pass/fail criteria and pass@k metrics for Claude Code sessions.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/diazMelgarejo/orama-system --skill eval-harness-diazmelgarejo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-harness
Source: https://github.com/diazMelgarejo/orama-system/tree/main/.cursor/.agents/skills/eval-harness
Command: npx skills add https://github.com/diazMelgarejo/orama-system --skill eval-harness-diazmelgarejo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-assisted coding lacks a systematic way to verify that agent outputs actually meet requirements, making it hard to catch regressions or measure reliability across model and prompt changes. ## Core Features & Use Cases - Eval Definition Templates: Structured capability and regression eval formats with explicit success criteria defined before implementation begins. - Multiple Grader Types: Code-based graders (grep, test runners, build checks), model-based graders for open-ended outputs, and human review flags for high-risk changes. - Reliability Metrics: Tracks pass@k and pass^k metrics to measure first-attempt success rates and consecutive-run reliability. - Use Case: Before adding authentication to an app, define capability evals (user registration, login, session persistence) and regression evals (existing routes unchanged), then run evals after implementation and generate a report showing pass@3 of 100% before shipping. ## Quick Start Ask the agent to define an eval-driven development checklist with pass/fail criteria for the feature you are about to build.

Frequently Asked Questions about eval-harness

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

FAQPage Schema
How do I set up eval-driven development for AI coding agents?

Define capability and regression evals with explicit success criteria before writing any code, then implement the feature and run the evals to verify. Store eval definitions in a project directory like .claude/evals/ so they are versioned alongside the code.

What is the difference between pass@k and pass^k metrics?

pass@k measures whether at least one of k attempts succeeds, useful for general reliability targets like pass@3 above 90%. pass^k requires all k trials to succeed consecutively, a stricter bar suited for critical regression paths.

How do I write regression evals for agent code changes?

Record a baseline checkpoint such as a commit SHA, list the existing behaviors that must keep passing, and run deterministic checks like npm test or build commands after each change. Report results as passed count versus the baseline.

When should I use a model-based grader instead of a code-based grader?

Use code-based graders for deterministic checks like pattern matching, test suites, and build success since they are reproducible. Use model-based graders only for open-ended qualities like code structure and edge-case handling, and flag security-sensitive changes for human review.

What are the limitations of automated evals for AI agents?

Automated evals cannot fully cover security review, which the framework explicitly reserves for human graders. Slow evals also tend to be skipped, so checks must stay fast, and evals only measure the criteria you defined upfront.