Borrowing it
Nothing to install: this file belongs to Zayne-sprague/Dr-Claude-Code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Zayne-sprague/Dr-Claude-Code/main/.claude/commands/raca/benchmark-reference.mdgit clone --depth 1 https://github.com/Zayne-sprague/Dr-Claude-CodeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/zayne-sprague/dr-claude-code/benchmark-reference)<a href="https://agentmods.dev/commands/zayne-sprague/dr-claude-code/benchmark-reference"><img src="https://agentmods.dev/badge/commands/zayne-sprague/dr-claude-code/benchmark-reference/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/zayne-sprague/dr-claude-code/benchmark-reference"><img src="https://agentmods.dev/badge/commands/zayne-sprague/dr-claude-code/benchmark-reference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01740 |
| Opus 5.5 | $0.00012 | $0.00696 |
| Sonnet 5.5 | $0.00006 | $0.00348 |
| Haiku 4.5 | $0.00003 | $0.00174 |
Grade A, and why
benchmark-reference scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Handle Benchmark Reference
Reference files live at .claude/references/datasets_and_tasks/{name}.md.
The index lives at .claude/references/datasets_and_tasks/datasets_and_tasks_map.md.
The argument has two parts:
- Benchmark name (required) — first word or quoted phrase (e.g.,
Countdown,"GSM8K","SWE-bench Verified") - Context (optional) — everything after the name. This is either:
- A correction ("Countdown evaluation should check equation validity, not direct string match")
- Additional info to merge ("add that GSM8K has 8.5K training examples")
- Empty — means "create from scratch" or "review and enrich existing"
Step 1: Determine mode
IF reference file exists for this benchmark:
IF context provided → UPDATE mode (apply correction / add info)
IF no context → ENRICH mode (research and fill gaps)
ELSE:
CREATE mode (build from scratch)
Read the existing file if it exists. Read datasets_and_tasks_map.md to check for an entry.
Normalize the benchmark name to a filename: lowercase, hyphens for spaces, no special chars.
Example: "SWE-bench Verified" → swe-bench-verified.md
Step 2: Research (CREATE and ENRICH modes)
Use web search and paper search to find authoritative sources. Prioritize:
- The original paper introducing the benchmark
- Official HuggingFace dataset page (if it exists)
- Official code repository
- Leaderboard or evaluation harness docs (e.g., lm-evaluation-harness, BigCode, HELM)
Gather enough to fill every section in the template below. If a section cannot be filled, mark it *Unknown — needs investigation*.
Step 3: Write or update the reference file
CREATE mode
Write a new file using this template:
# {Benchmark Name}
## Overview
{2-3 sentence description: what does this benchmark measure, who introduced it, why does it matter}
- **Introduced in:** {Paper title} ({Authors}, {Year}) — [{arxiv link}]({url})
- **Official HuggingFace:** [{org/dataset}]({url}) or *None*
- **Code repo:** [{org/repo}]({url}) or *None*
- **Leaderboard:** [{name}]({url}) or *None*
## Task Description
{What does the model need to do? Be specific. Include input/output format, number of examples/splits, any subtasks or difficulty levels.}
## Evaluation
### Method
{How are answers scored? Direct string match, equation equivalence, LLM-as-judge, execution-based, F1, exact match, pass@k, etc. Be precise — this is what experiment code will rely on.}
### Metric(s)
{Primary metric and any secondary metrics. Include formulas or references if non-obvious.}
### Known Pitfalls
{Common mistakes in evaluation: wrong normalization, off-by-one in pass@k, answer extraction regex failures, etc.}
## Running It
### Requirements
{Does it need Docker, a sandbox, network access, a compiler, specific packages? Is it agentic / multi-turn? How long does a typical run take?}
### Recommended Setup
{Best way to run: lm-eval-harness task name, custom script, official repo instructions, etc. Link to working configs if available.}
### Prompt / Few-Shot Format
{Reference prompt template or describe the standard format. Include few-shot count if conventional. If there's a canonical prompt, quote it in a code block.}
## Typical Results
{Brief table or notes on SOTA / baseline performance ranges so we know if our numbers are in the right ballpark.}
| Model | Score | Source |
|-------|-------|--------|
## Setup Checklists
Context-specific questions to resolve BEFORE writing code. These prevent common mistakes and wasted compute by surfacing ambiguities early. Not every benchmark needs all three sections — include only those that apply.
### For Evaluation
{Bulleted list of questions you should answer before writing an evaluation script for this task. Focus on: answer extraction, scoring edge cases, metric configuration, dataset split selection, prompt format.}
### For Distillation / Data Generation
{Bulleted list of questions you should answer before generating training data from this task. Focus on: output format, trace style, filtering criteria, dataset size, deduplication, quality checks.}
### For RL Training
{Bulleted list of questions you should answer before setting up an RL training run with this task as the reward signal. Focus on: reward function design, format reward, partial credit, hyperparameter choices tied to the task, known failure modes.}
## Notes
{Anything else: known dataset contamination issues, version differences, community conventions, licensing.}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 157 lines · 31 tokens per session scan A fd2d07f35492
benchmark-reference is a command published in the GitHub repository Zayne-sprague/Dr-Claude-Code (5 stars, last pushed 7mo ago), licensed MIT. It adds 31 tokens to every session and 1,740 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
benchmark-reference compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| benchmark-referenceZayne-sprague/Dr-Claude-Code | Command | 5 | 7mo ago | MIT | A | 31 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |