Originally published as a Technical Brief on dalby.md.
A second brain is a personal collection of notes you can search and build on. Obsidian stores one as plain Markdown files, so Claude Code can file and link your notes the way it edits code. Follow one inbox note to see what that involves.
The idea
Obsidian is a note-taking app, free for personal and commercial use. Obsidian licence Its vault is an ordinary folder of Markdown files, and Obsidian refreshes when another program changes them. How Obsidian stores data Notes link to each other with wikilinks, a note's name in double brackets such as [[Project Atlas]], and can carry properties, such as a status, at the top of the file. Obsidian links · Obsidian properties
Claude Code is Anthropic's AI coding assistant. Started in a folder, it reads and edits the files there, and by default it asks before it changes a file or runs a command. Claude Code permissions
The running example: after a meeting you paste rough notes into Inbox/2026-12-04 standup.md and ask Claude Code to "file today's inbox". It should move the decisions into Projects/Atlas.md with a link back, and set the inbox note's status property to filed:
## Decisions - 2026-12-04: Ship the login fix on Friday. Source: [[2026-12-04 standup]] Where you meet it
Andrej Karpathy called the idea an LLM wiki in April 2026: an AI model keeps your notes up to date as you add sources. Karpathy's LLM wiki idea Claude Code in an Obsidian vault is one way to try it: Claude Code edits the files, and Obsidian shows the result.
Your rules go in CLAUDE.md
At the start of each session, Claude Code reads a file called CLAUDE.md in the folder where it starts. Claude Code memory In a vault, that is where your filing rules go:
# Vault rules - New material arrives in Inbox/. File it into one note under Projects/. - Link with [[wikilinks]] to existing notes; never create a second note for the same project. - Set `status: filed` on an inbox note once its content is filed. Never delete a note. These rules are not enforced. Anthropic's documentation says Claude Code reads them as context, "not enforced configuration". Claude Code memory "Never delete a note" is a request; what protects your notes is your approval of each edit, or a backup.
Your notes are sent to Anthropic to be processed
Claude Code runs on your computer, but the AI model runs on Anthropic's servers: Claude Code sends your request and the note text it reads there, and gets the changes back. Claude Code data usage Treat every note it reads as sent. How long Anthropic keeps that text, and whether it trains on it, depends on your plan and settings, so check them before you start. Keep notes you would not send in folders where you don't start Claude Code.
What to try first
Copy a few real notes into a new vault and run git init in it, so every change can be reviewed and undone. Write a CLAUDE.md with two or three rules, ask Claude Code to file one inbox note, and check the result in Obsidian: are the links where you expected, and did anything change that you did not ask for? Approve each edit until the proposals are the ones you would have made.
Sources checked on 4 December 2026.
AI Disclosure
Researched and drafted with AI assistance, then reviewed by Søren Dalby. Sources are linked; errors may remain, and corrections are welcome.
