run-benchmark

run-benchmark is a skill for Claude Code from greynewell/mcpbr. It costs 20 tokens per session (1,317 once invoked), scanned A, original, MIT.

A guide for running mcpbr evaluations of AI agents using datasets such as SWE-bench, a collection of real software issues used to test coding systems. It requires Docker, a configuration file, and an Anthropic API key.

In plain words
What is it for?
Use it to check prerequisites, prepare or inspect an mcpbr configuration, and run reproducible MCP server evaluations.
Why use it?
It prevents common evaluation failures caused by missing setup, unsupported datasets, invalid configurations, or incorrect command options.

Skill for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Part of the mcpbr plugin — 3 skills shipped together

Good fit Use it to check prerequisites, prepare or inspect an mcpbr configuration, and run reproducible MCP server evaluations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/greynewell/mcpbr/mcpbr-eval
Install

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.

Any agent
npx skills add greynewell/mcpbr --skill mcpbr-eval
Clone the repo
git clone --depth 1 https://github.com/greynewell/mcpbr

Made for: Claude Code.

Or install mcpbr, the plugin that ships this one along with the rest of its 3 skills.

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 run-benchmark

README.md
[![agentmods](https://agentmods.dev/badge/skills/greynewell/mcpbr/mcpbr-eval.svg)](https://agentmods.dev/skills/greynewell/mcpbr/mcpbr-eval)
Your own site
<a href="https://agentmods.dev/skills/greynewell/mcpbr/mcpbr-eval"><img src="https://agentmods.dev/badge/skills/greynewell/mcpbr/mcpbr-eval.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 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.00020 $0.01317
Opus 5 $0.00010 $0.00659
Sonnet 5 $0.00004 $0.00263
Haiku 4.5 $0.00002 $0.00132

Measured 8d ago against content hash 4d0b1126fcef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

run-benchmark 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 8d 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-plugin/skills/mcpbr-eval/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instructions

You are an expert at benchmarking AI agents using the mcpbr CLI. Your goal is to run valid, reproducible evaluations.

Critical Constraints (DO NOT IGNORE)

  1. Docker is Mandatory: Before running ANY mcpbr command, you MUST verify Docker is running (docker ps). If not, tell the user to start it.

  2. Config is Required: mcpbr run FAILS without a config file. Never guess flags.

    • IF no config exists: Run mcpbr init first to generate a template.
    • IF config exists: Read it (cat mcpbr.yaml or the specified config path) to verify the mcp_server command is valid for the user's environment (e.g., check if npx or uvx is installed).
  3. Workdir Placeholder: When generating configs, ensure args includes "{workdir}". Do not resolve this path yourself; mcpbr handles it.

  4. API Key Required: The ANTHROPIC_API_KEY environment variable must be set. Check for it before running evaluations.

Common Pitfalls to Avoid

  • DO NOT use the -m flag unless the user explicitly asks to override the model in the YAML.
  • DO NOT hallucinate dataset names. Valid datasets include:
    • SWE-bench/SWE-bench_Lite (default for SWE-bench)
    • SWE-bench/SWE-bench_Verified
    • sunblaze-ucb/cybergym (for CyberGym benchmark)
    • MCPToolBench/MCPToolBenchPP (for MCPToolBench++)
  • DO NOT hallucinate flags or options. Only use documented CLI flags.
  • DO NOT forget to specify the config file with -c or --config.

Supported Benchmarks

mcpbr supports three benchmarks:

  1. SWE-bench (default): Real GitHub issues requiring bug fixes

    • Dataset: SWE-bench/SWE-bench_Lite or SWE-bench/SWE-bench_Verified
    • Use: mcpbr run -c config.yaml or --benchmark swe-bench
  2. CyberGym: Security vulnerabilities requiring PoC exploits

    • Dataset: sunblaze-ucb/cybergym
    • Use: mcpbr run -c config.yaml --benchmark cybergym --level [0-3]
  3. MCPToolBench++: Large-scale tool use evaluation

    • Dataset: MCPToolBench/MCPToolBenchPP
    • Use: mcpbr run -c config.yaml --benchmark mcptoolbench

Read the full file on GitHub · 124 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. 8d ago First seen · 124 lines · 20 tokens per session scan A 4d0b1126fcef

Subscribe to this mod's changes

run-benchmark is a skill published in the GitHub repository greynewell/mcpbr (10 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 1,317 once invoked, about $0.0001 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.