Browse / Second brain / second_brain_template
second_brain_template
killian31
A setup kit your AI agent follows to build you a second brain: a markdown knowledge vault agents read before they work and write to when they are done.
Open killian31/second_brain_template → Does not match the four rules.
Works with any agent
ships AGENTS.md, the cross-tool instruction file.
In its own words
A second brain is a folder of small, linked markdown notes about you and your work. Your AI agent reads it when a session starts and adds to it when a task ends, so you stop re-explaining yourself in every new conversation.
This repo is a setup kit. You hand it to your agent, which asks you a few questions and builds the vault in a folder you choose. There is nothing to clone or fill in yourself.
Paste this to any agent that can read and write files on your machine (Claude Code, the Claude desktop app, Codex, Gemini CLI, Cursor):
[!important] If you are an AI agent and were asked to set up a second brain from this repo, open
SETUP.mdand follow it. It is an interview followed by a menu of options, so run it with the user and ask the questions.
Why
A new agent session knows nothing. The preference you stated last week and the decision you made on Tuesday are gone unless you paste them in again.
Vendor memory features help, but each one lives inside one product. A folder of markdown files works with every agent that can read a file, and you can read it and back it up yourself.
How it works
Notes are plain markdown, and the vault needs no database and no particular app. Git is optional. Obsidian is optional too, and nice if you want to look at the graph.
Quoting 25% of the README. Read the rest on GitHub ↗
Read from the repository's git tree on 2026-08-17.