What ai-devkit Gives You
- One-shot workbench bootstrap —
init.wbcreates a private workbench repo from theai-workbenchtemplate, wires CODEOWNERS, registers code repos, renders manifests. - Collaborator onboarding —
join.wb <url>clones the workbench, appends the joiner to CODEOWNERS, registers any extra repos they bring. - Template refresh —
update.wbpulls template-owned skill / config updates without touching your authored outputs. - Org list management —
orgs.wb(list/add/remove/show) keeps a machine-local GitHub org list. The org hosting your devkit checkout is auto-included. - Preflight hygiene — both
init.wbandjoin.wbverify required CLIs, confirm the activeghaccount, and offer switch / login flows before touching remote resources. - Per-repo domain context —
init.wb/join.wbauto-build acontext/<name>/CONTEXT.mdfor every registered source repo, plus an aggregatecontext/README.md. Recover failed scans withwb.rescan. See Repo Context Scan. - ai-ralph bootstrap — on first run per machine, devkit clones and installs
ai-ralph, then scopesralph-enableto the new workbench only (never into sibling service repos).
Three Repos, One Story
| Repo | Role |
|---|---|
ai-devkit |
Global CLI. Provides init.wb, join.wb, update.wb, orgs.wb. |
ai-workbench |
Template. gh repo create --template stamps an instance per bundle. |
ai-ralph |
Autonomous AI loop (Claude Code, Devin, Codex). Enabled per workbench. |
Quick Paths
- Install the CLI? Start at Getting started.
- Command reference? See Commands.
- Manage GitHub orgs? See Orgs.
- Stay current? See Versioning + upgrades for
devkit.upgrade,ralph.upgrade,wb.upgrade, anddevkit doctor. - Curious about the auto-built
context/dir? See Repo Context Scan for the scan model, frontmatter schema, andwb.rescanrecovery.
Typical Flow
install.zsh → registers init.wb / join.wb / update.wb / orgs.wb globally
init.wb → preflight → create wb-<label> repo → clone code repos → render manifests → ralph-enable
join.wb <url> → preflight → clone workbench → add joiner to CODEOWNERS → register extra repos
update.wb → pull template-owned updates into existing workbench
orgs.wb add <slug> → expand machine-local GitHub org menu
License
See repo license files.