Craftbench
Run engineering benchmarks against any LLM and compare the results. Use when the user wants to benchmark, evaluate or score a model, compare two models, check whether a newly released model is better, or asks "how good is <model> at SQL/debugging/agents/data science". Covers software engineering, data science, ML engineering and AI engineering. Also use for adding or debugging eval cases.From its SKILL.md
npx -y skills add elcronos/craftbench --skill craftbenchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, as published. Nobody here has run it
CraftBench
Benchmarks a model on real engineering work: 20 categories, 25 cases, five categories per discipline (software, data science, ML engineering, AI engineering). Grading is mostly deterministic — model code is executed against checkers, SQL against SQLite, agent trajectories against mock tools — so a full sweep costs roughly $1.60 on a frontier model and a few cents on a small one.
Run everything through the craftbench command. It is on PATH while this plugin
is enabled, works from any directory, and bootstraps itself on first use.
Before running
craftbench --doctor
Shows the checkout, whether the environment is built, and which provider keys are
present. If the needed key is missing, stop and tell the user — do not
silently fall back to another model. Keys can go in ~/.craftbench/.env
(persists across plugin updates) or the user's shell environment.
No key at all? Two useful options: --model ollama/<name> for a local model, or
--model mock:reference to demonstrate the harness for free.
Benchmarking a model
craftbench run --model anthropic/claude-opus-5 --max-cost 3
--modeltakes any LiteLLM string:anthropic/…,openai/…,gemini/…,ollama/…,groq/….- Always pass
--max-coston a real model unless the user set a budget themselves. 3 is a safe ceiling for a full sweep. - A full sweep is 25 cases and takes about 3–6 minutes. Run it with
run_in_background: trueand report when it lands, rather than blocking. - Narrow it when the user cares about one discipline:
--area swe|ds|mle|ai,--category ds-sql-analytics,--case swe-perf-001,--limit 5. --repeat 3averages over attempts. Use it before making a claim that matters; single runs of a stochastic model are noisy.
The command prints a report: overall score, a breakdown by area and category, and every failure with the grader's reason. Relay the real numbers — never estimate or extrapolate a score the tool did not print.
Choosing the scaffold — ask which question they mean
A score belongs to the model and the harness, so --scaffold is a first-class
choice, not a detail:
| Question the user is asking | Scaffold |
|---|---|
| "Which model is stronger?" | blind (default) — one shot, no tools |
| "Which model should I run in Claude Code / my agent?" | tools — the model can run code and query the database first |
blind understates deployed capability, and does so unevenly — models that
lean on iteration lose more. If the user's question is about an agent, running
only blind will mislead them; say so rather than quietly answering the other
question.
The number worth reporting is the delta:
craftbench run --model X --scaffold blind --max-cost 3
craftbench run --model X --scaffold tools --max-cost 8
craftbench leaderboard # prints a "Scaffold effect" table
A large gain means that model is worth pairing with an agentic harness; a small
one means it is near its ceiling first try and the extra tokens buy little.
tools costs roughly 3–5x blind, so raise --max-cost accordingly.
Comparing models
Run each, then compare. Run ids come from craftbench runs.
craftbench run --model anthropic/claude-opus-5 --max-cost 3
craftbench run --model openai/gpt-5.6 --max-cost 3
craftbench runs
craftbench compare <run-a> <run-b>
craftbench leaderboard
compare gives per-category deltas plus which specific cases newly pass and
newly fail. Lead with the newly-failing cases — a model that gains three and
loses one has a specific regression that an aggregate score hides.
leaderboard ranks every model tried, with a $/100 cases column. When one
model is a few points better and several times the price, say so plainly; that is
usually the actual decision.
If compare prints a warning about differing suite versions or judge settings,
surface it. It means part of the difference may be the eval moving rather than
the model.
Reading results
craftbench report # latest run
craftbench report <run-id> -v # per-case detail
craftbench report <run-id> -f html -o report.html
Results live in ~/.craftbench/results (SQLite plus per-case artifacts) and
survive plugin updates. Raw model responses for a run are in
~/.craftbench/results/artifacts/<run-id>/. Read those when a failure reason is
not self-explanatory, rather than guessing why a case failed.
Sharing:
craftbench export <run-id> -o run.json
craftbench import run.json
Interpreting scores honestly
- 25 cases is small. Differences under a few points are noise. Say so.
- Report pass rate alongside mean score. Partial credit means a model can average 60% while passing nothing.
- Per-area scores come from 6–7 cases each. Treat them as directional.
- The suite has never been calibrated against a target success rate, so a category everything passes carries no information — worth saying if it happens.
Cost control
| Flag | Effect |
|---|---|
--max-cost 3 | Stops the run once spend passes $3 |
--no-judge | Skips the one judged grader; fully deterministic and free to grade |
--area ds --limit 3 | A quick smoke test for a few cents |
--no-cache | Bypasses the response cache (use only when measuring variance) |
Responses are cached, so re-running the same model and selection costs nothing and returns the same answers. Mention that when a user worries about repeat spend.
Working on the suite itself
craftbench validate # reference answers must pass, empty must fail
craftbench validate --case <id> # after editing one case
craftbench list --detail
craftbench graders
validate is offline and free. Run it after any change to a case, grader or
checker — it is what catches a grader that accepts anything or rejects a correct
answer.
For adding cases, grader configuration, and the results schema, see
reference.md in this skill directory, and docs/ in the checkout
(craftbench --where prints its path).