Brain · Patterns library
Patterns library
Steal a working pattern from your other repos instead of inventing it again. Cross-repo pattern library - patterns, anti-patterns, errors, decisions shared across 2+ repos, plus single-repo candidates ready to promote.
See it in motion
Where to find it
- Desktop:
http://localhost:4000/, then Brain → Patterns library in the sidebar. - Keyboard: ⌘ K, then type “Patterns library”.
- API:
GET /api/playbooks
What it does for you
If you've solved it in repo A, it shows up in repo B.The aggregator scans every tracked repo's patterns/anti-patterns/errors/decisions and surfaces the ones that appear in 2+ repos. The shared list is your team's actual playbook.
Single-repo candidates queued for promotion.When a pattern exists in only one repo but feels universal, it shows up in a Candidates panel. Pick a repo to adopt it and the dashboard opens a PR that appends the pattern to that repo's brain file. Once the PR merges the pattern lives in two repos and counts as shared.
Each entry links back to its source repos.Every shared playbook row carries the brain file and an excerpt from each repo it appears in. You see which repos share the move and how each one phrased it.
Configure
Nothing - pulled from .claude/brain/patterns.md, anti-patterns.md, errors.md, decisions.md across every tracked repo. Match heuristic: same kind plus normalized-title match.
Use it well
Open at the start of any new repo. Skim the shared list - most of your scaffolding decisions are already made. Adopt by reference (link to the playbook entry from the new repo's CLAUDE.md) rather than copying the prose.