Spec file · Verified
AGENTS.md vs CLAUDE.md: which one Claude Code reads and how to share one file
By default Claude Code reads AGENTS.md only when no CLAUDE.md exists; an @AGENTS.md import in CLAUDE.md shares one file. Not tested; check the official docs.