Skip to content
Agent Orchestration
Skill

/run-benchmark

Run skill quality benchmarks from specs/benchmarks/ definitions — N-run with/without-skill delta grading, train/validation split, pass@k + benchmark.json reports. Use before and after evolve-skill to prove quality changes are improvements, not regressions.

From plugin
bigpowers
29380 skills1 hook1 MCP

Claude Code

$ npx -y skills add danielvm-git/bigpowers --skill run-benchmark --agent claude-code

SKILL.md

run-benchmark.SKILL.md
name: run-benchmark
# story: e45s01
model: haiku
effort: standard
description: Run skill quality benchmarks from specs/benchmarks/ definitions — N-run with/without-skill delta grading, train/validation split, pass@k + benchmark.json reports. Use before and after evolve-skill to prove quality changes are improvements, not regressions.
# story: e23s02

Run Benchmark

> **HARD GATE** — Do NOT use benchmark scores to declare a skill "good" or "bad" in isolation. Benchmarks measure relative quality vs. a baseline — they catch regressions, they do not certify correctness.

Reads benchmark definitions from `specs/benchmarks/`, executes each scenario's grader with and without the skill loaded, and writes a structured `pass@k` report with delta grading that `evolve-skill` consumes.

With/Without-Skill Delta Grading

Every scenario runs N times (default 3) in two modes: **with** the skill loaded and **without** (bare agent with only CLAUDE.md). The delta `Δ = pass@k_with − pass@k_without` isolates the skill's causal contribution. A negative delta is a regression flag.

Train/Validation Split

Benchmark definitions partition scenarios into two sets:

| Set | Tag | Purpose | |-----|-----|---------| | **Train** | `split: train` | Development scenarios — used while iterating. Hitting 100% on train is expected. | | **Validation** | `split: validation` | Held-out scenarios — the real quality signal. Overfitting train while validation stagnates is a design smell. |

`pass@k` is reported separately for train and validation. Validation score is authoritative; train score is iteration guidance only.

Usage

bash scripts/run-benchmark.sh <skill-name>           # benchmark single skill
bash scripts/run-benchmark.sh --all                  # benchmark all with definitions
bash scripts/run-benchmark.sh <skill-name> --baseline # pin results as baseline

Process

1. **Locate definition** — Read `specs/benchmarks/<skill>.yaml`. If absent, stop with message.

2. **Partition scenarios** — Split by `split` field (`train` → iteration, `validation` → authoritative, default: `validation`).

3. **Run each scenario (N-run delta)** — For each scenario, run grader N times (default 3, configurable via `runs:`):

  • **Without skill:** Agent with only CLAUDE.md/CONVENTIONS.md
  • **With skill:** Agent with the skill under test active
  • Code grader: `bash -c <command>`, exit 0 → PASS. Timeout: 15s.
  • Rubric grader: yes/no per criterion, ≥ 80% yes → PASS.
  • Record: `{scenario_id: {with: [P/F,...], without: [P/F,...]}}`

4. **Calculate scores** — Per split (train, validation) and mode (with, without):

  • `pass@k = sum(weight × pass_rate) / sum(weights)` where `pass_rate = passes/runs`
  • `Δ = pass@k_with − pass@k_without` — causal contribution
  • Round to 2 decimal places

5. **Write benchmark.json** to `specs/benchmarks/reports/benchmark-<skill>.json`:

   {"skill":"survey-context","run_date":"2026-06-22","runs_per_scenario":3,"train":{"with_skill":0.92,"without_skill":0.67,"delta":0.25,"scenarios":["s01","s02"]},"validation":{"with_skill":0.83,"without_skill":0.60,"delta":0.23,"scenarios":["s03","s04","s05"]}}

6. **Write YAML report** to `specs/benchmarks/reports/BENCHMARK-<skill>-<YYYY-MM-DD>.yaml`:

   skill: survey-context
   run_date: "2026-06-22"
   runs_per_scenario: 3
   train:
     pass_at_k_with: 0.92
     pass_at_k_without: 0.67
     delta: 0.25
   validation:
     pass_at_k_with: 0.83
     pass_at_k_without: 0.60
     delta: 0.23
   scenarios:
     - id: s01
       split: train
       with_pass_rate: 1.0
       without_pass_rate: 0.67
       delta: 0.33
       weight: 1.0

7. **Baseline** (`--baseline`) — Copy to `BASELINE-<skill>.yaml` + `baseline-<skill>.json`.

8. **Compare to baseline** — `IMPROVED: Δ 0.17 → 0.25` / `REGRESSION: Δ 0.25 → 0.17 — do NOT ship` / `STABLE`.

9. **Delta threshold gate** — Validation Δ < 0.0 blocks release. Δ < 0.05 warns (marginal). Min meaningful threshold: 0.05.

Read more
@danielvm-git
Ships withbigpowers

Agent skills synthesizing 17 years of software engineering discipline — from Clean Code to AI-native architecture — into a single, prescriptive methodology for solo developers.

29380 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
293
Star history of danielvm-git/bigpowers on GitHub, a chart by star-history.com

Other skills on bigpowers.

align-grid

align-grid

Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…

assess-impact

assess-impact

Analyze the blast radius of a proposed change before any code is written. Maps dependents, affected stories, and test coverage.…

audit-code

audit-code

Self-review checklist for the coding agent to run before dispatching a reviewer. Checks CONVENTIONS.md compliance, Boy Scout…

audit-plan

audit-plan

Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY…

build-epic

build-epic

Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or…

change-request

change-request

Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories. Modes Add and…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw8d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about run-benchmark.

Which coding agents can use run-benchmark?
run-benchmark installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.