AI Second Brain: The One I Run My Consultancy On
What an AI second brain is, how it beats chat memory, and the plain-markdown setup I run my consultancy on, with a template to copy.

Contents
The bit to remember
- An AI second brain is a folder of notes written for an AI assistant to read, so every new session starts with your context instead of a blank page.
- For one person or a small business, plain markdown files and a good index are enough, and a vector database only starts to pay off once you’re into thousands of documents.
- One instruction file called AGENTS.md is read by Codex, Cursor, Gemini CLI and many other AI tools, and Claude Code can import it with one line, so the same brain works across all of them.
- The parts that matter most are boring: a table of contents, a short “what’s active right now” file, and one fact kept in one place.
- Built-in chat memory is handy, but it lives inside one app and partly decides for itself what to keep, while a second brain you own is portable and fully editable.
Summarize with AI
Every new AI chat starts with amnesia. You explain who the client is, how they like things written, which tool not to touch because it costs real money, and twenty minutes later you have a decent draft and a strong sense of déjà vu.
In July 2026 I got tired of that and built an AI second brain for Chateau Mojo. This guide explains what an AI second brain is, how it differs from a classic notes system and from chat memory, and how mine is actually laid out, with the real folder structure, the house rules file, and a template you can copy this afternoon.
What is an AI second brain?
An AI second brain is a set of notes written for an AI assistant to read, holding what you know about your work, so every session starts with your context instead of from zero. In practice it’s usually a folder of plain text files plus one instruction file that tells the AI how to find its way around.
The term comes from Tiago Forte, whose Building a Second Brain method describes “an external, centralized, digital repository for the things you learn and the resources from which they come.” That version was built for you to reread later. The AI version changes who the main reader is, because the notes are written so a model can load them, follow them and keep them up to date. (If you came here for the gut, which also gets called the second brain, you’re in the wrong article, though I hear it’s lovely in there.)
Andrej Karpathy gave the AI-first version a clear shape earlier this year with his LLM Wiki idea file. The AI writes and maintains “a persistent, compounding artifact” of linked markdown pages, and you stay “in charge of sourcing, exploration, and asking the right questions.” His one-line summary is still the best one going: “Obsidian is the IDE; the LLM is the programmer; the wiki is the codebase.”
Second brain, AI second brain and chat memory compared
All three remember things for you, but they differ on who writes the notes, who reads them and who’s in control.
| Question | Classic second brain | AI second brain | Built-in chat memory |
|---|---|---|---|
| Who writes it | You | You and the AI | The AI app |
| Main reader | You | The AI first, you second | The AI app |
| Where it lives | A notes app | A folder you control | Inside one vendor’s account |
| Can you see and edit all of it? | Yes | Yes | Partly |
| Works across AI tools | Not really | Yes, if it’s plain text | No |
| Best for | Personal knowledge and ideas | Repeat work with rules, clients and context | Light personal preferences |
Chat memory is the one people confuse with a second brain. OpenAI’s own help page on ChatGPT memory says that information drawn from your chat history “can change as ChatGPT updates what is most useful to remember.” That’s fine for remembering you like metric units. It’s a shaky place to keep the rule that a client never wants a certain word on their website.
Do you need a vector database or RAG?
Most people don’t. Embeddings, chunking and vector databases (the RAG stack) make sense for a company searching ten thousand PDFs, but they’re usually overkill for one person or a small business.
Today’s AI agents can open files on their own. Anthropic’s engineering team calls this “just in time” context: agents “maintain lightweight identifiers (file paths, stored queries, web links, etc.) and use these references to dynamically load data into context at runtime.” Karpathy reports the same thing from the other side, saying a plain index.md catalog “works surprisingly well at moderate scale (~100 sources, ~hundreds of pages) and avoids the need for embedding-based RAG infrastructure.”
My own brain has over 500 markdown notes and no vector database. The AI reads the table of contents, follows the file paths it needs, and leaves the rest alone. I’d only add proper search once the folder runs into the thousands of documents, holds mostly scanned PDFs, or gets queried by a whole team at once.
Use cases for an AI second brain
An AI second brain pays off anywhere you keep feeding the same context to an AI, and the most common setups look like this.
| Who | What goes in the brain | What the AI does with it |
|---|---|---|
| Consultants and agencies | One folder per client: voice guide, contacts, offers, banned words, meeting points | Drafts in each client’s voice and follows each client’s rules without a briefing |
| Founders and small businesses | Offers, pricing rules, SOPs, common customer questions, brand voice | Answers emails, writes proposals and onboards new hires from the same facts |
| Writers and content creators | Voice guide, past pieces, research notes, ideas backlog | Drafts that sound like you and don’t repeat what you’ve already published |
| Sales and account managers | Account notes, call summaries, objections and answers | Preps you for a call in a minute and drafts the follow-up |
| Researchers and students | Papers, summaries, an evolving thesis | Connects sources and flags where new reading contradicts old notes |
| Personal life | Goals, reading notes, projects, routines | Plans your week around what you said matters |
Karpathy’s own list covers similar ground, from personal goals and research to reading a book chapter by chapter. Most of these start the same way, with one folder, one rules file and one index.
The AI second brain I run Chateau Mojo on
I call the system mojo-os, and the part that does the remembering is a folder called brain. It started as a git repository on 8 July 2026. Three months later it holds about 520 markdown notes, a folder for each of my 11 clients, and just over 30 skills (saved, repeatable workflows the AI can run). Claude reads it in Claude Desktop and Claude Code, and OpenAI’s Codex reads the same files. I’m not a developer, for what it’s worth, and the whole thing runs from a folder on a Windows computer.
With client names swapped out, the folder looks like this:
brain/
├── AGENTS.md house rules every AI reads first
├── CLAUDE.md one line: @AGENTS.md
├── index.md table of contents, one line per area
├── hot.md what's active right now
├── agency/
│ ├── brand/ my brand voice guide
│ ├── content-standards/ AI search structure, writing tells to avoid, doc styling
│ ├── tools/_index.md which tool wins for which job
│ └── seo-ai-first-principles.md
├── clients/
│ ├── registry.yaml maps a name, nickname or domain to a folder
│ └── client-a/
│ ├── AGENTS.md this client's rules and guardrails
│ ├── brand/ overview and voice guide
│ ├── reference/ contacts, offers, baselines
│ ├── meetings/ the important points from each call
│ └── _drive.md pointer to finished work in Google Drive
├── reporting/registry.yaml analytics settings per client
├── skills/ Claude workflows
├── .agents/skills/ Codex workflows
└── templates/client-template/ copy this to add a client| File | What it does | Why it earns its place |
|---|---|---|
| AGENTS.md | House rules and the session start routine | The one file every AI reads before doing anything |
| CLAUDE.md | Imports AGENTS.md with one line | Claude and Codex share one set of rules instead of two that drift apart |
| index.md | One line per client and area | The AI reads one page, then opens only what it needs |
| hot.md | Current priorities, deadlines and open issues, all dated | Stops every session from rebuilding “where are we?” from scratch |
| clients/registry.yaml | Maps every name, nickname and domain to a folder and a reading order | The AI never has to guess which client someone means |
| clients/*/AGENTS.md | That client’s voice and hard guardrails | Client rules sit next to client work and win over agency rules |
| agency/tools/_index.md | Which tool to use for which job, plus cost rules | Keeps the AI away from the API that bills per call unless I ask |
| skills/ | Saved workflows (monthly reports, meeting notes, this article’s writing process) | A good chat becomes a repeatable process instead of a lucky one |
If you use more than one AI tool, the CLAUDE.md line saves you from keeping two rule books. By default, Claude Code reads AGENTS.md only when there’s no CLAUDE.md in the folder, but a CLAUDE.md that contains @AGENTS.md pulls the shared file in. Mine is literally that line plus a comment, so Claude and Codex follow exactly the same rules.
The client folders work because of how AGENTS.md files nest. The AGENTS.md format says agents “automatically read the nearest file in the directory tree, so the closest one takes precedence.” So when the AI is working inside a client folder, that client’s rules sit closest and win, which is exactly how I want it.
The session start routine in my real AGENTS.md reads, word for word:
## Session start contract (do this before any client work)
1. Read `index.md`.
2. Read `hot.md`.
3. Resolve the client in `clients/registry.yaml`.
4. Read that client's files in its `read_first` order.
5. Then read the client's `AGENTS.md` in full.
If you cannot reach these files, stop and say so. Never answer client questions
from memory of an earlier chat.The last line stops the AI from bluffing with half-remembered details from an older chat when it should be reading the current notes.
What changed after three months
The biggest change is that new sessions start warm. I no longer open a chat by re-explaining a client’s voice, contacts or banned words, because the AI reads that client’s files and gets on with the job. The AI doesn’t get bored of rereading the house rules either, which already makes it a better listener than most of us.
I also run one brain across several AIs. Claude and Codex read the same AGENTS.md, the same client folders and the same standards. Codex keeps its own skills folder, because the two tools can’t read each other’s skill files, and a short README tracks which skills exist on each side so they stay in step.
There are fewer wrong-client mistakes, too. One first name in my client list belongs to contacts at three different clients, so a meeting with “that person” could easily end up filed under the wrong account. The registry now says it in plain words: never resolve a client from that name alone, and use the email domain or the meeting title instead. The AI checks that rule before it files anything, so I don’t have to remember it.
The brain also tells on itself when it goes stale. A weekly housekeeping routine refreshes hot.md from recent meeting notes and marks anything that hasn’t moved, so an item reads “a month old, no update since” instead of quietly passing as current. Karpathy calls this kind of check “lint,” which is a much more polite word than I’d use for some of my old notes.
How to build an AI second brain in an afternoon
You don’t need my whole setup on day one. A useful AI second brain can start with three files and grow from there.
- One folder: Make one folder of plain markdown files. Plain text works with every AI tool and every editor. You can open it in Obsidian if you want a nicer way to browse, and put it under git or a synced drive so you have a history of changes.
- House rules: Write an AGENTS.md file. Say who you are, what’s in the folder, your working rules, and what the AI should read before it starts. Keep it tight, because Claude Code’s own docs suggest a target of “under 200 lines” for this kind of file.
- Table of contents: Add an index.md file. Give it one line per area, client or project, with the folder path. This is the page the AI uses to decide what to open.
- Current focus: Add a hot.md file. Write five to ten lines on what’s live right now, and put a date on each item so stale ones are easy to spot.
- Client folders: Give each client or project its own folder. Put a small AGENTS.md inside with that client’s rules, voice notes and anything the AI must never do.
- Connect your AI: Claude Code, Codex, Cursor and Gemini CLI can all open the folder directly. If you use Claude Code alongside other tools, add a CLAUDE.md containing
@AGENTS.md. - Check it loads: Start a fresh chat in the folder and ask, “What are the house rules for this folder? Quote the first one.” If the AI can’t quote it word for word, it isn’t reading your AGENTS.md.
- Weekly sweep: Ask the AI to update hot.md, flag notes that look out of date, and file anything durable from the week’s work.
Copy this AGENTS.md starter
Here’s a starter AGENTS.md you can paste in and fill out:
# [Your business] - second brain (house rules)
This folder is the brain: plain markdown notes the AI reads before working.
Finished deliverables live in [Google Drive / Dropbox], not here.
## Session start
1. Read `index.md`.
2. Read `hot.md`.
3. If the task is about a client or project, open its folder and read its AGENTS.md in full.
If you can't reach these files, stop and say so. Never answer from memory of an earlier chat.
## How this folder is organized
- `index.md` - table of contents, one line per area.
- `hot.md` - what's active right now. Dated items.
- `clients/<name>/` - one folder per client. Their rules live in their AGENTS.md.
- `standards/` - how I write, format and check work.
## Rules
- One fact in one place. Link to it instead of copying it.
- Keep files small and single-topic. Filenames lowercase-with-dashes.
- When you learn something durable, propose where to file it.
- Never change a client rule without asking me first.
- Never store passwords, API keys or payment details in these notes.Or let the AI draft it with you
If writing about yourself feels awkward, let the AI interview you first. Paste this into Claude or ChatGPT:
I'm setting up an AI second brain: a folder of markdown notes that AI tools
read before working with me. Interview me one question at a time to draft
three files: AGENTS.md (who I am, how I work, my rules), index.md (one line
per area of my work) and hot.md (what's active right now, with dates).
Ask about my business, my clients or projects, the tools I use, the mistakes
AI keeps making with my work, and anything it must never do. When you have
enough, write all three files in full. Keep AGENTS.md under 150 lines.An AI second brain for a business or team
A team brain works the same way as a personal one, but it needs owners, review and access rules, because more people can now change what the AI believes. Karpathy describes the business version as “an internal wiki maintained by LLMs, fed by Slack threads, meeting transcripts, project documents, customer calls,” and adds “possibly with humans in the loop reviewing updates.” I’d drop the “possibly.”
- Shared standards first: Start with the material everyone needs, such as brand voice, product facts, pricing rules and SOPs. These pay off on day one and don’t contain anything too sensitive.
- One owner per folder: Each folder gets a named person who approves changes. The AI can propose an edit, but a person signs off.
- Split by sensitivity: Keep HR, finance and client contracts in separate folders (or separate brains) with their own access, instead of one giant folder everyone’s AI can read.
- Feed it from real work: Meeting notes, support tickets and project updates are the best inputs. I pull the important points from client calls into each client’s folder, rather than whole transcripts, so the brain stays short.
- Use review for changes: A git repository on GitHub or similar gives every change a history and lets a teammate approve edits before they reach everyone.
At enterprise scale, with thousands of documents and strict permissions, this is where proper search and the RAG stack start to earn their keep. If your company already pays for an AI platform with built-in search, check what it covers before you build from scratch.
Which tools work best for an AI second brain?
The best tool is whichever one keeps your notes in a format every AI can read. That’s why I lean toward plain markdown in a folder, even though there are polished apps that will do more of the filing for you.
| Option | Good for | Watch out for |
|---|---|---|
| Plain folder of markdown, browsed in Obsidian | Owning your notes, using several AI tools, keeping a full history | You set up the structure yourself |
| Notion | Teams already working in Notion, easy sharing | Your notes live in Notion’s format, and AI access goes through its connectors |
| AI-first note apps that capture automatically | People who want filing done for them | Your notes sit on the vendor’s servers, in their structure |
| Chat memory in ChatGPT or Claude | Small personal preferences | Limited visibility and no portability between tools |
On the AI side, any agent that can read files will work. The AGENTS.md site says the format is used by over 60,000 open-source projects and lists Codex, Cursor, Gemini CLI, GitHub Copilot’s coding agent and Jules among the tools that read it. It’s also now stewarded by the Agentic AI Foundation under the Linux Foundation, so it isn’t one company’s pet format.
Syncing and sharing your second brain
A brain that lives on one laptop is only useful on that laptop. You have three common ways to sync it across devices and share it with other people.
| Option | Good for | Watch out for |
|---|---|---|
| Obsidian Sync | Syncing across devices, and small teams sharing one vault | Every collaborator needs a subscription, all collaborators get the same permissions, and there’s no live co-editing |
| Dropbox, OneDrive or Google Drive | Using a service you already pay for | Two devices editing the same file can leave “conflicted copy” duplicates the AI will happily read |
| Git with GitHub or GitLab | Full history, reviewing changes, teams | A learning curve, though the Obsidian Git community plugin hides most of it |
Obsidian Sync supports shared vaults for up to 20 collaborators. Two limits matter for teams: “Fine-grained permissions are not supported yet,” and “Obsidian does not yet support collaborative live editing on the same file.” Its end-to-end encryption is a strong point for client data, and Obsidian says plainly that “We can’t read your data.”
Mine lives in a OneDrive folder with git on top for history. If you mix a cloud-sync folder with git the same way, edit from one device at a time, and check for conflicted copies before you trust what the AI read.
Connecting your second brain to other tools with MCP and Composio
The brain holds what you know, and connections to your other apps let the AI act on it: read your calendar, pull meeting notes, check analytics, and file the results back into the right folder.
Most of those connections now run on the Model Context Protocol (MCP), an open standard that Anthropic created and donated to the Agentic AI Foundation in December 2025, alongside AGENTS.md. An MCP server is a small connector that lets an AI tool use another app, and Claude, Cursor and many other AI tools can use them. There are also community-built MCP servers for Obsidian that let an AI search and edit a vault from apps that can’t open a folder directly.
Connecting apps one by one gets tedious, which is where gateways like Composio come in. Composio says it “finds the right actions across 1,500+ apps, connects each app in a click, and keeps connections working as those apps change,” and it handles the sign-ins (OAuth, API keys, token refresh) for you. I’ve tried a few gateways while building mojo-os, and here’s how I’d judge one:
- Security record: A gateway holds the keys to every app you connect, so check its security history and certifications before you connect anything sensitive.
- Read-only by default: Give the AI read access first, and add write access only for the actions you actually need.
- One rule file for tools: My brain has a tools index that says which connector to use for which job, and which ones cost money per call. Without it, the AI picks whatever looks convenient.
In my setup, a meeting-notes connector and the client registry work together. The AI pulls new call notes, matches each one to a client through the registry, and files the important points into that client’s folder for me to check.
Where AI second brains go wrong
Most failures come from treating the brain like an attic, and these are the ones I’ve designed around.
- Saving everything: More notes don’t mean better answers. Anthropic’s guide on context engineering describes context rot, where “as the number of tokens in the context window increases, the model’s ability to accurately recall information from that context decreases.” Small, single-topic files and an index keep the AI reading only what it needs.
- Letting notes go stale: An out-of-date note is worse than no note, because the AI will trust it. Date your entries and run the weekly sweep.
- Putting secrets in the notes: Passwords, API keys and payment details don’t belong in a folder an AI reads and a sync service copies. Keep credentials in each tool’s own settings.
- Forgetting where client data goes: Know which drive syncs the folder and what your AI plan does with the files it reads before you add client details.
- Mixing drafts in with knowledge: Finished deliverables clutter the brain fast. My client folders keep a one-line pointer to the Google Drive folder and nothing more.
- Letting the AI rewrite the rules: My house rules say “Never silently rewrite a client guardrail. Propose it, do not apply it.” The AI can suggest a change, but I make the call.
Why an SEO consultant cares about any of this
An AI can only use what it can read and trust. That’s true of my second brain, and it’s just as true of how ChatGPT, Gemini or Google’s AI answers decide which business to name when your buyer asks for a recommendation.
The habits overlap almost completely: clear structure, one fact in one place, pages that say plainly who you are and what you do, and information that stays current. Building mojo-os taught me as much about getting a brand cited by AI as any client audit has, and the same thinking runs through my AI search optimization services. If you want to know whether AI assistants already mention your business, start with an AI visibility audit, or read my guide to llms.txt for one more file AI crawlers may look for.
FAQ
What is the second brain in AI?
A second brain in AI is a store of your own notes, rules and context that an AI assistant reads before it works, so it doesn’t start each chat from nothing. It’s usually a folder of markdown files with an instruction file such as AGENTS.md on top.
What is the best tool for building a second brain?
For an AI second brain, the best tool is a plain folder of markdown files, because every major AI agent can read it and you keep full control. Obsidian is a good way to browse that folder, and Notion or AI-first note apps work if you’re happy to keep your notes in their format.
How do I build a second brain using AI?
Start with one folder and three files: AGENTS.md for your rules, index.md as a table of contents, and hot.md for what’s active now. Then give each client or project its own folder and point Claude Code, Codex or another file-reading agent at it.
Can I use Claude as a second brain?
Yes. Claude Code and Claude Desktop can read a folder of notes, and Claude Code loads a CLAUDE.md file at the start of every session. If you also use other AI tools, put your rules in AGENTS.md and add a CLAUDE.md that contains @AGENTS.md.
Is Obsidian good for an AI second brain?
Yes, because an Obsidian vault is just a folder of plain markdown files that any AI agent can read. Obsidian gives you the browsing, links and graph view, and the AI does the reading and writing in the same files.
What is Karpathy’s LLM Wiki?
The LLM Wiki is an idea file Andrej Karpathy published in 2026 describing a knowledge base the AI writes and maintains as linked markdown pages. It has three layers (raw sources, the wiki and a schema file such as CLAUDE.md or AGENTS.md) and three operations he calls ingest, query and lint.
Can a team share an AI second brain?
Yes. A team can share one brain through Obsidian Sync shared vaults, a shared cloud folder, or a git repository. Give each folder an owner, review AI-proposed changes before they go live, and keep sensitive material in separate folders with their own access.
How do I sync my second brain between devices?
The simplest options are Obsidian Sync, which is end-to-end encrypted, or a folder in Dropbox, OneDrive or Google Drive. Add git if you want a full history of every change.
What is Composio and do I need it?
Composio is a gateway that connects AI tools to more than 1,500 apps and handles the sign-ins for you. You don’t need it to start, because a second brain works with plain files, but it saves time once you want the AI to read and act in many apps.
Is it safe to put client information in an AI second brain?
It can be, if you control where the folder lives and what your AI plan does with the data it reads. Keep passwords and payment details out entirely, and check your AI provider’s data settings before adding client details.




