WHAT UNO KNOWS
Instruction files
An AGENTS.md file tells Uno how your project works: how to build it, how to test it, what to avoid. Uno reads it at the start of every session.
IN ONE LINEWrite the things you would tell a new teammate on day one. Commit it. Every agent that reads
AGENTS.md benefits.The rules
- In each folder,
AGENTS.mdis read;CLAUDE.mdis read only where there is noAGENTS.md. Existing Claude Code projects work on day one. - Uno looks in your config folder, then each folder from the repository root down to where you started it.
- Instruction files load without
uno trust: they are text, and everything they lead to is still checked.
A good AGENTS.md
# my-app
## Build and test
- `pnpm i` once; `pnpm test` for unit tests; `pnpm test:e2e` needs Docker.
- Lint with `pnpm lint --fix` before you say you are done.
## Conventions
- TypeScript strict. No default exports.
- API handlers live in src/api/<resource>.ts, one file per resource.
- Dates are always UTC ISO strings; use src/lib/time.ts, never `new Date()` directly.
## Don't
- Don't touch src/generated/: it is rebuilt by `pnpm codegen`.
- Don't add dependencies without asking.
Short and specific beats long and general. "Run pnpm test" is worth more than "write good tests".
Use cases
Stop repeating yourself
If you have told Uno the same thing twice, it belongs in AGENTS.md.
uno -p "write an AGENTS.md for this repo from what you can see"Personal habits everywhere
Your own preferences, in every project, in your config folder.
~/.config/uno/AGENTS.mdDESIGN DECISION · D10, M14, M15
AGENTS.md is the name every major harness reads, so it is primary. The instructions go in the first user message rather than the system prompt: the system prompt then never varies between projects, which keeps it cached everywhere.