AGENTS.md and CLAUDE.md generator

This generator writes an AGENTS.md for your repository from a few short sections, and a CLAUDE.md for Claude Code that either imports it or stands on its own. Fill in what a coding agent should know about the project, then download the files. Nothing you type leaves your browser.

Your agent instructions

What the project is and how the code is laid out.

One per line, as Label: command. The command goes in a code span.

One rule per line.

One instruction per line.

One rule per line.

One rule per line.

They go in CLAUDE.md under the @AGENTS.md import, so agents that read only AGENTS.md won’t see them.

AGENTS.md36 lines

# Example web app

## Project overview

A React and TypeScript web app with an Express API in server/. The app talks to the API only through src/api/.

## Build and test commands

- Install: `npm install`
- Dev server: `npm run dev`
- Tests: `npm test`
- Lint: `npm run lint`
- Type check: `npm run typecheck`

## Code style

- TypeScript strict mode, no any.
- Named exports only.
- Components in PascalCase files, one component per file.

## Testing

- Run npm test before every commit.
- Add or update tests for any behavior you change.
- Tests must not call real external APIs.

## Security

- Never commit .env files, API keys or tokens.
- Validate every request body on the server.

## Commits and pull requests

- Write commit messages in the imperative: “Add login rate limit”.
- One logical change per pull request.
- Lint and tests pass before a pull request is opened.

CLAUDE.md1 line

@AGENTS.md

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.

Run coding agents in NeotaskNeotask agents can run on a Codex or Claude Code subscription, hosted models or your own provider keys.

Download Neotask