Individual skill

bench

Formal benchmark harness. Runs a metric command N times across 2-3 variants (git refs or state-prep shell commands), checks variance, computes delta vs. declared baseline, and emits a reproducible TSV plus a one-paragraph summary. Read-only to source. Inspired by caveman's 3-arm eval.

skills/bench/SKILL.md

Read pinned source

Source commit 18bfc31d669804856ba232f04cdbd172afbdc379

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
28
Repository last updated
Aug 28, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

## Activate When
- `/godmode:bench`, "benchmark", "compare variants", "A/B metric"
- User has a metric and wants a statistically-honest comparison between 2-3 code states
- NOT for optimization loops — use `optimize` for that. `bench` measures, never modifies source.

## Inputs
Ask once, cache for the session:
- `metric_cmd` — shell command printing ONE number to stdout (lower-is-better or higher-is-better, user declares `direction`).
- `variants` — list of 2-3 entries. Each variant is a record:
  - `name` — short label (e.g. `main`, `terse_on`, `feature_branch`)
  - `prep` — EITHER a git ref (`git checkout <ref>`) OR an inline shell command that puts the repo into the desired state (e.g. `export GODMODE_TERSE=1`, `git checkout feature-branch`)
  - `teardown` — optional shell command to undo `prep` (default: `git checkout -` for refs, `unset VAR` for env)
- `baseline` — name of the variant all deltas are computed against. Must match one `variants[].name`.
- `N` — runs per variant. Default 5. Minimum 3. Maximum 20.
Back to top