agentleFS
mjvacasmjvacas/claude_code_template/.claude/skills/cc-task-bench/SKILL.md

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.

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
  1. Very specific:

    Pin the bench commit: Every attempt records bench_commit (git sha of the runner) and git_sha_of_attempt (worktree HEAD).

    line 9

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Goal: pick the cheapest model that's good enough — measured, not guessed.

  1. Pin the bench commit. Every attempt records bench_commit (git sha of the runner) and git_sha_of_attempt (worktree HEAD). Re-runs against the same fixtures stay comparable across days.
  2. 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 in bench/results/<run-id>/<model>/<task>/; tear the worktree down after capturing artifacts.
  3. Run a deterministic judge per V1 task family.
    • Refactor → verify-refactor skill verbatim: capture command > /tmp/golden-before.txt, refactor, capture /tmp/golden-after.txt, diff -u; empty diff = pass.
    • Exploration → F1 over reported file:line set vs the fixture's oracle/expected.json.
    • Test writing → originally-failing test turns green AND no other test in the suite regresses. Run the full suite.
  4. 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.
  5. Aggregate per cell. 5 attempts per (model, task). Report pass-rate AND consistency (score stdev) separately — never collapsed.
  6. Read the surface, don't argmax. Apply tune-parameters philosophy 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.