brain
Skill4 starsChanged 7 days agoMITView on GitHub
Optional second brain in the vault (`$VAULT`, default `~/vault`). Answers from it with [[links]], or files what the user says. Invoke on /brain, "what's open", "what did we decide", "remember this", "note this", "file this".
27 other projects use a version of this.
Adopted by
Most recently taken up by
- kevinreber/claude-code-configstheir own version, first seen Nov 29, 2026
- aidemd-mcp/servertheir own version, first seen Nov 29, 2026
- tyler-berggren/tb-claude-kittheir own version, first seen Nov 12, 2026
- jzhao234/big-braintheir own version, first seen Nov 8, 2026
- jonmagic/skillstheir own version, first seen Nov 8, 2026
- keli-wen/agy-stafftheir own version, first seen Nov 8, 2026
Used with
Projects with it also use validate and research.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Microsoft AzureSkillvalidate
Run the full CI validation workflow locally before submitting a PR. Use this as a final check to ensure all Azure DevOps CI pipeline steps will pass.
Also in 3 projects that use this
NVIDIASkillresearch
Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.
Also in 4 projects that use this
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- keli-wen/agy-staff★ 944same name
- H-mmer/pentest-agents★ 815same name
- Anantys-oss/koan★ 51same name
- henriquecaner/brain-agent★ 13same name
- Aiqbee/aiqbee-ai★ 7same name
- jonmagic/skills★ 6same name
- tonydzi/second-brain-starter-kit★ 6same name
- aidemd-mcp/server★ 4same name
- gufranco/claude-engineering-rules★ 3same name
- sarthakgoel31/claude-skills★ 3same name
17 more not listed
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.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
every fact carries its source as a [[note]] link, and a date if it can be stale.
- Distinctive: line 33
not in the vault: say "not in the vault" and stop.
“Common” is measured: kept by at least 6 in 10 of the 22 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
optional: only if the brain is installed. without it, notes live in each repo's gitignored .claude/ (playbook, references/notes.md) and this skill has nothing to do.
the vault is $VAULT if set, else ~/vault. it is the one place that knows what is open, what was decided and what the user likes. a fresh one is made from this repo's brain-template/.
first
test -d "${VAULT:-$HOME/vault}". missing: say "no vault on this machine" in one line. do not guess from memory, do not answer from general knowledge. offer setup once: copy brain-template/ to ~/vault (or a path the user names, then VAULT points there). nothing is created without their yes.
answering
read in this order, stop when the answer is found:
HOME.md, the mapnow.md, open items across every projectprojects/<repo>/<repo>.mdand<repo>-tbd.md, the repo fromgit remote -vor the one the user namesdecisions/, newest first, grep the topictaste/for anything visual or copymemory/for gotchas, machines, how people work
answer shape:
- the answer first, one to five lines.
- every fact carries its source as a
[[note]]link, and a date if it can be stale. - two notes disagree: say so, name both, say which is newer. never pick silently.
- a note about code (a bug is live, a trap exists) is checked against the code before it is repeated. the code wins, and the note gets fixed.
- not in the vault: say "not in the vault" and stop.
filing
when the user says remember, note, file, or gives a fact worth keeping:
| it is | goes to |
| a decision, what and why | decisions/YYYY-MM-DD-<slug>.md |
| a reaction to a design or copy | taste/ |
| a machine, account, infra gotcha | systems/ |
| how a person works: role, how they review | people/<name>.md |
| a project fact, plan, open item | projects/<repo>/, the hub or the tbd |
| a lesson for future sessions | memory/, with a line in MEMORY.md |
| not sure | inbox/, /dream files it later |
folders that do not exist yet are created on first use.
every note:
- frontmatter:
type,project,date,status. nothing else required.memory/keeps its own format (seememory/MEMORY.mdin the vault). - synthesis on top, rewritten when it changes. a
## timelinebelow it, append only, newest first, one dated line per entry. - links both ways. the new note links its hub, and the hub gets a line linking back.
- a unique basename. never
plan.md,log.md,notes.md: Obsidian resolves a bare[[log]]to whichever it finds first. dated notes keep their date prefix. - say where it went in one line:
filed: [[2026-01-15-drop-the-legacy-api]], linked from [[_example]].
per repo, as the work happens
cook writes these, not the user: projects/<repo>/<repo>-log.md (newest first: date, branch, what changed, what is open) and <repo>-tbd.md (checkboxes grouped by who moves next, ## cooking on top while a task is live). a repo without a folder gets one copied from projects/_example/, renamed.
never
- secrets. no keys, tokens, passwords, recovery codes, not even a prefix. a pasted secret gets "not filed, that is a secret" and nothing written.
- personal data about other people beyond work context. role, projects, how they review: yes. emails, phone numbers, private profiles, scraped lists: no.
- rewording the user's own first person lines. quote them as written.
- deleting a note. something superseded moves to
archive/with a link from what replaced it.
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.

