AGENTS.md vs CLAUDE.md: which file Claude Code reads, and the flag that decided it
Claude Code reads AGENTS.md only when no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md exists in the working directory or any parent directory, and until version 2.1.281 the loader was gated behind …