/bencher:bencherfrom Bencher
Guides using Bencher continuous benchmarking: run benchmarks, track performance over time, detect regressions, set up CI checks, configure thresholds, and use the Bencher CLI or MCP server.
Ships in Bencher. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Bencher is a continuous benchmarking platform that tracks performance over time and detects regressions before they reach production.
Check if the CLI is installed:
bencher --version 2>/dev/null || echo "bencher CLI not installed. See https://bencher.dev/docs/how-to/install-cli/"
Choose your workflow:
| Goal | Workflow |
|---|---|
| Run benchmarks locally | See local-runs.md |
| Run benchmarks on dedicated hardware (Bencher Cloud) | See bare-metal.md |
| Set up CI regression detection | See ci.md |
| Configure statistical thresholds | See thresholds.md |
| Set up a self-hosted Bencher instance | See self-hosted.md |
| Query data via MCP (no CLI required) | See mcp.md |
| Quick command reference | See reference.md |
Simplest possible run (generates mock data to verify setup):
bencher run "bencher mock"
delete or revoke
command, such as bencher threshold delete or bencher token revoke.BENCHER_API_KEY in their
own shell or CI secrets, or signs in with OAuth.--i-agree, --ci-on-the-fly without a key, --insecure-host, or a
--callback-url and its headers only when the user asks for it.Bencher authenticates with an API key via --key or BENCHER_API_KEY.
The prefix selects one of two kinds.
Project key (bencher_run_*), preferred for CI: scoped to a single existing
project. Submits runs and reads that project's data; cannot create or claim a project,
nor perform manage-level operations such as renaming resources or managing keys (least privilege).
With BENCHER_API_KEY set to a project key:
bencher run --project my-project "cargo bench"
The project must be identified by --project or derived from a --image whose
repository names the project. A project key cannot create a project on the fly.
User key (bencher_user_*), good for local/interactive use: authenticates as the
owning user across everything a session can do (except managing API keys), and can
create a project on the fly, so --project is optional.
With BENCHER_API_KEY set to a user key:
bencher run "cargo bench"
Deprecated, user API token (--token / BENCHER_API_TOKEN, a JWT): existing
tokens still work, but new ones can no longer be created. Use an API key instead.
--key and --token are mutually exclusive: supplying both is an error, even
when one comes from an environment variable. When migrating, unset
BENCHER_API_TOKEN before setting BENCHER_API_KEY.
Every bencher run accepts these project-scoping options:
| Flag | Env Var | Purpose |
|---|---|---|
--project | BENCHER_PROJECT | Project slug or UUID |
--branch | BENCHER_BRANCH | Branch name/slug/UUID (auto-created if needed) |
--testbed | BENCHER_TESTBED | Testbed name/slug/UUID (auto-created if needed) |
--host | BENCHER_HOST | API host (default: https://api.bencher.dev) |
A project key reads its own project; a user key spans all the user's projects. Query existing data:
bencher project view <project>
bencher branch list <project>
bencher report list <project>
bencher alert list <project>
bencher threshold list <project>
Use --format json on any command for machine-readable output.
Without the CLI, the same data is available through the hosted MCP server (a Bencher Plus feature): see mcp.md. The CLI remains the recommended route when it is installed.
For a README status badge that reads failing while the project has an active alert,
use , optionally with
?branch=<branch> or ?testbed=<testbed> by name, slug, or UUID, with a / in a
name encoded as %2F (public projects only).
See https://bencher.dev/docs/how-to/status-badge/
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bencherdev/bencher --plugin bencherOther plugins' skills for the same job