AGENTS.md: what Codex CLI reads, and where it goes
This page says two things: what AGENTS.md reads, according to its official documentation (linked below), and what the stationhold command writes to the repository.
The command that writes it
npx @stationhold/cli@latest add verify --harness=agents-mdWhat Codex CLI reads
AGENTS.md, at the repository root: the shared convention, which Codex CLI reads.- It is stationhold’s fallback: a tool without a dedicated adapter gets this file.
Tools that read it differently, or not at all
- Gemini CLI reads
GEMINI.md; it only readsAGENTS.mdif you declare it insettings.json. - Zed takes the first file of its conventions list, and
AGENTS.mdcomes after.rulesand.cursorrulesin it. - Junie reads
.junie/AGENTS.mdbefore the rootAGENTS.md. - Aider loads no instructions file on its own.
Where the file goes
It writes AGENTS.md. Inserted between markers: the rest of the file is untouched, and reinstalling only updates that block.
Dry run by default: the command shows what it would write, and writes nothing without --write.