AGENTS.md and CLAUDE.md: How to Write Instruction Files for AI Coding Agents
AGENTS.md is a Markdown file that tells AI coding agents how to work on your project; CLAUDE.md is Claude Code’s version. Here’s which tools read which file, a copyable template, what to put in and leave out, and how to share one file across Claude Code, Codex, Copilot, Cursor and Gemini CLI.