eval-harness

Define automated evaluation criteria for Claude Code tasks with multiple graders.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Formalizes and automates evaluation for Claude Code workflows, turning subjective expectations into measurable criteria.

Core Features & Use Cases

  • Defines capability and regression evaluations to benchmark agent behavior
  • Supports deterministic (code-based) and model-based graders, plus human review
  • Stores eval definitions and run history for regression tracking and version control

Quick Start

Create an eval definition under .claude/evals for your feature, then run the eval with /eval check feature-name.

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 automated evaluation criteria for Claude Code tasks?

To set up automated evaluation criteria for Claude Code tasks, create an eval definition file under the .claude/evals directory and execute the evaluation using the /eval check command. This formalizes subjective expectations into measurable criteria.

What is a regression evaluation framework for AI coding agents?

A regression evaluation framework for AI coding agents benchmarks agent behavior across model versions by storing eval definitions and run history. It tracks performance changes over time to prevent capability degradation and ensure consistent code generation quality.

Can I use both deterministic and model-based graders for testing Claude Code workflows?

Yes, you can use both deterministic code-based graders and model-based graders for testing Claude Code workflows, plus incorporate human review. This multi-grader approach ensures comprehensive evaluation of agent behavior and task completion accuracy.

How do I run capability evaluations to benchmark Claude Code sessions?

To run capability evaluations and benchmark Claude Code sessions, define your feature criteria in the .claude/evals directory, then trigger the evaluation process using /eval check feature-name. The framework generates structured evaluation reports for analysis.

What's the best way to track evaluation results across different model versions?

The best way to track evaluation results across different model versions is using a formal eval framework that stores run history and eval definitions. This enables regression tracking, baseline comparisons, and structured reporting for consistent capability assessment.