Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/zayne-sprague/dr-claude-code/benchmark-referencegit clone --depth 1 https://github.com/Zayne-sprague/Dr-Claude-CodeWhat 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 | $0.00031 | $0.01740 |
| Opus 5 | $0.00015 | $0.00870 |
| Sonnet 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 2d 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.
- 2d 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 5mo ago), licensed MIT. It adds 31 tokens to every session and 1,740 once invoked, about $0.0002 per session on Opus 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.