A second brain my AI can read
Long before AI, I was meticulous about notes. Not for the sake of it: writing things down meant less to hold in my head while I worked.
The goal was instant recall. Everything is shortcut-driven from the keyboard in Neovim. I find a note by its hub or tag in a couple of keystrokes, and keep it open in a pane beside whatever I am working on. Or I search every note for any word with ripgrep, and the results are back almost instantly. Backlinks do the rest. On a spike or anything research-heavy, linking small notes together, the Zettelkasten way, surfaced connections I would never have noticed on my own.
With AI, I write fewer notes by hand. I still write early, to get my thoughts down, but filing, tagging and cross-linking are now almost entirely automated.
The bigger change is who reads them. An agent only knows what is in front of it. When my notes are one index away, it looks the answer up itself instead of asking me what is true or what I meant. It also skips a round of searching other tools to find out, which means fewer tokens and less noise in its context.
This post is how my setup works, and how to copy the parts that matter without copying all of it.
Two systems, one rule
Everything that comes up goes to one of two places. Something to know goes to my notes. Something to do goes to Apple Reminders.
The rule matters more than the tools. Notes that fill up with checkboxes and due dates stop being notes, and an AI reading them cannot tell a fact from a chore. So the vault holds knowledge only, and the instructions in it say so: anything that smells like task tracking is routed to Reminders.
The vault
The notes live in an Obsidian vault, a folder of Markdown files synced through iCloud. I edit them in Neovim most of the time, and in the Obsidian app on my phone.
It follows the Zettelkasten idea: small notes with one idea each, linked to each other, rather than long documents.
| Folder | What goes in it |
|---|---|
Notes-Inbox/ |
Raw captures, in any shape |
Notes/<hub>/ |
Filed notes, one idea each |
Notes-Meta/ |
One empty file per tag, so backlinks group notes |
Projects/<name>/ |
A folder per bounded effort, with its own context |
index.md |
One line per note: the map of everything |
AGENTS.md |
The rules any agent follows when it works in the vault |
Every filed note starts with the same front matter:
---
date:
- 2026-11-22
state: living
hubs:
- fact
tags:
- "[[macos]]"
urls:
- https://example.com/source
---
A hub is the drawer a note lives in, and each note has exactly one.
A tag is a topic it shares with other notes, one to three of them.
state says whether the note must stay true (living) or is a snapshot of one day (frozen), which tells the AI whether to double-check it before quoting it.
How a note moves
Capturing has to be faster than not capturing, or it does not happen. So there are several ways in, and they all land in the same place: the inbox.
These are the ways in I use:
| Where | How |
|---|---|
| Neovim start screen | S starts a new note, i opens the inbox, R reviews it |
| Any Neovim buffer | <leader>zN creates an inbox note from the template |
| iPhone | The Obsidian app, on the same iCloud folder |
| An agent session | /sb-chat-capture turns something it explained into a note |
| A work branch | /sb-ticket-capture writes the ticket up as a note |
Filing is the step I hand to AI.
/sb-ingest-raw turns pasted links and screenshots into short notes, and /sb-ingest-mine checks the notes I wrote myself.
Either way it proposes a hub and tags from the ones that already exist, and I say yes or pick another.
It never invents a new tag without asking, because a tag only one note uses links nothing.
Once a note is filed, it gets a line in index.md.
That one file is what makes the rest work.
Finding things again is a few keys in Neovim: <leader>zh and <leader>zt pick notes by hub or tag, <leader>zl follows a link, and <leader>zb shows every note that links back.
Tasks: Reminders, synced to the terminal
Tasks live in Apple Reminders, because Reminders is everywhere I am. I can add one from my Watch while walking, check it off on my phone, and see it on my Mac.
At my desk, though, I live in a terminal.
There I use tuxedo, a terminal app for a plain-text todo.txt file.
A small background job keeps the two in step.
tasks-sync runs every five minutes.
It reads Reminders through Apple’s EventKit, compares both sides with what it saw last time, and copies over whatever changed.
A task I add in tuxedo shows up on my Watch, and one I add on my Watch shows up in tuxedo.
It skips repeating reminders, so they are not copied again on every pass, and it refuses to delete more than a handful of tasks in one go without asking first.
None of this touches the vault. That is the point of the rule: tasks churn every day, and notes should not.
Where AI comes in
When I start an AI session, the vault comes with it.
My launcher adds the vault folder to the session, and the vault’s AGENTS.md tells the agent how to search it.
The search order runs from cheapest to most expensive:
My personal index is about 7 KB. The notes it describes are about 120 KB. Reading the map first means the agent opens one or two notes instead of all of them, and often never needs step four at all.
Two rules keep this honest. The code wins: if a note says how something works today and the code disagrees, the agent trusts the code and tells me the note is stale. And frozen notes are quoted with their date, so a decision from last year is never presented as today’s.
At work I keep a second vault, so work and personal notes never mix. A helper picks the right vault from the folder I am in, and when I open a branch named after a ticket, the session starts by reading that ticket’s note. The note grows as I work, and freezes when the change ships.
Copying it
You do not need any of my scripts to get most of the value. This is the part worth copying:
- Make a folder of Markdown files. Obsidian is a good editor for it, but any editor works.
- Add an inbox. Capture there without deciding where anything goes.
- Keep an index. One line per note, kept current. Ask your AI to update it whenever it files a note.
- Write the rules down. An
AGENTS.mdat the top of the folder that says: read the index first, one idea per note, tasks do not belong here. - Point your agent at it. Start the agent in that folder, or add the folder to its session.
- Put tasks somewhere else. Anything with a due date goes to a task app you can reach from your phone.
Start with that and file a few notes a week. The keybindings and sync jobs came much later, once the habit stuck.