AgentStack
SKILL verified MIT Self-run

Run Benchmark

skill-danielvm-git-bigpowers-run-benchmark · by danielvm-git

Run skill quality benchmarks from specs/benchmarks/ definitions and write pass@k reports. Use before and after evolve-skill to prove quality changes are improvements, not regressions.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-danielvm-git-bigpowers-run-benchmark

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Are you the author of Run Benchmark? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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, and writes a structured pass@k report that evolve-skill consumes.

Usage

# Benchmark a single skill
run-benchmark 

# Benchmark all skills with definitions
run-benchmark --all

# Pin current results as baseline
run-benchmark  --baseline

Process

  1. Locate definition — Read specs/benchmarks/.yaml. If absent, report: "No benchmark definition found for . Create specs/benchmarks/.yaml first." and stop.
  1. Run each scenario — For each scenario in scenarios[]:
  • Code grader: Run grader.command in repo root via bash -c. Exit 0 → PASS. Non-zero → FAIL. Timeout: 15 seconds.
  • Rubric grader: Present each criterion to the agent as a yes/no question about the scenario output. ≥ 80% yes → PASS, else FAIL.
  1. Calculate pass@kpass@k = sum(weight of PASS scenarios) / sum(all weights). Round to 2 decimal places.
  1. Write report to specs/benchmarks/reports/BENCHMARK--.yaml:
skill: survey-context
run_date: "2026-06-22"
pass_at_k: 0.83
total_scenarios: 3
passed: 2
failed: 1
scenarios:
  - id: s01
    name: "detects active epic from state.yaml"
    result: PASS
    weight: 1.0
  - id: s02
    name: "reads release-plan.yaml and reports next epic"
    result: PASS
    weight: 1.0
  - id: s03
    name: "handles missing state.yaml gracefully"
    result: FAIL
    weight: 0.5
    failure_note: "crashed instead of suggesting state.yaml creation"
  1. Baseline mode (--baseline) — Copy the report to specs/benchmarks/reports/BASELINE-.yaml. This is the reference point for regression checks in evolve-skill.
  1. Compare to baseline — If a BASELINE-.yaml exists, compare pass_at_k. Report:
  • IMPROVED: 0.67 → 0.83
  • REGRESSION: 0.83 → 0.67 — do NOT ship this change
  • STABLE: 0.83 = 0.83

Verify

→ verify: test -f run-benchmark/SKILL.md && grep -q 'pass_at_k\|pass.at.k' run-benchmark/SKILL.md && echo OK || echo FAIL

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.