Free tool
AGENTS.md generator for Codex, Claude Code and Cursor
Pick your stack, write the commands you really run and the rules the agent must follow. You get an AGENTS.md file and a CLAUDE.md that imports it.
Everything runs in your browser. Nothing you type is sent to a server or saved.
# Project
Nothing leaves your browser.
What is AGENTS.md
AGENTS.md is a plain Markdown file in the root of your repository. It tells AI coding agents how to set up the project, how to run tests and what not to touch. The format has no required fields.
A README is for people. AGENTS.md holds the detail an agent needs, such as exact commands, folders and what counts as done. In a monorepo each package can have its own file, and the file closest to the edited code wins.
Which tools read AGENTS.md
Checked against each vendor’s documentation on 25 November 2026.
| Tool | How it reads the file | Source |
|---|---|---|
| Codex | Reads the global file in ~/.codex, then every AGENTS.md from the project root down to the current folder. Stops at 32 KiB by default. | Codex docs |
| Claude Code | Reads AGENTS.md when there is no CLAUDE.md or CLAUDE.local.md, from version 2.1.277. With a CLAUDE.md, import the file with @AGENTS.md. | Claude Code docs |
| Cursor | Reads AGENTS.md in the root and in subfolders. Nested files are combined with the parent ones. | Cursor docs |
| GitHub Copilot | Uses AGENTS.md as agent instructions. The nearest file in the folder tree wins. | GitHub docs |
| Gemini CLI | After you set the context file name to AGENTS.md in .gemini/settings.json. | agents.md |
How to use the generated file
- Run every command from the file yourself once. The agent will trust it.
- Save the file as AGENTS.md in the root of the repository and commit it.
- Add CLAUDE.md next to it only if you need rules just for Claude Code or already have a CLAUDE.md.
- Start a new agent session and ask which instruction files it loaded and which command runs the tests.
Questions
- Is my project data sent anywhere?
- No. The file is built in your browser from what you type. Nothing goes to our server and nothing is stored after you close the page.
- Do I need both AGENTS.md and CLAUDE.md?
- Usually not. Claude Code reads AGENTS.md when the project has no CLAUDE.md. You need CLAUDE.md with @AGENTS.md when you want extra rules only for Claude or when the project already has a CLAUDE.md.
- Are the stack commands correct for my project?
- They are typical commands for a new project on that stack. Your project may use other scripts. Check package.json, composer.json or the build file and replace them.
- Is it AGENTS.md or AGENT.md?
- AGENTS.md, plural. The agents.md site suggests renaming an old AGENT.md and keeping a symbolic link with the old name.
- How long should AGENTS.md be?
- Short and complete. Codex stops reading at 32 KiB of combined instructions by default, and Claude Code advises keeping instruction files under about 200 lines.