A shared AGENTS.md file can give Claude Code, Codex, Cursor and other coding agents consistent project-specific instructions at the start of each session.
Keeping an AGENTS.md file at a project’s root is presented as a way to avoid repeating the same coding instructions across agent sessions. The file can document project conventions, required commands and other context that agents need before starting work.
The approach is compatible with Codex, Cursor, Claude Code and several other major coding agents. For projects that already use CLAUDE.md, the file can import AGENTS.md with a single @AGENTS.md line so Claude can use the shared instructions.
The file is most useful for information that is not obvious from the code, such as project layout, database details, authentication rules and required checks. Specific directions—for example, running npm test or using Playwright for major UI changes—are described as more reliable than vague requests.
AGENTS.md does not make an agent more capable or increase the amount of work completed. Its main benefit is reducing repeated prompts, while the instructions still need maintenance as the project changes.