Skip to main content

Command menu

Jump to a page or search the catalog

AI Tools & Scripts

Claude Code A/B Benchmark: Model, Effort, Language, Agents

A self-contained kit to A/B-test Claude Code itself with headless runs: Sonnet vs Opus, effort levels, prompt language, a CLAUDE.md rule or solo vs subagents, with graded tasks, token/time/cost tables and 95% CIs.

$17.00

What you get: 1 file · 21.52 KB · ZIP

See purchase options

Product description

Stop guessing whether a cheaper model, a lower effort level, a different prompt language or a new CLAUDE.md rule really changes how Claude Code performs. This skill gives you the harness and the know-how to measure it with headless claude -p runs.

What is inside - SKILL.md - the procedure: how to define arms, isolate them from your user config, verify the effective effort, read cost correctly, and report outcome, cost and behaviour drift separately. It also lists the non-obvious gotchas that silently ruin comparisons (stdin appended to the prompt, a hidden advisor tool, a 600 s background-work cutoff, rate-limited runs that look like successes, input tokens that do not contain the prompt). - scripts/run.py - self-contained runner: three embedded coding tasks with hidden tests, constraint checks (protected files, no new files) and strict reply-format checks; arms are interleaved and run in parallel; rows go to JSONL. - scripts/analyze.py - pooled and per task x arm tables, per-run detail, mean with 95% confidence intervals. - scripts/tokprobe.py - measures Claude's real tokenizer cost for any text/language with an echo probe. - references/findings-summary.md - an anonymised summary of what earlier rounds measured (language, effort, model, orchestration, MCP) so you know what to expect and what to re-test.

Who it is for: developers and teams who pay for Claude Code and want evidence before changing model, effort, rules or workflow.

Needs: Python 3, a working Claude Code CLI login, and a budget for the runs. Results from the summary come from one environment with small samples; the kit exists so you can re-measure in yours.

Example request

Compare Sonnet and Opus at medium effort on my coding tasks and tell me whether Opus is worth the extra cost.

Example result

Example on a fictional setup. The agent first states the decision the result changes (default model for refactor tasks) and the estimated cost, then smoke-tests the pipeline with --only t2:base:0 t3:base:0. It launches run.py --tag models --reps 3 --workers 4 with arms sonnet-med and opus-med, adds two of your own tasks with hidden tests that pass on a reference solution and fail on the untouched fixture, and runs analyze.py. The report separates three parts: outcome (correct / constraints / exact-format counts per arm with n), cost (mean output and thinking tokens, API seconds, dollars with 95% CI), and drift (reply language, status-line habit). It states plainly that with n=3 per cell the confidence intervals overlap, shows the per-run table, says what was not tested (long sessions, ambiguous design tasks), and recommends either keeping the cheaper arm as the default or widening to more reps before deciding.

Requirements

  • Python 3 (standard library only)
  • Claude Code CLI installed and logged in (claude -p must work)
  • A budget for 20-60 headless runs (the kit prints per-run cost)

How to install

Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.

What you get

1 file · 21.52 KB

  • claude-code-ab-benchmark.zipZIP · 21.52 KB
LicenseCommercial use allowed
Package checkPassed

Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.

PublishedDec 3, 2026
File size21.52 KB
File formatZIP
Versionv1.0

Tags

claude codeclaude skillai agentbenchmark
C
Claude Workflow Lab

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 21.52 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$17.00