My agents write notes too. One rule keeps them usable
My agents write many of the notes in my vault now, and I wanted notes we can both rely on.
The best rule I have given my agents is to write atomic notes. Each note in my Obsidian vault holds one idea and states it in the first line. I can act on it at a glance, and an agent like Claude Code can find it and trust it. Notes outgrow their size limits, so a hook now flags them.
What one looks like
This is a real note, trimmed:
# Agent shells don't inherit your terminal's env
**A variable you `export` in your terminal after starting an agent
never reaches the agent's commands.** Each tool call runs in a fresh
child shell that only sees the environment the agent launched with.
## Why it matters
- An export made before launching does reach it, which makes the
broken flow look like it works sometimes.
The answer comes first, the note holds one idea, and anything else gets its own note and a link. Agents already lean on notes like this: in one side project, they opened my notes on its subject 42 times.
The rule my agents follow
My vault’s agent instructions send every note under Research/ to one rules file. Here is its core, unchanged apart from punctuation:
- One idea per note: if the title needs “and”, split into linked notes.
- Lead with the answer: the first line after frontmatter states the decision, conclusion, or definition.
- Link, don’t inline: secondary context becomes a linked note, not a new section.
- No research journey: capture the destination, not the path you took to get there.
- Self-contained: readable without source material or conversation context.
- Write in your own words: synthesis, not transcription.
Each note also has a type with a size limit:
| Type | Max lines | Structure |
|---|---|---|
| Concept | ~40 | Definition, why it matters, related links |
| Comparison | ~60 | Context line, one table, verdict, sources |
| Decision | ~80 | Decision, requirements, comparison table, sources |
| Guide | ~200 | Summary line, self-contained sections, sources |
The rule is about the reader, and agents are the most literal readers I have. Without it, they write the research journey: what they tried, in order, with the answer near the bottom. With it, they write the destination.
Where it came from
None of this is mine. Atomic notes come from the Zettelkasten method, which I met through Tris at No Boilerplate. His two videos on capture and processing combine it with task management into what he calls the FLAP system: fleeting, literature, atomic, and project notes. He takes the atomic part from Bob Doto’s A System for Writing. His video on the good parts of Obsidian taught me to link notes through properties, not just folders.
The drift
Rules drift. Of my 362 atomic notes, 64 have outgrown their size limit, about one in six, counting lines below the frontmatter. Notes grow one useful addition at a time, and nobody splits them. The capture half of FLAP never took: no note in the vault carries a fleeting or literature tag. My agents write atomic notes directly and skip the stages before.
Checks didn’t hold it back. A hook inspected frontmatter after each write, but it never looked at length and didn’t run on the Mac at all. A review command could flag oversized notes, but only when I ran it, and I hadn’t. Now the hook counts lines too: when an agent saves an atomic note over its limit, the agent gets a warning to split it. An audit is a claim too, as I learned when one miscounted my orphaned notes, so I ran the new check against every note first. It flags the same 64. The oversized notes still lead with their answer, so they stay usable until someone splits them.
Where it ended up
Mitigated. Atomic notes give me notes I can act on and give my agents a memory they can trust. One in six has outgrown its limit, and the hook now flags each one as it is edited, so drift no longer piles up unseen.
