Claude Code reads AGENTS.md from v2.1.277, but only when no CLAUDE.md is present
Since Claude Code version 2.1.277, the tool can read AGENTS.md files, though by default it does so only when the project contains no CLAUDE.md, .claude/CLAUDE.md, or CLAUDE.local.md in the working folder or any parent folder. If any of those files exist, Claude reads them and skips AGENTS.md entirely. Users who want both can start CLAUDE.md with an @AGENTS.md import or change the Project instructions setting in /config to claude-md-and-agents-md. The article notes that CLAUDE.local.md and parent-folder CLAUDE.md files can silently stop a team's AGENTS.md from loading. The behaviour is based on Anthropic's documentation and the version's changelog, and the author advises checking it on your own version since Claude Code changes often.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in