brain-anatomy
Skill0 starsChanged 11 days agoMITView on GitHub
The twelve components of an agent-operated knowledge base, each with its scaffolding default and its audit question. Use when scaffolding or auditing a vault, or when another skill needs the component anatomy.
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adopt-poolSkill
- analyze-resultsSkill
- assessment-layoutSkill
- audit-brainSkill
- critique-mcqSkill
- critique-thesisSkill
- design-courseSkill
- digestSkill
- grill-pointSkill
- init-brainSkill
- item-defectsSkill
- learning-outcomesSkill
- make-examSkill
- make-practicalSkill
- new-subjectSkill
- thai-office-filesSkill
- update-portfolioSkill
The file
Files
Knowledge Base Anatomy
Twelve components of a healthy, agent-operated knowledge base, grouped by the four jobs the vault must do: capture fast, find again, stay trustworthy, don't rot. The init-brain skill scaffolds each component; audit-brain scores each one. This file is reference only — it carries no steps of its own.
A component the user explicitly declines is recorded as declined in the vault's constitution — never silently skipped.
Capture
1. Staging inbox — a low-friction entry point that separates capturing from filing, so nothing is lost while filing decisions wait.
- Scaffold: a staging folder (default
temp/), untracked in git, named in the constitution. - Audit: does a designated inbox exist, and is it named in the constitution?
2. Role/area trees — a clear home for each kind of work the user does, so filing is a decision with a right answer.
- Scaffold: one top-level tree per role from the interview (e.g. teaching / research / admin).
- Scaffold: the destination rule inside a tree as well — which folder an imported source file lands in, and which folder its digest lands in (default:
sources/anddigests/per subject) — written into the constitution as a rule, not merely implied by whichever folders happen to exist. A tree whose internal layout is only visible by example forces every later skill to guess or ask. - Audit: does every kind of work have an unambiguous destination — and could an agent tell from the constitution alone where a new source file and its digest belong?
Findability
3. Indexes at every level — every file reachable from an index, so both human and agent navigate without scanning the whole vault.
- Scaffold: an
INDEX.mdat the root of each tree, aREADME.mdper section, each seeded with the tree's initial structure. - Scaffold: the registration rule in the constitution — which index a newly filed document is registered in, and that registering is part of filing rather than a later tidy-up. Skills that file documents carry a "register it in the index" step; without the rule written down, each one has to ask.
- Audit: sample files across trees — is each one linked from an index? Does the constitution say where a new document gets registered?
4. Gap markers — indexes distinguish exists from planned-but-unwritten, turning the vault from storage into a worklist.
- Scaffold: a marker convention (e.g. 🔴 not written / 🟢 done) documented in the constitution and used in the seeded indexes.
- Audit: can you tell from an index alone what is still missing?
5. Retrieval workflow — the vault is used, not only written to: questions get answers that cite vault files.
- Scaffold: a constitution rule — answers drawn from this vault must cite the vault files they came from.
- Audit: is there any usage-side workflow, or is the vault write-only?
Trust
6. Constitution — the rules an agent needs (destinations, naming, gates, markers) written where it will look, in a file every agent reads.
- Scaffold: a root
AGENTS.mdholding the rules, plus a one-lineCLAUDE.mdbeside it that says to readAGENTS.md—AGENTS.mdis the cross-agent name, and the pointer costs one line rather than a second copy that can drift. Mirror the pair in any tree with rules of its own (or keep the tree's rules as a section of the root file). - Audit: could an agent discover every operating rule without asking the user? An existing vault whose rules live in
CLAUDE.mdalone is present, not partial — only propose the split if the user works with more than one agent. - Audit: is it still a rules file, or has it become a manual? The constitution is loaded before the user types anything and re-sent on every turn afterwards, so length here is a tax on every session in the vault, including the ones that never touch what the long section describes. Flag any section that walks through a task step by step: procedure belongs in a skill, or in a side file the agent opens when it is doing that task. What stays is what an agent must know before it can act — destinations, naming, gates, markers, cadence.
7. Provenance gates — copyright and privacy policy written down, so what enters the vault is defensible.
- Scaffold: a policy section in the constitution from the interview: what may be stored as source files, what is digest-only with citation, and how a licence that permits redistribution is handled; which personal data must never enter, named concretely enough that a published work's byline does not read as a breach.
- Audit: do written gates exist for both copyright and personal data? Does the copyright gate say what happens to openly licensed material, and does the privacy gate name the data it is about rather than any occurrence of a name?
8. Templates — repeated document types produce uniform output.
- Scaffold:
_templates/with at least a digest template; more as the interview reveals repeated outputs. - Audit: do the vault's repeated document types have templates?
9. Automated verification — link and status integrity is checked by machine, not trust.
- Scaffold: a minimal broken-link checker in the user's shell (scan
*.mdfor relative links, report targets that don't exist — keep it small), placed in_scripts/; wired into a pre-commit hook if the vault uses git. - Audit: does a check script exist, and does it currently pass?
Maintenance
10. Shared knowledge layer — reusable general knowledge lives once, separate from instance data, so updating it is a one-place edit.
- Scaffold: a
_shared/folder with a README stating what belongs there (general reference) and what does not (instance-specific data). - Scaffold: inside it, a slot for the facts that are true of this institution and nowhere else — the scales its forms use, the standards its programmes answer to, the paperwork it requires — seeded with a gap marker where the user cannot fill it yet. A skill that needs one of these facts and does not find it either asks on every run or supplies a default from wherever it was written, which is one institution's practice arriving somewhere it was never true.
- Audit: is the same general reference duplicated across instances? And can an agent find this institution's own scales and required paperwork, or would it have to ask?
11. Review & archive cadence — dead items leave the active trees, so what remains is alive; the vault is revisited on a rhythm, not only when something breaks.
- Scaffold: an
archive/convention per tree and a review cadence (what to check, how often) recorded in the constitution. - Audit: does an archive exist? Is anything visibly stale still sitting in active trees?
12. Decision records — why the work in the vault is the way it is stays written down, so a later run reads the reason instead of asking again, or deciding the other way without knowing it had been settled. Numbered last rather than by its group so the numbers in earlier scorecards keep meaning what they meant.
- Scaffold: the rule in the constitution naming where records live at each scope — the vault's and each subject's — with the shape and defaults from the
grill-pointskill. The folders themselves are created by the first record written into them. - Audit: pick a choice in the vault that looks deliberate — an assessment format, a level, a layout — and try to find why it was made. Is the reason recorded, and does a replaced decision show 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.

