brain-template
CLAUDE.md2 starsChanged 12 days agoMITView on GitHub
No local/ folder here? Then this is a copy of the template that someone wants as their own brain, not a session developing the template: run brain-setup and ignore the rest of this file. Speak plainly; the person may not know git or a terminal (docs/guides/start-here.md). This folder is the template, not a brain: brain.json has role: template and prefix template. README.md says what the template is; this file says how to work on it. - brain-* skills are the…
In this repository10 other files it gives its agents.
- brain-retroSkill
- brain-setupSkill
- brain-syncSkill
- brain-upstreamSkill
- brain-write-modSkill
- brain-write-practiceSkill
- brain-write-scriptSkill
- brain-write-skillSkill
- template-intakeSkill
- template-make-brainSkill
The file
Files
Brain template (for sessions working on the template)
No local/ folder here? Then this is a copy of the template that someone wants as their own
brain, not a session developing the template: run brain-setup and ignore the rest of this file.
Speak plainly; the person may not know git or a terminal (docs/guides/start-here.md).
This folder is the template, not a brain: brain.json has role: template and prefix template.
README.md says what the template is; this file says how to work on it.
brain-*skills are the product. They ship to every brain, and are edited here, directly, throughbrain-write-skill. This file has no managed block, and the template's.claude/settings.jsonwires the skill gate, so a write to a skill file is refused untilbrain-write-skillhas run. Edit skills withbrain-write-skill, scripts withbrain-write-script.template-*skills never ship.template-make-brainandtemplate-intakework on the template and stay in it. A new skill asks first: does it ship (brain-*) or stay (template-*)?- Shipped means copied into brains:
_meta/**and.claude/skills/brain-*/**, plus the managed blocks and the skeleton in_meta/skeleton/. Everything else here is template-only: this file,README.md,brain.json,tests/,docs/,local/, and the public repo'sLICENSE,CONTRIBUTING.md,SECURITY.md,CODE_OF_CONDUCT.mdand.github/(initremoves them all from a copy;_meta/LICENSEcarries the licence into every brain). Skeleton files that are dotfiles or sit under.claude/are stored renamed (gitignore,env.example,claude-settings.json,mcp.json). - Run the test suite before committing:
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -t . -v. Then_meta/brain doctor(it needslocal/and the pre-commit hook:_meta/brain hook install). - Nothing specific to where the template came from goes in a tracked file: no organisation,
product, system or person from the brains it was distilled from, and no absolute home path.
tests/test_origin.pyscans every tracked file againstlocal/origin-terms.txt(ignored, so the terms are never written down in the repo). Write for any brain. local/is never committed. It holds notes,origin-terms.txtandbrains.txt(the brains made from this checkout, one absolute path per line, whichtemplate-intakereads).- Brains get changes through
update, which reads the latest commit and not the working tree. A change brains should receive gets a_meta/CHANGELOG.mdentry; one that answers an upstream suggestion cites its id (- landed: <id> — <summary>or- declined: <id> — <reason>). - Before publishing the template, set
template.sourceinbrain.jsonto the published URL, soinitin a clone of it starts a fresh history and never keeps the template asorigin. - Commit through
brain-sync. Subjects aremeta(<area>),skill(<name>),docs(<area>)ortest(<area>). Never push unless asked.
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.

