/agent-eval-harness:eval-anovafrom agent-eval-harness
Runs Design-of-Experiments evaluations with repeated-measures ANOVA over a matrix of agent configurations (models, effort levels, prompts). Compares configurations statistically (F, p, effect size) and produces a cost/quality Pareto view.
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.
Run a full-factorial experiment comparing agent configurations (models, effort levels, prompts) across shared test cases, then analyze results with repeated-measures ANOVA.
python3 ${CLAUDE_SKILL_DIR}/scripts/orchestrate.py --config eval.yaml # run → analyze → report
python3 ${CLAUDE_SKILL_DIR}/scripts/orchestrate.py --config eval.yaml --dry-run # design + cost estimate, no execution
python3 ${CLAUDE_SKILL_DIR}/scripts/orchestrate.py --config eval.yaml --analyze-only # re-analyze existing runs + re-render
New to this skill? See QUICKSTART.md for from-scratch setup and run steps, and eval/anova-example/ for a self-contained worked example (with committed sample runs you can analyze offline).
eval-anova is not its own executor — it wraps /eval-run in a matrix loop:
summary.yaml). eval-anova runs it once per matrix cell (condition × replication), so every
cell is a standard run under the config's runs directory (<runs-dir>, below), tagged with a
condition.json recording its factor levels.summary.yaml files (analyze.py →
anova.json): each case's composite uses the harness's canonical reward composition (the
eval.yaml reward: section, else boolean-gate + normalised-numeric average), then
repeated-measures / mixed-effects ANOVA + a cost/quality Pareto frontier./eval-compare, which eval-anova invokes over the runs. eval-compare surfaces
the ANOVA/Pareto stats automatically when it finds anova.json, and stays a standalone
descriptive comparison when it does not.Because the stats read standard summary.yaml runs, you can also analyze runs produced elsewhere
(e.g. a CI fan-out that runs /eval-run per model) — just point --analyze-only at their
directory.
Install ANOVA dependencies:
pip install -e ".[anova]"
Results archival is optional — set RHAI_RESULTS_REPO=/path/to/results to archive experiments to a
git repo (a per-user temp dir is used as a fallback when unset).
Design: Define factors and levels in your eval YAML's matrix: section (--dry-run prints
the grid + a cost estimate).
Execute: For each condition × replication, drive /eval-run (workspace → execute → collect
→ score) → one standard run + summary.yaml, tagged with condition.json.
Analyze: Repeated-measures / mixed-effects ANOVA + cost/quality Pareto over the runs →
anova.json (--analyze-only runs just this over existing runs). Multi-factor designs get
one joint Wald test per model term — main effects and interactions — and the whole term
family is then corrected for multiplicity: Holm by default, Benjamini-Hochberg via
--correction bh (alias fdr_bh; or matrix.analysis.correction), or none to skip. Raw and adjusted
p-values are both reported; significant is judged on the adjusted value. Degenerate terms
(no finite p) are excluded from the family and listed, never given a fabricated p-value.
Optionally fan the same ANOVA out per judge (--per-judge or
matrix.analysis.per_judge: true): each judge's per-case values (booleans as 0/1; pairwise
and errored samples skipped) get the same analysis, and every (judge, term) p-value is
Benjamini-Hochberg-corrected as one family — a screen for which judge moves, while the
composite keeps its own separate correction family and stays the headline. Judges with
degenerate designs (constant values, too few crossed cases) are excluded with a reason.
anova.json also carries post-hoc pairwise level contrasts per factor (contrasts key):
every level pair gets an estimate (composite-scale difference), SE, raw p, and a p adjusted
within that factor's family — so a significant omnibus becomes actionable ("opus vs sonnet:
+0.06, adjusted p = .02"). Computed regardless of the omnibus result — coefficient contrasts on
the already-fitted mixed model (no refitting) for multi-factor designs, paired tests across
cases for single-factor ones; with interactions they are reference-cell contrasts, labelled as such.
Report: /eval-compare renders the cross-condition comparison, including the statistics
section, from the runs + anova.json.
The orchestrator invokes /eval-compare automatically. To (re-)render from existing artifacts,
get <runs-dir> — the directory holding the config's runs and anova.json — from the harness;
don't derive it yourself:
python3 ${CLAUDE_SKILL_DIR}/../../scripts/discover.py --runs-dir --config <config>
# Comparison report (leaderboard, heatmap, + the ANOVA/Pareto stats section if anova.json exists):
python3 ${CLAUDE_PLUGIN_ROOT}/skills/eval-compare/scripts/compare.py generate <runs-dir>
# Statistics-forward deep view for one experiment (condition means, F / p / η², per-case matrix):
python3 ${CLAUDE_SKILL_DIR}/scripts/report.py <runs-dir> # reads anova.json
Both read only on-disk artifacts (summary.yaml / anova.json) and never re-run the experiment.
Add a matrix: key to your eval YAML:
matrix:
factors:
model:
- claude-opus-4-8
- claude-sonnet-4-6
effort:
- low
- high
replications: 3
See references/matrix-schema.md for the full schema.
--correction / matrix.analysis.correction: Holm by default, bh, or none). From the fitted model (mixedlm coefficient contrasts — reference-cell when interactions are present) or paired pingouin tests (single factor).See prompts/interpret-anova.md for guidance on interpreting results.
QUICKSTART.md (opens in a new tab)prompts/interpret-anova.md (opens in a new tab)references/matrix-schema.md (opens in a new tab)scripts/analyze.py (opens in a new tab)scripts/design.py (opens in a new tab)scripts/orchestrate.py (opens in a new tab)scripts/report.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)What SKILL.md sets; muted values are Claude Code's defaults
10 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-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-compareCompare evaluation results across multiple models or runs. Takes a directory of eval run artifacts (summary.yaml, run_result.json, HTML reports) and produces a tabbed HTML comparison report with model cards, quality/cost tables, per-case breakdowns, and embedded original reports. Use when the user wants to compare models, compare runs, produce a model comparison report, or analyze eval results side-by-side./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.npx claudepluginhub fullsend-ai/agent-eval-harness --plugin agent-eval-harnessOther plugins' skills for the same job