A second brain for Claude Code, and where it stops A November 7, 2026 blog post details how to build a "second brain" for Claude Code from a folder of markdown notes, a root CLAUDE.md schema and an Obsidian viewer, and where that setup stops working. Per Anthropic's memory docs, Claude Code loads the root CLAUDE.md in full at launch, subfolder CLAUDE.md files only when it reads or edits a file there, @path imports up to four hops deep, and the first 200 lines or 25KB of its auto-memory MEMORY.md, which Anthropic says is not shared across machines or cloud environments. The post argues the approach fails for teams because a teammate's agent never sees the notes and other agents such as Codex read AGENTS.md rather than CLAUDE.md, and it recommends keeping each CLAUDE.md under 200 lines and the vault in git. Blog A second brain for Claude Code, and where it stops Published: November 7, 2026 A second brain for Claude Code is usually a folder of markdown notes, often an Obsidian vault, that you start Claude Code in, with a CLAUDE.md at the root that tells it how the notes are organized. Claude reads and writes the notes; you read them in Obsidian. For one person on one machine it works well. It does not reach a teammate, another machine, or another coding agent, and that is the part this note is about. What is a Claude Code second brain? Three layers, all plain files. The notes are the markdown pages, written by you, by Claude, or both. The schema is a CLAUDE.md or AGENTS.md at the root that says where things go, how pages are named and what Claude should do with a new source. The viewer is Obsidian, which shows the same files as linked pages. Nothing needs a plugin or a server: Claude Code works on the folder with its normal file tools. It is the same shape as Karpathy's LLM wiki https://gethrbr.com/blog/karpathy-llm-wiki , which is where much of the 2026 interest came from: the agent files what it learns once, cross-links it, and answers from the pages instead of rediscovering the same facts every session. What does Claude Code load from the vault? Less than people assume, and in a fixed order. From Anthropic's memory docs https://code.claude.com/docs/en/memory : | File | When Claude gets it | Who writes it | |---|---|---| | CLAUDE.md in the folder you start in, and above it | At launch, the whole file | You | | CLAUDE.md in a subfolder | Only once Claude reads or edits a file in that subfolder | You | | A file named with @path inside a CLAUDE.md | With the file that imports it, up to four hops deep | You | | Any other note in the vault | Only if Claude decides to open it | You or Claude | | Auto memory, MEMORY.md | At launch, the first 200 lines or 25KB | Claude | So the root CLAUDE.md is the one page you can count on being read. Put the map there: the folders, what each holds, and which index page to open first. Everything else is a page Claude has to choose to read. Anthropic suggests keeping each CLAUDE.md under 200 lines; imports organize a long file but do not make it cheaper, because imported files load with it. How do I set one up? - Make the folder. Open it as a vault in Obsidian if you want to read it there, and start claude in it. - Write the root CLAUDE.md. The folder layout, a naming rule for pages, and what to do with a new source: summarize it, update the pages it touches, add a line to a log. - Keep one index page. A list of every page with one line each. Claude opens it first and decides from it what else to read. - Keep it shallow. A few top folders beat a deep tree, because Claude has to find a page before it can use it. - Put the vault in git. It gives you history, and a way to undo an edit Claude should not have made. Is auto memory already a second brain? Partly. Claude Code writes its own notes to ~/.claude/projects/