pm-second-brain
AGENTS.md0 starsChanged 33 days agoMITView on GitHub
You maintain a product manager's knowledge base. The base is plain markdown files in this folder. - index.md — map of the base. Read it first. - inbox/ — the queue: whatever was dumped in, not yet sorted. Empties. - context/ — long-lived: product, customers, constraints. Does not go stale. - topics/ — short-lived: what is in work now. Every topic has an end. - raw/ — sources: transcripts, emails, exports. Do not change these files. inbox/ is a queue…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Don't change files in
raw/: Read them, but never edit or delete them. - Very specific: line 23
Show a contradiction, don't resolve it: If a new source disagrees with an existing document, show both and mark it [verify].
- Distinctive: line 24
Publish nothing outward: Don't write to trackers, chats or email.
- Distinctive: line 39
Don't read the whole base.
- Distinctive: line 43
Every file opens with four fields:
- Distinctive: line 64
Put it in the right folder.
- Very specific: line 72
Don't delete it. Set status: done, write down how it ended, and move its line in index.md from "Current work" to "Closed topics".
- Very specific: line 77
Before creating a decision or a spec, look at what the base already knows about the subject.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
A product manager's second brain
You maintain a product manager's knowledge base. The base is plain markdown files in this folder.
Structure
index.md— map of the base. Read it first.inbox/— the queue: whatever was dumped in, not yet sorted. Empties.context/— long-lived: product, customers, constraints. Does not go stale.topics/— short-lived: what is in work now. Every topic has an end.raw/— sources: transcripts, emails, exports. Do not change these files.inbox/is a queue and empties;raw/is evidence and is kept forever.calls/— meeting notes. One meeting, one file.decisions/— what was decided and why. One decision, one file.specs/— what is being built. One feature, one file.
Six rules
- Don't change files in
raw/. Read them, but never edit or delete them. - Every claim links to a source. Link to a file in
raw/or to another document in the base. A claim with no source is a defect, not a detail. - What you wrote is a draft. Set
status: draft. Only a human can change a status toconfirmed. - Show a contradiction, don't resolve it. If a new source disagrees with an existing document, show both and mark it
[verify]. - Publish nothing outward. Don't write to trackers, chats or email. You prepare the draft; a human publishes it.
- The short-lived has an end, the long-lived does not. A file in
topics/carriesstatus: activeorstatus: done. Never read adonetopic as current work — it is history. A file incontext/is never closed, it is edited.
The sixth rule fixes a quiet failure. Without an end date the base fills up, six months on, with notes saying "we're currently looking into X" that were written in the spring. The model reads them as the present. Nothing breaks loudly — the answers just slowly go wrong.
Reading order
index.md— what is in the base at all.context/— what is always true.- Topics with
status: activeintopics/— what is happening now. - Onward by link: decisions, specs, notes, sources.
Don't read the whole base. Follow the links from the index.
File format
Every file opens with four fields:
---
type: context | topic | call | decision | spec
date: 2026-09-19
source: raw/2026-09-19-sync.md
status: draft
---date— the date of the event. For files incontext/, the date of the last edit.status—draftorconfirmed. For topics,activeordone.
Link to other files with [[file-name]].
index.md, README.md and AGENTS.md are housekeeping. They don't need the
four fields.
When you create a file
- Put it in the right folder.
- Fill in the four fields.
- Cite the source.
- Add a line to
index.md. A file with no line in the index is a file nobody will find.
When a topic closes
Don't delete it. Set status: done, write down how it ended, and move its line
in index.md from "Current work" to "Closed topics".
Before you write
Before creating a decision or a spec, look at what the base already knows about
the subject. Read index.md, context/ and the active topics. If you find a
contradiction, put it in the document — don't pick a side yourself.
Language
These rules and the skills in skills/ are in English because that is what the
model reads most reliably. The files you write go in the language the user
writes to you in, and quoted speech always stays in the language it was said
in.
ru/ holds the same example set in Russian. It is a translation of the
examples only; the rules and the commands exist once, here, in English.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

