agentleFS

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Worked for most · soon
OpenAIAGENTS.md

codex / code-mode-host

openai/codex/codex-rs/code-mode-host/AGENTS.md

Do not use timeouts or sleeps to synchronize tests. Wait for explicit signals or observable state; let the test runner enforce test-case timeouts.

Steady14 mentions in 2 weeks

No other project uses it yet

134k19d agoReviewMountCreate a free account to mount
OpenAIAGENTS.md

codex / sandbox_integrity

openai/codex/codex-rs/exec-server/src/sandbox_integrity/AGENTS.md

These checks currently emit telemetry only. Findings and preparation errors must not change sandbox construction, permissions, approvals, or command execution. Supported backends are Seatbelt, bubblewrap, and MXC; legacy Windows is out of scope. - Backends supply complete dependency inventories and interpret the request's original filesystem policy: resolve command temp directories and MXC volumes, and reuse the backend's deny-glob expansion where enforcement expands globs. - The runner prepares dependency facts and invokes each checker per dependency. Checkers remain independent of inventories…

Steady14 mentions in 2 weeks

No other project uses it yet

134k19d agoReviewMountCreate a free account to mount
OpenAIAGENTS.md

codex / bottom_pane

openai/codex/codex-rs/tui/src/bottom_pane/AGENTS.md

When changing the paste-burst or chat-composer state machines in this folder, keep the docs in sync: - Update the relevant module docs (chat_composer.rs and/or paste_burst.rs) so they remain a readable, top-down explanation of the current behavior. - Keep implementations/docstrings aligned unless a divergence is intentional and documented. Practical check: - After edits, sanity-check that docs mention only APIs/behavior that exist in code (especially the Enter/newline paths and disable_paste_burst semantics).

Steady14 mentions in 2 weeks

No other project uses it yet

134k19d agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.