brain-setup
Skill2 starsChanged 12 days agoMITView on GitHub
Set up or repair this brain: in a copy of the template that was never set up, check the computer, offer a quick setup or a thorough interview, pick the brain's shape (one project, several, a large one, or a hub of brains), rehearse and turn it into a brain (init); in a brain, explain what is here, run doctor and fix what it reports, work hand-offs from other brains, remove the template's guides, set up or decline an online backup, and run update. Use when someone says set this up, grill me, when doctor reports a BLOCK, to back the brain up, or to update from the template. Does NOT create or adopt a brain from the template, which is template-make-brain in a template session, and does NOT write domain skills, which is brain-write-skill.
- Reads credentials
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Phygital-Brain/phygital-braintheir own version, first seen Nov 15, 2026
- mindmuxai/brain.mdtheir own version, first seen Oct 25, 2026
- RumbleJack56/skillstheir own version, first seen Oct 20, 2026
- VGBRO/claude-skillstheir own version, first seen Oct 11, 2026
- cerebrocybersolutions/librotheir own version, first seen Oct 4, 2026
- katharinaecke/second-brain-starter-kittheir own version, first seen Aug 14, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- mindmuxai/brain.md★ 709same name
- katharinaecke/second-brain-starter-kit★ 3same name
- RumbleJack56/skills★ 2same name
- zenianielsen/founder-os★ 2same name
- cerebrocybersolutions/libro★ 1same name
- Phygital-Brain/phygital-brain★ 1same name
- VGBRO/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- brain-retroSkill
- brain-syncSkill
- brain-upstreamSkill
- brain-write-modSkill
- brain-write-practiceSkill
- brain-write-scriptSkill
- brain-write-skillSkill
- template-intakeSkill
- template-make-brainSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 2 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Read brain.json role, and look for a local/ folder at the root:
- Distinctive: line 35
Run these yourself and handle each in plain words before any question about the brain:
- Distinctive: line 49
Quick or thorough: Ask: "I can set this up in a few minutes with sensible defaults, or interview you first, about 10 to 15 minutes, so the …
- Very specific: line 54
The shape: Read references/shapes.md.
- Very specific: line 86
Commit what this step wrote through brain-sync.
- Very specific: line 95
When init refuses, say why in plain words and do the fix with them: changes not yet saved → show them and ask whether to keep or throw them …
- Very specific: line 102
Read references/backup.md and follow it with the person: gh if it is there, else a private, empty repository made on github.com.
- Very specific: line 108
Explain what is here: when asked, in a few lines: brain.json (name, prefix, template version).
- Very specific: line 119
Hand-offs from other brains: wait in docs/INBOX.md, and the session-start check names them.
- Very specific: line 120
Read each out; on a yes, work it through the routing map like any request, then set its status to done (or declined: <reason>) and commit …
- Very specific: line 124
Remove the template's guides: when asked: git rm -r docs/guides docs/images docs/reference, take their lines out of docs/README.md, and …
- Very specific: line 133
Commit pending work first, through brain-sync, so the update's commit holds only the update.
- Very specific: line 136
If it refuses over a local edit to a template-owned file, hand that to brain-upstream first.
- Very specific: line 150
Update: the dry run was shown, update ran on a yes, doctor --quick shows no BLOCK, and the change is handed to brain-sync.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
brain-setup
Setup is one short conversation and the harness does the rest. The person may never have used git or a terminal: decide what you can, ask only what only they know, say what each step does in plain words, and run every command yourself. Never ask them to type a command or edit a file you can.
Where this sits
<!-- where:begin — generated by _meta/brain routing sync; do not edit -->Runs after: nothing — an entry point into the tree.
Hand to next: brain-retro · brain-sync · brain-write-practice · brain-write-script · brain-write-skill
<!-- where:end -->Call it directly when: someone says "set this up", doctor reports a BLOCK, the person wants an
online backup, or the template's latest improvements; nothing needs to run first.
Which mode
Read brain.json role, and look for a local/ folder at the root:
roleistemplate, nolocal/: a copy of the template never set up (a download, a clone, a "Use this template" repository). Take the copy route. Only if the person says they want to develop the template itself do they createlocal/instead.roleistemplatewithlocal/: the template's own checkout. Never runinithere.- Anything else: a brain. Go to "In a brain".
0. Check the computer first
Run these yourself and handle each in plain words before any question about the brain:
python3 --version(3.9 or newer) andgit --version. Missing on a Mac: runxcode-select --installand tell them a box will offer to install the developer tools: click Install and wait. On Linux: the package manager, with their password typed by them. On Windows outside WSL: stop, and say a brain needs WSL there._meta/brainnot executable (a download can lose that):chmod +x _meta/brain.git config --global user.nameanduser.email. If either is empty, ask: "What name and email should label the brain's saved history? They stay on this computer unless you back it up online." Set both withgit config --globalon their answer. A setting in this folder alone is lost wheninitstarts the fresh history.
The copy route
- Quick or thorough. Ask: "I can set this up in a few minutes with sensible defaults, or
interview you first, about 10 to 15 minutes, so the brain starts out knowing your goals, your
systems and how you work. Which would you like?" For the interview ("grill me"), read
references/interview.mdand run it now: its answers feed every step below. Quick is not a lesser brain: everything the interview would record can be added later, as the work shows it. - The shape. Read
references/shapes.md. From the interview, or from what they asked for, pick one: a single project, several projects, a large brain with several kinds of work, or a hub that routes work to other brains. Say it in one line ("your site will live insite/inside the brain"); ask only when it is unclear. A brain with no projects yet is a single-project brain whose project comes later. - Work out, don't quiz. Take the name and the one-line description from what they asked for,
and ask only if it is unclear. Derive the prefix yourself (2 to 16 lowercase letters or digits,
starting with a letter, never
brainortemplate: "Home Lab" →lab) and say only "its routines will be calledlab-…". - Ask about privacy: "Is there anything that must never be saved in this brain's history:
server names, addresses, client or customer names, unreleased project names? Say them as you
would write them. Never a password." Each answer is one
--privateterm, as written; it matches in any case as a whole word. An address range or a family of names becomes onere:pattern you write (re:\b192\.168\.1\.\d{1,3}\b) and explain. Setup refuses a term under 3 characters, one that looks like a pattern withoutre:, and one that matches the brain's own name: say why, and adjust it with them. Tell them to keep their own copy of the list: it lives only on this computer. - Ask about the guides: "The template comes with guides on setting up and growing a brain, with
pictures. Keep them in the brain for now? I can remove them whenever you like." Yes adds
--keep-guides; they stay indocs/guides/,docs/images/anddocs/reference/until asked. - Rehearse:
_meta/brain init --name "N" --prefix P --description "D" --private "TERM" --dry-run, one--privateper term, plus--keep-guideson a yes. It changes nothing. Summarise it: it removes the template's own instructions, tests and GitHub files (they are for people developing the template), adds the brain's starter files and saves the first version; say whether the history starts fresh. - On a yes, run it without
--dry-run. It writes the brain, installs the safety check on saving (the pre-commit hook) and makes the first commit. Then_meta/brain doctor; fix any BLOCK withreferences/doctor.md. - Lay out the shape as
references/shapes.mdsays: folders, projects cloned in on a yes, theCLAUDE.mdfolder map,brains addfor a hub. After an interview, write itsCLAUDE.mdsections, then offer its hand-offs one at a time, in the orderreferences/interview.mdgives: glossary terms tobrain-write-practice, each system tobrain-write-script, recurring work tobrain-retroas unclassified rows, a first routine or a hub's routing skill tobrain-write-skill. Commit what this step wrote throughbrain-sync. - Ask about a backup once: "Do you want an online backup copy? It needs a free GitHub account."
Yes: "Online backup" below. No: set
brain.json"backup": "local"and commit it throughbrain-sync, so the session-start check stops asking. - Hand over: tell them to start a new chat in this same folder now (desktop app: the folder
picker beside the environment selector, "Open folder…"), and to start every chat here: Claude
Code reads the brain's settings, so its safety checks, only from the folder a chat starts in, and
a chat inside a project folder misses them. Offer three things to say first, from
README.md.
When init refuses, say why in plain words and do the fix with them: changes not yet saved → show
them and ask whether to keep or throw them away (never discard yourself); commits only in this copy
→ explain they would be lost, and save them elsewhere first on a yes. Terms go to .brain-private
only; never copy one into a tracked file.
Online backup
Read references/backup.md and follow it with the person: gh if it is there, else a private,
empty repository made on github.com. They sign in in their own browser; never ask for a password
or token, and never type one for them.
In a brain
Explain what is here when asked, in a few lines: brain.json (name, prefix, template version);
_meta/brain routing show (entry points, skills nothing routes to); its own skills next to the
brain-* ones; open rows in docs/RETRO-LOG.md; docs/UNCLASSIFIED-LOG.md (a kind seen twice is a
skill waiting to be written); open suggestions from _meta/brain upstream list.
Run _meta/brain doctor (--quick skips the script tests, nested repos and the network). Fix
every BLOCK; offer a fix for each WARN in plain words and make it on a yes; read
references/doctor.md for the fix to each line. Then run it again. Every session starts with
doctor --brief, which prints only WARN and BLOCK lines: when it printed any, tell the person what
each means and offer the fix.
Hand-offs from other brains wait in docs/INBOX.md, and the session-start check names them.
Read each out; on a yes, work it through the routing map like any request, then set its status to
done (or declined: <reason>) and commit through brain-sync. A brain never writes into another:
a hub hands work over with _meta/brain brains handoff, which writes only that inbox.
Remove the template's guides when asked: git rm -r docs/guides docs/images docs/reference, take
their lines out of docs/README.md, and commit through brain-sync. The latest guides stay online
at brain.json template.source.
Change shape or add a project with references/shapes.md: a new project is cloned into the
brain on a yes and gets a folder-map line; a project is never moved without a yes.
Update from the template
- Commit pending work first, through
brain-sync, so the update's commit holds only the update. _meta/brain update --dry-run. The source isbrain.jsontemplate.source, orbrain.local.jsonon this machine; pass--from <path or URL>if it moved. Show the person what it brings.- If it refuses over a local edit to a template-owned file, hand that to
brain-upstreamfirst. - On a yes,
_meta/brain update, then_meta/brain doctor --quick. Skeleton files it reports as changed are the brain's own now: show the difference; merge it on a yes, or not. - Hand to
brain-sync, which commits it alone asmeta(brain): update template to <version>and marks the answered suggestions.updatenever commits.
Done when
- Copy route: the computer check passed; the person chose quick or the interview, and heard the
shape in one line; they saw the rehearsal and said yes;
initmade the first commit; the shape's folders andCLAUDE.mdlines are written and committed; every interview hand-off was offered;doctorshows no BLOCK; backup is set up or recorded as local; they know to start every chat in this folder. - In a brain:
doctorshows no BLOCK, and each WARN is fixed or the person chose to leave it. - Update: the dry run was shown,
updateran on a yes,doctor --quickshows no BLOCK, and the change is handed tobrain-sync. - Nothing was deleted, restored or untracked without a yes, and no
.envvalue was read or printed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

