Claude Code reads AGENTS.md only if no CLAUDE.md or CLAUDE.local.md exists in your working dir or any parent, ~/CLAUDE.md included. ~/.claude/CLAUDE.md is exempt from that check. https://importstatic.com/ai/agents-md-vs-claude-md
Post
importstatic.comClaude Code skips AGENTS.md if any CLAUDE.md sits above your repoAGENTS.md vs CLAUDE.md: Claude Code skips AGENTS.md if any CLAUDE.md sits above your repo. Which files Codex, Copilot, Cursor and Gemini CLI read, in one table.
As indicated in the post, an HN thread asked whether user-level files count, and the Claude Code memory docs answer it. To check, run /memory: since v2.1.280 it lists the AGENTS.md path when the fallback is used, so a missing entry points to a stray CLAUDE.md.
agents.mdAGENTS.mdAGENTS.md is a simple, open format for guiding coding agents. Think of it as a README for agents.
the checker in the post walks from your working dir up to / and shows which file Claude Code should load, with no session needed. Or skip the fallback: a repo CLAUDE.md that just says @AGENTS.md loads it whatever sits above the repo indeed
claude.mdOverview - Claude Code DocsClaude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. Available in your terminal, IDE, desktop app, and browser.
I’d show the source file and line by default, with the full rule available to expand. That would make the warning actionable without burying the location in extra detail.
0 reposts0 likes