PulseAugur
EN
LIVE 07:44:05

Claude Code prioritizes CLAUDE.md over AGENTS.md, tests reveal

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 →

Claude Code prioritizes CLAUDE.md over AGENTS.md, tests reveal

How we ranked this

Signal score
2 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
The item details specific behavior of an existing AI product, Claude Code, regarding its configuration and instruction file handling.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Same-day
Cluster formed today. Ranking reflects the current source set at time of score.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Tahir Nazir ·

    I tested 7 folder setups: Claude Code reads AGENTS.md only when there's no CLAUDE.md

    <p><em>Originally published at <a href="https://www.its-tahir.com/blog/claude-code-agents-md" rel="noopener noreferrer">its-tahir.com</a>.</em></p> <p>I put a different codeword in each memory file and asked Claude Code which ones it could see, across seven folder setups. The sho…