What AGENTS.md is
agents.md describes AGENTS.md as a README for agents: a plain Markdown file at the root of a repository that tells coding agents how to work in it. There is no required structure. The site suggests a project overview, build and test commands, code style, testing instructions, security notes, and commit and pull request rules, which are the sections this generator fills.
In a monorepo, each package can carry its own AGENTS.md, and the one closest to the edited file wins. A prompt in the chat overrides all of them. agents.md says the format is used by more than 60,000 open-source projects and lists the tools that read it, among them Codex, Cursor, Gemini CLI, GitHub Copilot’s coding agent, Jules, Aider and Zed. The format is stewarded by the Agentic AI Foundation under the Linux Foundation.
Source: agents.md, read 28 November 2026.
CLAUDE.md and how Claude Code reads AGENTS.md
Claude Code reads CLAUDE.md files from several places: ~/.claude/CLAUDE.md for every project you open, ./CLAUDE.md or ./.claude/CLAUDE.md for the project, and CLAUDE.local.md for your own notes in one project, kept out of Git. Files above the working directory load at launch; files in subdirectories load when Claude works there. A line such as @docs/style.md imports another file, up to four hops deep.
Since version 2.1.277, Claude Code reads AGENTS.md when there is no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md in the working directory or above it. When a project has both, a CLAUDE.md containing @AGENTS.md keeps one set of instructions for every agent. That is what the generator’s first option writes, and how Neotask’s own repositories are set up.
Source: Claude Code docs, memory, read 28 November 2026.
Keeping the files short
Claude Code loads CLAUDE.md into every session, so each line costs context on every request. Its docs suggest staying under 200 lines and moving instructions for particular workflows into skills, which load only when used. The generator counts the lines of each file as you type.
Questions
- Does Claude Code read AGENTS.md?
- Yes, from version 2.1.277, when there is no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md in the working directory or above it. Otherwise it reads CLAUDE.md, so a CLAUDE.md that contains @AGENTS.md brings AGENTS.md in.
- Where does the AGENTS.md file go?
- At the root of the repository. In a monorepo, each package can have its own, and an agent follows the AGENTS.md closest to the file it is editing.
- How is AGENTS.md different from README.md?
- README.md is for people who use or join the project. AGENTS.md holds what a coding agent needs to work in it, such as exact commands and rules, which agents.md describes as a README for agents.
- How long should CLAUDE.md be?
- Claude Code’s docs suggest under 200 lines per file. The generator shows the line count of each file and warns past that.
- Is anything I type sent anywhere?
- No. The files are built in your browser, and nothing leaves the page until you download or copy it.