The plan is done. Every invite state is covered.
No command run. No output shown.
$ python3 machine.py check 05-state-machines.md Invite: 1 moves, 2 problem(s) PROBLEM end state 'expired' is not in the table PROBLEM stored value 'expired' has no row in the table machine problems: 2
Drag the line, or pick a skill.
Plan it. Build it. Hunt the bugs. With proof at every step.
Four skills that run a whole job from start to finish. A script owns every number, so the agent never grades its own work.
npx skills add uditgoenka/ubenchWorks with
Tested end to end in Claude Code and Codex. The others install with npx skills add.
Sponsored by
01
Every claim ends in a printed line.
These lines came from the scripts, not from the agent. Most were printed while this site was built.
climb.py
Keeps the score
$ climb.py try ubench-wrap KEPT step 2: 0.
gates.py
Owns the word done
$ gates.py run GATES.md FAILED G5 exit 1
machine.py
Finds holes in state
Invite: 1 moves, 2 problem(s) machine problems: 2
scan.py
Reads the shape of code
PROBLEM deep_nesting shape problems: 3
ui.py
Scores the screen
ui problems: 0 ui score: 100/100
02
What the agent says. What the script prints.
Turn the checks off to see the claim alone. Turn them on to see what stops it.
All done. Everything passes.
gates.py Runs every gate itself. The turn cannot end while one gate is open.
No check ran. The claim stands.
I changed the test so it passes.
hook.py Blocks the edit. A locked check changes only with relock and a written reason.
No check ran. The claim stands.
Every state is covered.
machine.py PROBLEM end state 'expired' is not in the table
No check ran. The claim stands.
This version is cleaner.
climb.py UNDONE step 1: 5 is not better than 2.
No check ran. The claim stands.
The structure is clean.
arch.py Checks the layer table against the real imports and counts each crossing.
No check ran. The claim stands.
The screen looks finished.
ui.py Scores the screen source out of 100. Below 100, the slice is not done.
No check ran. The claim stands.
03
Four skills. Each one has fixed phases.
Give a skill one sentence. It walks its phases in order and stops only when its script says so.
Plan
Turns an idea into a checked plan folder before any code exists.
/ubench-plan add team invites with roles and an expiry date- Discover
- Grill and design
- Verify and hand off
Build
Builds the plan test-first, in thin slices, until a locked score hits its target.
/ubench-build ubench-plan/01-team-invites- Orient
- Build slices
- Prove
- Clean
- Review
- Finish
Hunt
Finds state bugs and race bugs in a repo you already have, then fixes each cause.
/ubench-bug-hunter the checkout and refund flow- Scope and map
- Hunt
- Reproduce
- Deep checks
- Fix
- Record and loop
Convert
Moves a tangled codebase to a sound structure, asking you before each phase.
/ubench-convert this repo: untangle the modules and cut dead code- Evaluate
- Plan
- Build
04
A worse idea does not survive.
The build skill locks a check and watches it fail. Then each idea is one step. A better score stays. A worse score is rolled back.
- The check is locked before any code.
- Step 1 made the score worse, so it was undone.
- Step 2 reached the target. Only then is the work done.
Climb invites started on branch climb/invites. Baseline 2, bar 0 (min). UNDONE step 1: 5 is not better than 2. worse idea KEPT step 2: 0. send the invite email DONE: best 0 reached the bar 0.
05
Start where you are.
Pick the line that fits today.
/ubench-planGet a checked plan folder before any code exists.You have a plan/ubench-buildBuild it test-first until a locked score reaches its target.Something is broken/ubench-bug-hunterFind state bugs and race bugs, then fix each cause with proof.The repo is tangled/ubench-convertMove it to a sound structure, one approved phase at a time.06
Why the proof holds.
Six rules. A script enforces each one.
- 01
A script owns the number
The agent never types a score. climb.py runs the check and reads the number from its output.
- 02
Red first
Every change starts with a check that you saw fail. A check that never failed proves nothing.
- 03
Locks stay locked
hook.py blocks an edit to a locked check. A change needs relock and a written reason.
- 04
A loss is undone
A step that makes the score worse is rolled back. After three losses the run says STUCK.
- 05
State is a table
Each stateful thing gets one table. machine.py counts the holes before any code is written.
- 06
Done is a ledger
gates.py runs each gate and writes the proof line itself. The turn cannot end while a gate is open.
07
Measured on a real rebuild
One private production app was rebuilt with this method. Every finding went into one table. A script counted the rows.
493
findings logged
One row per finding. The table was kept for 16 days.
409
marked fixed
83 of every 100 logged findings.
298
fixed with a score that reached 0
The row holds the score line. This is a lower bound.
195
marked verified, merged or deployed
The stronger mark on a fixed row.
08
Install in three steps.
Pick one way to install. Do not mix a plugin with the script: the hooks would run twice.
- 1
Install the skills
Choose your agent.
/plugin marketplace add uditgoenka/ubench /plugin install ubench@ubenchYou get the four skills and both hooks. Plugin skills carry the plugin name, so you type /ubench:ubench-plan.
- 2
Give one sentence
Say what you want. The plan skill asks the rest.
/ubench-plan add team invites with roles and an expiry date - 3
Read the proof
The run ends with a line that a script printed.
DONE: best 0 reached the bar 0.
Common questions
Try it on your next feature
Install, then give the plan skill one sentence about what you want.
/ubench-plan add a weekly summary email for team admins