A catch
A personal CLAUDE.local.md counts as a CLAUDE.md. Adding one stops Claude Code from reading an AGENTS.md that nothing imports.
What belongs in the file
Build and test commands, code style, repository rules. Things that change while the work happens (decisions, findings, failed attempts, handoffs) belong in project records instead.
These rules move with releases. Check the dated table on the comparison page.