Dr-Claude-Code: Command for Claude Code

.claude/commands/raca/benchmark-reference.md

benchmark-reference is a command for Claude Code from Zayne-sprague/Dr-Claude-Code. It costs 31 tokens per session (1,740 once invoked), scanned A, original, MIT.

A command for creating or updating a reference file that documents a benchmark, dataset, or evaluation task, along with its entry in the project index.

In plain words
What is it for?
Use when adding a benchmark, correcting evaluation details, enriching an existing entry, or creating a reference from scratch.
Why use it?
It keeps benchmark information in a consistent, searchable place and supports corrections, additions, and new references.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is Zayne-sprague/Dr-Claude-Code's own configuration. It tells Claude Code how to work on Dr-Claude-Code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Dr-Claude-Code configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Zayne-sprague/Dr-Claude-Code/main/.claude/commands/raca/benchmark-reference.md
Clone the repo
git clone --depth 1 https://github.com/Zayne-sprague/Dr-Claude-Code

Made for: Claude Code.

Wrote 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.

agentmods badge for benchmark-reference

README.md
[![agentmods](https://agentmods.dev/badge/commands/zayne-sprague/dr-claude-code/benchmark-reference/github.svg)](https://agentmods.dev/commands/zayne-sprague/dr-claude-code/benchmark-reference)
Your own site
<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.

agentmods 80×15 button for benchmark-reference

Your own site · 80×15
<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>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash fd2d07f35492, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/commands/raca/benchmark-reference.md · 157 lines

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:

  1. Benchmark name (required) — first word or quoted phrase (e.g., Countdown, "GSM8K", "SWE-bench Verified")
  2. 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:

  1. The original paper introducing the benchmark
  2. Official HuggingFace dataset page (if it exists)
  3. Official code repository
  4. 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.}

Read the full file on GitHub · 157 lines

Changes

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.

  1. 2mo ago First seen · 157 lines · 31 tokens per session scan A fd2d07f35492

Subscribe to this mod's changes

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.

Related

benchmark-reference compared with commands from other repositories

benchmark-reference next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
benchmark-referenceZayne-sprague/Dr-Claude-CodeCommand57mo agoMITA31Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code