eval-harness

Define, measure, and track AI behavior with pass@k metrics.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/flatrick/mdt --skill eval-harness-flatrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-harness
Source: https://github.com/flatrick/mdt/tree/main/skills/eval-harness
Command: npx skills add https://github.com/flatrick/mdt --skill eval-harness-flatrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured framework for evaluating AI workflows, enabling developers to implement eval-driven development (EDD) principles and ensure reliability.

Core Features & Use Cases

  • Define Pass/Fail Criteria: Clearly outline expected behavior before implementation.
  • Measure Reliability: Utilize pass@k metrics to quantify agent performance.
  • Prevent Regressions: Create test suites to catch unintended side effects of changes.
  • Use Case: When developing a new AI feature, use this Skill to define exactly what "success" looks like, then continuously run these evaluations as you code to ensure the feature works as intended and doesn't break existing functionality.

Quick Start

Use the eval-harness skill to define a new capability evaluation for the user registration feature.

Frequently Asked Questions about eval-harness

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

FAQPage Schema
How do I formalize AI behavior tracking with eval-driven development?

Eval-driven development formalizes AI behavior tracking by defining pass/fail criteria before implementation. You measure agent reliability using pass@k metrics and continuously run evaluations to ensure intended functionality and prevent regressions.

What is the best way to prevent regressions in AI workflows?

Preventing regressions in AI workflows requires creating targeted evaluation test suites. You define capability evaluations with specific expected behaviors, then continuously run these checks during development to catch unintended side effects from code changes.

How do I measure AI agent reliability using evaluation metrics?

You measure AI agent reliability using pass@k and pass^k metrics. These evaluations quantify performance by tracking how consistently an agent meets predefined pass/fail criteria across multiple attempts, enabling precise capability assessment.

Can I use model-based grading for AI capability evaluations?

Yes, capability evaluations support code-based, model-based, and human grading types. This allows you to flexibly define expected behavior and automate the grading process to measure agent performance within your development workflow.

Does eval-driven development support regression testing for AI features?

Yes, eval-driven development supports regression testing for AI features. You define capability evaluations outlining expected behavior, then continuously run these test suites as you code to prevent unintended side effects and maintain reliability.

Why do I need predefined pass/fail criteria for AI evaluation?

Predefined pass/fail criteria are needed for AI evaluation to clearly outline expected behavior before implementation begins. This formalizes the definition of success, allowing objective measurement of agent performance and prevention of regressions.