model-bench
Skill1 starsChanged 58 days agoApache-2.0View on GitHub
Benchmark and A/B-test multiple LLMs or systems-under-test on one evaluation dataset. Use this whenever the user wants to compare models side by side, rank candidates by a score, run a multi-model comparison, set up a persistent A/B eval campaign, decide whether a new model is significantly better than a baseline, or produce a comparative HTML/JSON benchmark report.
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- nateslabach/skillstheir own version, first seen Nov 8, 2026
- nrflo/nrflotheir own version, first seen Oct 29, 2026
- tylerprogramming/claude-skillstheir own version, first seen Aug 9, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- nateslabach/skills★ 6same name
- nrflo/nrflo★ 2same name
- tylerprogramming/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- agent-core/AGENTS.mdAGENTS.md
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- behavioral-regression/AGENTS.mdAGENTS.md
- claude-foundation/AGENTS.mdAGENTS.md
- config/AGENTS.mdAGENTS.md
- corpora/AGENTS.mdAGENTS.md
- demo/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- experiments/AGENTS.mdAGENTS.md
- flow-corpus/AGENTS.mdAGENTS.md
- flow-protocol/AGENTS.mdAGENTS.md
- openspec/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- claude-foundation/CLAUDE.mdCLAUDE.md
- merge-gate-auditorSkill
- update-executive-reportSkill
- update-executive-reportSkill
- architecture-drift-guardSkill
- commonSkill
- corpus-guardianSkill
- dataset-lintSkill
- deploySkill
- e2e-matrix-sentinelSkill
- eval-corpus-forgeSkill
- hierarchical-recursive-brainstormSkill
- openai-judgeSkill
- openspec-implementation-reviewSkill
- openspec-peer-reviewSkill
- openspec-quality-planSkill
- pre-pr-gateSkill
- project-setupSkill
- quality-gateSkill
- refactoring-decomposerSkill
- repo-invariant-reviewSkill
- test-completeness-guardSkill
The file
Files
model-bench
Benchmark several models on the same dataset and report which is best — end to end —
by reusing the eval-harness multi-model comparison (F-024) and A/B eval campaign (F-025)
features. This skill orchestrates, it does not re-implement: its runner forwards to the
already-tested eval-harness compare and eval-harness campaign CLI subcommands, which in
turn reuse run_comparison, record_run, and analyze. With the real model-backed target
(F-027) wired into your config, the same commands benchmark live models; the bundled fixtures
use deterministic echo targets so the skill's own evals run offline.
Two modes:
- compare — run one dataset/scorers against ≥2 named models and rank them, with per-metric deltas vs a baseline and a self-contained comparative report. One-shot.
- campaign — a persistent A/B test of two arms whose per-arm pass/total counts accumulate
across runs in an append-only store;
analyzedecides via Wilson intervals and never claims significance below its power floor.
1. Preconditions (input contract)
Confirm before executing. If any fails, stop and report the exact missing requirement.
langfuse-eval-harnessis importable (pip install -e .from the repo root; add the provider extra —[openai],[bedrock],[anthropic]— only when benchmarking real models).- An eval config YAML exists with the relevant block:
- compare: a
comparisonblock with ≥2 uniquely-named models (each a{type, params}target) and a shareddataset+scorers. - campaign: an
ab_campaignblock with two distinctly-named arms, thescoreto test, and amin_samplepower floor.
- compare: a
- For real models, the provider credentials are present in the environment (never in the
config — use
${VAR}interpolation). The bundled fixtures need no credentials.
2. Procedure
compare
python scripts/run.py compare --config <eval.yaml> [--offline] [--html OUT.html] [--json OUT.json]Prints the ranking (ranked by <score> (<metric>): A > B > C). --offline uses an in-memory
Langfuse client; --html/--json write the comparative report.
campaign
# Record one run (repeat over time to accumulate counts):
python scripts/run.py campaign --config <eval.yaml> --store <store.jsonl> --mode record [--offline]
# Analyze the accumulated store:
python scripts/run.py campaign --config <eval.yaml> --store <store.jsonl> --mode analyze [--offline] [--json OUT.json]record appends per-arm pass/total counts to the JSONL store; analyze accumulates them and
prints a decision (a_better / b_better / no_difference / cant_tell below power).
3. Output contract
compareexits 0 and prints the ranking; with--json/--htmlit writes a deterministic, self-contained report (no external assets).campaign --mode recordexits 0 and appends one record per arm;--mode analyzeexits 0 and prints the decision and delta.- A config missing the required block exits 2 with a clear message; a missing harness install exits 1.
4. No hard-coded values
Models, endpoints, datasets, the ranking score/metric, and campaign power floor all come from
the config; credentials come from the environment via ${VAR} interpolation. Nothing about a
specific model or endpoint is baked into this skill.
5. Validation
python scripts/validate_skill.py --skill . --tier structural,behavioralThe behavioral evals drive compare and a record → analyze campaign over the bundled
echo-target fixtures — fully offline and deterministic.
6. References
references/usage.md— config block shapes and worked examples.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

