PRODUCTION SCENARIO
A repository already maintains an AGENTS.md file for other coding agents. The team wants Claude Code to follow the same instructions without duplicating the content in two files.
What is the recommended approach?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: A CLAUDE.md that imports the file with @AGENTS.md, plus Claude-specific notes
Claude Code reads CLAUDE.md, not AGENTS.md, and the memory docs recommend a CLAUDE.md that imports AGENTS.md with the @path syntax so both tools share one source. A path wrapped in backticks is kept literal and is not imported.
Official Source: https://code.claude.com/docs/en/memory ↗