Sponsor60dB Token FactoryUnlimited tokens. One flat price.Buy seats
ubenchby @iuditgGitHub

Docs

Reference

Everything ubench needs is Python 3 and git. The scripts use the standard library only.

Install

Pick one way.

Claude Code

/plugin marketplace add uditgoenka/ubench
/plugin install ubench@ubench
You get the four skills and both hooks. Plugin skills carry the plugin name, so you type /ubench:ubench-plan.

Codex

codex plugin marketplace add uditgoenka/ubench
codex plugin add ubench@ubench
You get the four skills. The hooks are tested in Codex only through the install script.

npx

npx skills add uditgoenka/ubench
Copies the four skill folders into the agent you pick. No hooks.

Script

git clone https://github.com/uditgoenka/ubench && cd ubench && ./install.sh
Copies the skills to ~/.claude/skills and ~/.codex/skills and adds two hooks. Your settings are backed up first.

Other agents that read SKILL.md folders can load the skills too, for example with npx skills add uditgoenka/ubench -a opencode.

Update and remove

WayUpdateRemove
Claude Code pluginclaude plugin update ubench@ubenchclaude plugin uninstall ubench@ubench
Codex plugincodex plugin marketplace upgradecodex plugin remove ubench@ubench
npxnpx skills updatenpx skills remove
Scriptgit pull && ./install.sh./install.sh uninstall

The nine scripts

Each skill ships its own copy. When a tool a skill names is missing, the skill installs it with the package manager your repo already uses.

climb.py

Keeps the score. Locks the check, keeps a win, undoes a loss, and says STUCK after three losses.

gates.py

The done ledger. Runs each gate and writes the proof line itself.

tracker.py

Makes run folders and tracks tasks and bugs. A bug cannot be fixed without proof fields.

machine.py

Checks state tables for holes and writes a starter model for the model checker.

arch.py

Checks the layer table against the real imports.

scan.py

Reads touched files for hard-to-read shape, and the repo for security holes and leaked keys.

ui.py

Scores screen source out of 100, twice: React health and a generated look.

hook.py

Stops a turn from ending while gates are open, and blocks edits to a locked check.

star.py

Asks once if you want to star ubench. It stars only after your yes.

Hooks

Two hooks come with the Claude Code plugin and the install script. One stops a turn from ending while gates are open. The other blocks edits to a locked check. Without them the skills still work.

Files on disk

  • ubench-plan/NN-slug/: one numbered folder per plan, with Tasks.md and GATES.md.
  • ubench-bug-hunter/NN-slug/bugs.csv: one row per bug, with proof fields.
  • .ubench/active: the ledgers the hooks guard. The hooks stay silent until a run lists one here.
  • ~/.ubench/: remembers your answer to the one-time star question.

Silencing a false alarm

The two screen scans must read 100. When one flags something that is fine, add a comment with ubench-ignore: REASON on that line. Every ignore is counted in the report.

Repo layout

skills/<name>/SKILL.md        the phases
skills/<name>/references/     detail, loaded on demand
skills/<name>/scripts/        the nine scripts
shared/                       the one master copy of shared files
scripts/sync.py               copies shared/ into each skill
scripts/check.py              the repo's own check