Getting started
Requirements
Section titled “Requirements”- Node ≥ 22 — bro runs TypeScript natively, no build step
gh, authenticated — review data comes from the GitHub APIbd(beads) — the default store. Opt out with"stores": ["jsonl"]if you must
Install
Section titled “Install”npx -y @theplenkov/bro --help # zero installnpm i -g @theplenkov/bro # or keep bro aroundWire a repo
Section titled “Wire a repo”bro setup # checks gh + bd, writes bro.config.jsonbro setup --beads # also: bd init --stealth + debt-pipeline formulabro setup --skills # also: thin skill wrappers for your agentbro.config.json is written per-clone and gitignored — store choices are
machine-local. Fresh checkouts run on defaults until set up.
First sweep
Section titled “First sweep”bro debt prs # merged PRs nobody processed yetbro debt collect # harvest threads → .agents/review-debt/ + labelsbro debt status # the damage reportbro debt next # the top open finding — claim, fix, set doneAs an agent plugin
Section titled “As an agent plugin”The repo is a plugin marketplace — one bro plugin packaged per client,
same skills and lifecycle hooks everywhere:
| Client | Install |
|---|---|
| Devin | devin plugins install ThePlenkov/bro |
| Claude Code | /plugin marketplace add ThePlenkov/bro → /plugin install bro@bro |
| Codex | codex plugin marketplace add ThePlenkov/bro → install bro |
Every adapter ships session rehydration, the review-gate stop hook, and
self-approve for bro/bd — wired through hooks/run.sh, always
fail-open.