/agent-eval-harness:eval-comparefrom agent-eval-harness
Compares evaluation results across multiple models or runs, producing a tabbed HTML report with model cards, quality/cost tables, per-case breakdowns, and embedded original reports.
Ships in agent-eval-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are an eval comparison report generator. You take a directory of eval run results and produce a self-contained HTML comparison report with LLM-generated analysis. You do not run evaluations or modify source data.
IMPORTANT: Follow the steps below sequentially. Do not explore the filesystem, run ls, find, or otherwise investigate the input directory. The scripts handle all discovery. Just run the commands as written.
| Argument | Required | Default | Description |
|---|---|---|---|
<input-dir> | yes | — | Directory to scan recursively for eval runs (any subdirectory containing summary.yaml; cap-evolve rollouts are skipped unless this is their .optimize root) |
--output <path> | no | <input-dir>/comparison-report | Output directory for the HTML report |
--title <text> | no | Model Comparison | Report title |
--overview <text> | no | none (section omitted) | Context paragraph shown at the top of the report |
Run the discovery script to find all valid eval runs:
python3 ${CLAUDE_SKILL_DIR}/scripts/compare.py discover <input-dir>
This recursively scans for directories containing summary.yaml and prints a JSON manifest of discovered runs with model names, costs, and judge scores. Just pass the input directory — do not search for files yourself. If the input dir also contains an anova.json (written by /eval-anova), the manifest reports "has_stats": true and the generated report gains an ANOVA/Pareto Statistical Significance section automatically — no extra step needed. eval-compare works with or without it.
If no valid runs are found, report the error and stop.
Run the report generator:
python3 ${CLAUDE_SKILL_DIR}/scripts/compare.py generate <input-dir> --output <output-dir> --title "<title>"
If --overview was provided, also pass --overview "<text>".
This produces:
<output-dir>/index.html — the comparison reportreport.html files into per-run subdirectories (named by a unique run slug) for iframe embeddingUsing the discovery JSON from Step 1, read each run's summary.yaml (paths are in the "dir" field of each discovered run) to understand the full picture — per-case scores, judge breakdowns, cost data, variance across runs. Then edit the generated <output-dir>/index.html to replace placeholder content and add badges.
Add a badge <div> to model cards based on your analysis. Not every model needs a badge — only add one when it clearly applies. Available badge styles:
<div class="badge" style="background: var(--green); color: #000;">Best Value</div><div class="badge" style="background: var(--yellow); color: #000;">Highly Variable</div><div class="badge" style="background: var(--red); color: #000;">Not Viable</div>Insert the badge <div> right after the opening <div class="card"...> tag. Also add style="border-color: var(--green);" (or --yellow/--red) to the card's outer div.
<div class="verdict">)Replace the placeholder with a concise summary — 3 sentences maximum. State which model is the best choice and why, note any models that aren't viable, and call out the most important tradeoff. Do not list every model individually. Write for someone who hasn't seen the raw data. Use <p> tags.
<div id="model-strengths">)Replace the placeholder <p> with per-model subsections. For each model, write a <h3> with the model name and 2-3 sentences highlighting its unique strengths. What cases did it handle best? What patterns show it excelling? What is it uniquely good at compared to the others?
<div id="shared-weaknesses">)Replace the placeholder <p> with an HTML table (Issue | Impact | Affected Cases) listing weaknesses that appear across ALL or most models. Look at per-case scores to find cases where every model scored poorly or failed. These are skill-level issues, not model-level.
<div id="recommendations">)Replace the placeholder <p> with 3-5 actionable bullet points (<ul><li>). Cover: which model to use for production, when alternatives make sense, and what to improve in the skill itself based on the shared weaknesses.
Show the user:
Suggest opening the report:
open <output-dir>/index.html
run_result.json, still include it with available data from summary.yaml. If an HTML report is missing, the run's tab shows a "No HTML report available" message instead of an iframe.$ARGUMENTS
scripts/compare.py (opens in a new tab)scripts/agent_eval/__init__.py (opens in a new tab)scripts/agent_eval/_bootstrap.py (opens in a new tab)scripts/agent_eval/actions_mask.py (opens in a new tab)scripts/agent_eval/agent/__init__.py (opens in a new tab)scripts/agent_eval/agent/base.py (opens in a new tab)scripts/agent_eval/agent/claude_code.py (opens in a new tab)scripts/agent_eval/agent/cli_runner.py (opens in a new tab)scripts/agent_eval/agent/codex.py (opens in a new tab)scripts/agent_eval/agent/cursor_agent.py (opens in a new tab)scripts/agent_eval/agent/fullsend.py (opens in a new tab)scripts/agent_eval/agent/responses_api.py (opens in a new tab)scripts/agent_eval/agent/stream_capture.py (opens in a new tab)scripts/agent_eval/anova/__init__.py (opens in a new tab)scripts/agent_eval/anova/archive.py (opens in a new tab)scripts/agent_eval/anova/composite.py (opens in a new tab)scripts/agent_eval/anova/corrections.py (opens in a new tab)scripts/agent_eval/anova/matrix.py (opens in a new tab)scripts/agent_eval/anova/stats/__init__.py (opens in a new tab)scripts/agent_eval/anova/stats/anova.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fullsend-ai/agent-eval-harness --plugin agent-eval-harness10 skills in this plugin
/eval-analyzeGenerate eval.yaml for the agent eval harness. Two modes - (1) Skill-based - examines SKILL.md, sub-skills, scripts, test cases to verify implementation quality, OR (2) Prompt-based - tests agent capabilities using custom analysis prompts (documentation effectiveness, pattern understanding, API usage, constraint compliance). Produces complete config with execution mode, dataset schema, outputs, judges, models, thresholds. Use when setting up evaluation, testing skills/documentation, adding quality checks, or benchmarking. Auto-triggered by /eval-run when eval.yaml missing. Triggered by "how do I know if my skill/docs work?"/eval-anovaRun Design-of-Experiments (DoE) evaluations with ANOVA over a matrix of agent configurations — comparing models, thinking-effort levels, prompts, or other factors across shared test cases, with repeated-measures / mixed-effects statistics that account for case difficulty plus a cost/quality Pareto view. Use whenever the user wants to compare models or configurations on an eval, decide which model or config is best, sweep or grid factors, run replications, or check whether a difference in eval scores is statistically significant (F, p, effect size) — even if they don't say "ANOVA" or "DoE". Also use when an eval.yaml has a matrix block or the user asks to fan an eval out across configurations./eval-checkEvaluate the full harness configuration as a system. Scans all skills, commands, CLAUDE.md, and hooks for redundancy, overlap, type misclassification, and structural issues. Produces an informational report with restructuring suggestions. Use when the user wants to check their overall setup health, find redundant skills, detect overlapping triggers, or get restructuring recommendations before diving into individual skill evaluation. Triggers on "check my setup", "harness health", "are my skills redundant", "what should I merge", "setup overview", "configuration check"./eval-datasetGenerate evaluation test cases for an eval.yaml. Sources cases per generation.strategy - skill analysis (default), synthetic LLM generation from generation prompts (documentation and agent-capability evals), or MLflow production traces. Bootstraps a starter dataset or augments an existing one to improve coverage. Use when setting up evaluation, when the user needs test cases, when coverage is too thin, or after /eval-analyze when no dataset exists yet. Triggers on "create test cases", "generate test data", "need test inputs", "make a dataset", "add more cases", "improve coverage", "generate documentation eval cases". Also useful when /eval-run reports "no test cases found."/eval-mlflowMLflow integration for evaluation — sync datasets, log run results, push/pull feedback between the harness and MLflow traces. Use when the user wants to log eval results to MLflow, sync test cases to MLflow datasets, connect judge scores to traces, pull MLflow annotations for eval-optimize, or view results in the MLflow UI. Triggers on "log to mlflow", "sync dataset", "push results", "mlflow integration", "view in mlflow"./eval-optimizeAutomated skill improvement. Default: an interactive loop that runs eval, identifies judge failures, reads traces and rationale, edits the SKILL.md, re-runs, and checks for regressions. Pass --engine cap-evolve (alias capevolve) for statistically validated optimization instead (train/val/test splits, a significance gate, sealed test). Use when the user wants to improve a skill based on eval results, fix failing judges, improve scores, or iterate until judges pass. Triggers on "optimize the skill", "make it pass", "auto-fix", "cap-evolve". Works best after /eval-run has produced results.Other plugins' skills for the same job