Claude Code's behavior regarding instruction files has been clarified, with tests revealing that it prioritizes CLAUDE.md or CLAUDE.local.md over AGENTS.md when both are present in a project. This means AGENTS.md is only read if no CLAUDE.md variants exist in the current directory or its parents. Users can configure Claude Code to read both file types by modifying project instructions or by including `@AGENTS.md` at the top of their CLAUDE.md file. AGENTS.md serves as an open-format instruction file for various AI coding agents, detailing project specifics like build commands and code style. AI
IMPACT Clarifies how AI coding agents interpret project instructions, potentially impacting developer workflows and agent customization.
RANK_REASON The item details specific behavior of an existing AI product, Claude Code, regarding its configuration and instruction file handling.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →