cc-task-bench
Skill1 starsChanged 5 months agoMITView on GitHub
Benchmark Claude Code task performance — pass-rate × tokens × wall-clock × cost across Opus, Sonnet, Haiku on a fixed task corpus. Use to decide which model routes which task type, or to validate a routing claim with data instead of vibes.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llm-evalSkill
- tune-parametersSkill
- verify-refactorSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Pin the bench commit: Every attempt records bench_commit (git sha of the runner) and git_sha_of_attempt (worktree HEAD).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Goal: pick the cheapest model that's good enough — measured, not guessed.
- Pin the bench commit. Every attempt records
bench_commit(git sha of the runner) andgit_sha_of_attempt(worktree HEAD). Re-runs against the same fixtures stay comparable across days. - One worktree per attempt. Spin a fresh git worktree under
.worktrees/<run-id>/<model>/<task>/<n>/so attempts can't contaminate each other. Results land separately inbench/results/<run-id>/<model>/<task>/; tear the worktree down after capturing artifacts. - Run a deterministic judge per V1 task family.
- Refactor →
verify-refactorskill verbatim: capturecommand > /tmp/golden-before.txt, refactor, capture/tmp/golden-after.txt,diff -u; empty diff = pass. - Exploration → F1 over reported
file:lineset vs the fixture'soracle/expected.json. - Test writing → originally-failing test turns green AND no other test in the suite regresses. Run the full suite.
- Refactor →
- Record per-attempt metrics. Status, score, token usage (input / output / cache read / cache write), wall-clock, tool-call count, derived cost (via
bench/pricing.json), the judge block, and any error. Authoritative schema:bench/README.md. - Aggregate per cell. 5 attempts per (model, task). Report pass-rate AND consistency (score stdev) separately — never collapsed.
- Read the surface, don't argmax. Apply
tune-parametersphilosophy when interpreting results: pick the model that sits in a robust region of (cost × pass-rate), not the model that wins one noisy cell.
V3 adds rubric-judged families via llm-eval as a 3-judge ensemble; V1 is deterministic-only on purpose — debugging rubric pipelines and the model matrix at the same time is a known anti-pattern.
Attribution: harness shape (worktree isolation, separate dimensions, ≥3 runs, commit pinning, per-attempt token accounting) adapted from affaan-m/ECC's agent-eval methodology, with one correction — pass-rate and consistency are reported as separate axes, not collapsed into one number.
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.

