1. Stack
2. Project map
3. Commands
Exact commands matter most: agents guess when you leave them out. Leave a field empty to omit it.
4. Conventions
5. "Done means" checklist
6. Safety rules
Your AGENTS.md
Edit the output directly if you like; changing the form regenerates it. Claude Code reads CLAUDE.md; Codex, Cursor, Copilot agent and OpenClaw read AGENTS.md.