CLAUDE.md and AGENTS.md generator
The file your coding agent reads before touching the project: commands, structure, conventions and working rules, in the right format.
Your project
CLAUDE.md
Which file for which tool?
| Tool | File read | Location |
|---|---|---|
| Claude Code | CLAUDE.md | Repository root; a subfolder can have its own. |
| Codex, and most agents | AGENTS.md | Repository root. This is the format shared by many tools. |
| Gemini CLI | GEMINI.md | Repository root. |
| Cursor | .cursor/rules/projet.mdc | The .cursor/rules folder, with a header that says when the rule applies. |
| GitHub Copilot | .github/copilot-instructions.md | The repository's .github folder. |
What makes this file useful
- The exact commands. Install, run, test, check the style: this is what the agent can't guess and what it uses the most.
- What is specific to your project. There's no point writing “write clean code.” Write “prices are stored in cents” or “don't modify the legacy folder.”
- The reason behind the rules. “No new dependency without asking, the build is size-limited” gets followed better than a bare prohibition.
- Brevity. This file is re-read every session and takes up the context window: aim for one to two pages, and point to other documents for the details.
- Updates. When the agent makes the same mistake twice, add the rule that would have prevented it.
Put no secrets in it: no API key, no password. This file is versioned with the code and read by third-party tools.
How to use the CLAUDE.md generator
The file the coding agent reads before working: generated in a minute, in the format of your tool.
-
Choose a template
Laravel, Next.js, Django, Node, Vue, FastAPI, or start from scratch.
-
Check the commands
Install, run, test, lint: they must be exact.
-
Download the file
CLAUDE.md, AGENTS.md, GEMINI.md, Cursor rule or Copilot instructions.
About the CLAUDE.md generator
A coding agent discovers your repository afresh each session. Without an instruction file, it guesses how to run tests, where to put a file and which conventions to follow. With one, it applies your rules from the first change. Claude Code reads CLAUDE.md; Codex and most other agents read AGENTS.md; Gemini CLI reads GEMINI.md.
The generated file sticks to the essentials: stack, commands, structure, conventions, working method and prohibitions. The working method carries the rules that prevent the most frequent incidents: no commit unless asked, no dependency added without agreement, targeted changes, tests before concluding, secrets untouchable.
Frequently asked questions about the CLAUDE.md generator
What is the CLAUDE.md file?
A Markdown file placed at the root of a repository, which Claude Code loads at the start of each session. It contains the project’s commands, structure and conventions.
What is the difference between CLAUDE.md and AGENTS.md?
The content is the same; only the name changes depending on the tool. AGENTS.md is the format shared by many agents, CLAUDE.md is Claude Code’s.
What length should I aim for?
One to two pages. The file takes up the context window every session: point to other documents for detail.
Can I have several files?
Yes. A subfolder can have its own file, read when the agent works in that folder.
Is it free?
Yes, with no sign-up and no usage limit.