Skip to content

Light version: pages open quickly, without the 3D graphics. You are seeing the light version because the 3D graphics would be slow on this device. The content is the same.

Turn on 3D

Preparing the graphics. This can take a moment on the first visit.

Henry Lõiv

Web design & development

Quick Answer

Does Claude Code read AGENTS.md now?

Artificial Intelligence 1 min read

Yes, current Claude Code supports AGENTS.md, but a file’s presence does not guarantee that it loads. The default favors project CLAUDE.md instructions. A CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md in the working directory or an ancestor can affect the fallback to AGENTS.md. 1

Check configuration before renaming files

Check your Claude Code version and open Project instructions in /config. Current settings can load both formats instead of using the default either/or behavior. Older installations or disabled support can behave differently.

When a project keeps CLAUDE.md but shares instructions through AGENTS.md, an explicit import is available:

@AGENTS.md

That is different from writing “read AGENTS.md when needed”: a prose request leaves the decision to the agent. 1

Verify with a harmless task

Use one observable convention, such as the project’s existing test command. Start a fresh conversation and check the loaded context and actual actions. Do not test instruction precedence with production data or secrets.

Keep the rule small enough to diagnose. Adding several competing files makes it harder to distinguish a loading problem from conflicting instructions. A loaded file is also not an enforcement mechanism: important constraints still need permissions, review and tests. 2

Related reading

AI model comparison

Sources

  1. Anthropic: project instructions and AGENTS.md
  2. Anthropic: Claude Code best practices

Fact checked:

Let’s talk about your project

Tell me about your project

Tell me what you’d like to build or improve. You don’t need a finished brief — we’ll work out the scope and next steps together.

01 How can I help?
02 How many pages do you need?
03 Which extras do you need? Choose all that apply
04 When does it need to be ready?
05 Project details
06 Your contact details

Enquiry received

Thank you!

Your enquiry has been received. I usually reply by email within 2 working days.