Why it matters
An agent is as good as the context it reads first.
It reads what is lying around. It cannot tell your current plan from the draft you dropped in March. If both are on disk, both are the truth.
A chat window is a bad place for the only copy of a decision.
Your vendor holds the chat, you do not. You cannot diff it, review it or quote a line of it in a meeting.
Without a file, every session pays the explaining cost again.
The cost is spread thin over everybody who works with an agent, so nobody sees it as a cost and nobody fixes it.
Without and with. Without: the context lives in three chat windows, Claude Code, Codex and Copilot, each with its own half copy of the plan, the rules and the decisions, and you explain again in every session. With: one project folder with AGENTS.md, STATUS.md and a decisions file, and the three tools and you read the same files.
What you get
Each card says how I know: "stated" is my claim from use, "by construction" follows from plain files in your repo. Nothing on this page is measured unless it says so.
Less token burn
The agent reads the right file instead of being told again. A related number, not a result of the floor plan: in my own long sessions, 85 to 98% of the token spend was overhead.
A better outcome
The agent starts from the right context, not from whatever happens to be on disk.
Works with any tool
Plain Markdown. I have driven three agent tools over the same tree. What broke were assumptions, not content: hard-coded paths, one vendor's prompts, gates that named one model family.
Nothing is hidden
A person reads the same files the agent reads. They sit in your repo, not in a vendor's memory feature.
One brief for an agent and a colleague
What briefs an agent briefs a new colleague. A file an agent reads every session breaks loudly when it is wrong, so you find out in days.
Boundaries where the agent reads
Client material, regulated data, what must not be mixed: written where the agent reads it. The limit: a written boundary is a convention, not a control.
Who reads what. One AGENTS.md in git. An agent gets what this is, the rules and where the truth is written, before it starts. A new colleague gets the same brief on the first day. A reviewer gets what the AI was told before it produced this: a commit.
What it looks like
Left, a workspace with a few projects. Right, one project opened: the skeleton from the Groundwork repo, file by file, with the question each file answers.
- The workspace: a company folder with its own AGENTS.md and a CLAUDE.md that is a one-line pointer to it, and a 50_projects folder with three projects, shop, app and data, each with its own AGENTS.md. One brain per folder. The real file is AGENTS.md; any second file is a pointer, never a copy.
- One project, opened, as in templates\skeleton: AGENTS.md: The instruction file: which file answers which question, the rules, and what stays human. CLAUDE.md: One line, @AGENTS.md, so Claude reads the same file. STATUS.md: What is true now, on one screen. DEADLINES.md: Hard dates only, the nearest first. SESSION_LOG.md: What each work session did, decided and left open. GLOSSARY.md: What a word means here. siteoffice.json: For the tools: the type, the name, the approver and how far the setup got. .gitignore: Keeps tool output (.groundwork/, _board/) out of git. 00_context\: a folder. brief.md: What this is, who it is for, who owns it and who approves. 02_roadmap\: a folder. roadmap.md: The priority order. It lives here and only here. 03_logs\: a folder. decisions.md: Why a decision was made: the reason, what else was considered, what changes. _history\: Where replaced content goes. Live files state what is true now. 04_assets\: Dated files: briefs, drafts and handovers. flows\ (added by the one loop): The plan, the gate decisions and the receipts of each job.
- One source of truth per fact. When two files disagree, say so.
Where it goes wrong
The benefits are the easy part. These are the four ways it fails, from my own workspace.
Two copies drift, and the stale one wins.
Keep one real file per folder. Make any second one a pointer to it.
Watch the pointer too.
A symlink that one tool reads can fail in another without a word. A one-line text pointer is safer.
It becomes a dumping ground.
Long is not thorough. Secondary guides say at least one popular tool cuts a long file without saying so.
It goes stale and nobody notices.
The habit that matters: say so out loud when two files disagree, instead of quietly picking one.
And the plain limit: a structure does nothing by itself. Someone keeps it. The rest, with the numbers and where they are weak, is in the essay I call them project brains.
How to start
Five steps, smallest first. Stop after any of them. The times are my estimates, not measurements.
- 1
Write the first file
about ten minutesOne project, half a page, four questions. Save it as
AGENTS.mdin the root of the repo. Replace the example with your own project.# parcel-tracker ## What this is A web app that shows customers where their parcel is. TypeScript, one Postgres database. ## Who owns it Sam owns the code and approves every release. Ask Sam before you change the database schema. ## What must never leave it Customer names, addresses and phone numbers. Never put them in a prompt, a test or an issue. ## Where the current truth is written What is true now: STATUS.md. Add each new file to this list when you make it.Does your tool read another name? Claude Code reads
CLAUDE.md. Add that file with one line,@AGENTS.md, and keep the content in one place. - 2
Test it
about five minutesOpen your coding agent in that folder and ask:
What is this project, and what must never leave it?A good answer uses your words: the project in one line, and your "never leave" line back. If it guesses from the code, it did not read the file: check the name and the place, and add the pointer. If it reads the file but stays vague, your line is vague: name the exact data.
- 3
Grow it, one file at a time
a few minutes a fileAdd a file when you feel the need, not before. Link it from the list in
AGENTS.md. This order is my suggestion; the skeleton gives none.STATUS.mdWhen you explain "where are we" at the start of a session.03_logs\decisions.mdThe first time you explain the same decision twice. A decision without its reason will be taken again.02_roadmap\roadmap.mdWhen more than one thing could be next. The priority order lives here and only here.GLOSSARY.mdWhen a word means something specific in this project.
- 4
Choose how far to go
your choiceBy hand, any tool
The file of step 1, in any repo. Add the next project when the first one has survived a week of real use.
AGENTS.mdCopy the skeleton
Copy the folder from the Groundwork repo and fill in each "to be filled". Walk through the show home first: a finished example company.
templates\skeleton and templates\molenwerkWith Groundwork
In Claude Code or Claude Desktop, say it in your own words. The setup skill asks its questions one at a time and fills the files with your answers, never with placeholder text.
"set up a project" - 5
Keep it true
a few minutes a weekLive files state what is true now. Replaced text moves to
03_logs\_history\, it is not deleted. When two files disagree, say so, then fix the one that is wrong. With Groundwork, say"run the checkup"once a week. It only reads.
Questions people ask
Where does the file go in a monorepo?
One at the root, and one in each folder that is a project of its own. Each file says what its own folder is. That is the "one brain per folder" in the picture above.
My tool reads another filename.
Keep one real file, AGENTS.md, and add the other name as a pointer. For Claude Code that is CLAUDE.md with one line: @AGENTS.md. Never keep two copies: they drift.
How long may the file be?
Start with half a page. Long is not thorough: secondary guides say some tools cut a long file without telling you. Mine totalled about 80 KB across 22 files, counted on 7 August 2026, in one operator's workspace.
What about secrets and client material?
Write the boundary in the file: what must never leave this folder. That is a convention, not a control. Nothing in a Markdown file stops an agent. In Claude Code, the site rules of Groundwork use a hook to block sends, and deletes without a named person.
Does this work without Groundwork?
Yes. It is plain Markdown that any agent reads. Codex, Cursor, Copilot, Gemini CLI and VS Code read AGENTS.md without being told. Groundwork adds the setup questions, the weekly check-up and the record of each job.
Does it work for a team?
The file is in git, so everyone reads the same one. My numbers come from one operator, and I have not tested it at a large team's rate of change. When a second person needs the record, SiteOffice Team hosts the same folder rules. It is coming.
A question that is not here? Mail info@zerononsense.dev or open an issue on GitHub.
Claude drafted this page from my essays and the Groundwork files. The claims and the mistakes are mine.
