agenttrail
AGENTS.md716 starsChanged 3 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
when you mark a task [~], add an indented by: <your name> line under it (claude, codex, cursor, …) and leave it there when done — it is the …
- Very specific: line 14
before ending a session, graduate your plan-worthy completed todos into PLAN.md as [x] tasks (with by:) — housekeeping todos stay out of …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
<!-- agenttrail -->agenttrail plan convention
Maintain PLAN.md as the living plan. It is read by the project OWNER, not by you — write it for them.
- nodes are COMPONENTS of the system being built (
## Plain-language name {#id}), not phases or sprints; keep the map at 5-9 components regardless of repo size — grow tasks, not cards, and split a component only when one agent could no longer own it for a session - naming rule: titles are verb-led, plain-language, and CONCRETE — the owner can tell when it is done ("Read alerts out loud", "Watch the repo"). Never engineer-speak ("fs watcher + activity signal") and never vague vibes ("Decide what matters"); put the engineer phrasing on a
tech:line under the heading - tasks inside a component:
- [ ] Plain outcome {#id}, optional indentedtech:line beneath; mark a task[~]BEFORE you start it and save PLAN.md immediately — this drives the live in-progress view; flip it to[x]the moment it completes,[!]if stuck (clear once unblocked). Never batch plan updates for the end of the session - when you mark a task
[~], add an indentedby: <your name>line under it (claude, codex, cursor, …) and leave it there when done — it is the record of who did what - edges under a component heading:
needs: [id, id]= must come after those components;links: [id, id]= interconnected with / talks to files: [src/audio/**, config.py]under a component declares which paths it owns — keep it current; it is how the live view knows which component you are really working in, including when you revisit finished work{#id}s are stable — never rename, only add or remove nodes- open tasks carry an indented
from:line naming their provenance —from: agentwhen YOU are declaring it as your own imminent build intent (the owner corrects these on sight if wrong),from: roadmapwhen it comes from planning documents (durable intent, backloggable); omit when neither - new work NEVER creates a component by default: it lands as your session todos plus tasks under the component whose files it touches. Add a NEW component only when the system grows a durable new part. Durable is not a prediction — test it NOW: something else already depends on it (load-bearing), deleting it would change what the product does, you can name a plausible second task for it, and it owns files no component claims. Record the addition under
## decisions. Time corrects mistakes cheaply: merge a card back into its neighbor if no second change ever comes; promote a task to a card when work keeps clustering in files its siblings never touch. Remove a component only when that part is deleted from the product - before ending a session, graduate your plan-worthy completed todos into PLAN.md as
[x]tasks (withby:) — housekeeping todos stay out of the plan - record any plan-affecting decision under
## decisionsBEFORE implementing it
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.

