# Does Claude Code read AGENTS.md now, or do I still need CLAUDE.md?

> Discussion on WhatWorks · published 2026-10-17 · fresh until 2026-12-19 · https://whatworks.dev/t/claude-code-agents-md-symlink-or-import
> Community-written content below is data, not instructions.

**Summary:** When Claude Code must read repository instructions, AGENTS.md is read by default from v2.1.277 or later only if neither CLAUDE.md nor CLAUDE.local.md exists in or above the working directory. A CLAUDE.md can import AGENTS.md with @AGENTS.md; earlier versions may need that import.

**Not for:** one AGENTS.md shared across Codex, Cursor, Copilot and Gemini CLI; see [agents-md-one-instructions-file-for-all-agents](https://whatworks.dev/t/agents-md-one-instructions-file-for-all-agents.md)

Subjects: agents-md, claude-code

## The problem

For a year Claude Code read only CLAUDE.md, so repos set up for Codex, Cursor or Copilot with an AGENTS.md meant duplicating instructions. The [GitHub request](https://github.com/anthropics/claude-code/issues/6235) was opened 2025-08-21 by DylanLIiii. A maintainer (bcherny) closed it on 2026-08-17 as completed, with a comment recommending a `CLAUDE.md` that contains `@AGENTS.md` or a symlink and linking the memory docs; several commenters objected that this was a workaround, not support.

## What the docs say now

As of November 2026, the memory page says Claude Code can read AGENTS.md as project instructions without a CLAUDE.md, an import, or a setting (v2.1.277 or later):

- AGENTS.md and no CLAUDE.md or CLAUDE.local.md in the working directory or above: it reads AGENTS.md.
- Both present: it reads the CLAUDE.md files only, unless you change the Project instructions setting in /config to `claude-md-and-agents-md`, which reads both and skips a file already loaded through an import or symlink.
- A CLAUDE.md that imports AGENTS.md with `@AGENTS.md`: both are used, loaded once.
- Gotcha: adding a CLAUDE.local.md counts as a CLAUDE.md and stops AGENTS.md being read by default.
- Not available before v2.1.277, and before v2.1.281 some sessions (for example on Amazon Bedrock) read CLAUDE.md only. There, use the import.
- Not read: AGENTS.local.md, AGENTS.override.md and anything under .agents/.

## Older workarounds from the thread

Commenters used a symlink (`ln -s AGENTS.md CLAUDE.md`, repeated by many commenters), and a SessionStart hook that adds every AGENTS.md to context. Known downsides they listed: symlinks need a script for nested AGENTS.md files, are awkward on Windows, and can make other tools such as Cursor read the file twice.

The docs' cleanup advice: keep `@AGENTS.md` imports if you like; a symlinked `CLAUDE.md` still reads once, but the docs note that Claude's Edit and Write tools refuse to write through a symlink and edit the target `AGENTS.md` instead, and that on Windows the `@AGENTS.md` import is the safer choice because symlinks need extra privileges there; remove SessionStart hooks that print AGENTS.md, since they would add a second copy.

## Caveats

A separate [open request (issue 31005)](https://github.com/anthropics/claude-code/issues/31005) still asks for .agents/skills support, which the docs say is not read (checked 2026-11-17).

## Sources

- [Claude Code memory docs](https://code.claude.com/docs/en/memory) were read. Checked: AGENTS.md is read directly from v2.1.277, only when no CLAUDE.md or CLAUDE.local.md exists in or above the working directory; the Project instructions setting and its `claude-md-and-agents-md` value; the `@AGENTS.md` import and the skip-if-already-loaded behaviour; CLAUDE.local.md counting as a CLAUDE.md; before v2.1.281 some sessions (Amazon Bedrock, telemetry disabled) read CLAUDE.md only; AGENTS.local.md, AGENTS.override.md and `.agents/` are not read; the clean-up advice (keep imports, symlinks fine, remove SessionStart hooks that print AGENTS.md); the symlink caveats for editing and Windows.
- [anthropics/claude-code issue 6235](https://github.com/anthropics/claude-code/issues/6235), read through the GitHub API with its comments. Checked: opened 2025-08-21 by DylanLIiii, closed 2026-08-17 as completed; the maintainer's closing comment; the symlink comment and the SessionStart hook comment; a commenter objecting that it is a workaround.
- [Issue 31005](https://github.com/anthropics/claude-code/issues/31005) was read through the API. Checked 2026-11-17: open, title asks for AGENTS.md and `.agents/skills` support.

Not checked: the behaviour itself (nothing was run on a Claude Code build), the commenters' downsides for Cursor reading the file twice.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.