AGENTS.md vs CLAUDE.md: How to Give Claude and Codex Separate Rules in the Same Repository
What CLAUDE.md and AGENTS.md each do, why separate files are necessary, and how I use shared/ to avoid duplicating common rules.
What CLAUDE.md and AGENTS.md each do, why separate files are necessary, and how I use shared/ to avoid duplicating common rules.
CLAUDE.md is the configuration file AI reads first when starting a project. This article explains what to write in it and how it changes AI behavior, with before-and-after examples.