The format
No required fields: it's ordinary Markdown with whatever headings help. Large repositories can add nested files in sub-projects; agents read the nearest one, and the closest file to the edited code wins. The agents.md site says the format is now stewarded by the Agentic AI Foundation under the Linux Foundation, and lists agents that read it, including Codex, Cursor, Gemini CLI, GitHub Copilot's coding agent, Jules, VS Code and Windsurf.
CLAUDE.md
Claude Code loads ./CLAUDE.md for the project, ~/.claude/CLAUDE.md for you everywhere, and ./CLAUDE.local.md for personal project notes. Its docs suggest keeping each file under about 200 lines. See context engineering.