HOW-TO GUIDE
How to build a compiled second brain in Claude Code with one prompt
Based on a post by Kurt (@0xkurt) on X · Nov 28, 2026
You'll end with: A folder with raw, wiki, and output folders, one wiki page per project, person, tool, and decision, an index, and a short brief after each compile.
Why it's worth having: Each new file updates every page it touches and flags conflicts, numbers and dates are quoted with their source file, and answers get checked against raw files.
At a glance
WHO IT'S FOR
Engineers, document controllers, and operations staff who keep project notes and source files in one folder.
LEVEL
Beginner
COST
Free. The prompt runs in Claude Code on your own plan.
YOU NEED
Claude Code · A folder of notes and source files
The method, in short
- 1Keep sources untouched in raw/, have Claude write one page per project, person, tool, and decision in wiki/, and put builds in output/.
- 2On each new raw/ file, update every page it touches, link pages with wikilinks, and flag anything that contradicts an older page.
- 3Copy numbers, dates, prices, and terms word for word with their raw/ file, and answer from the wiki, then grep raw/ to confirm.
- 4Keep wiki/index.md to one line per page, put the rules at the top of CLAUDE.md, and test on the 3 newest files in raw/.
Read the full guide from @0xkurt on X
The post has the full nine-step prompt to paste into Claude Code.
Credit: Kurt (@0xkurt) on X