Free · runs in your browser · no signup

Generate your AGENTS.md, CLAUDE.md and Cursor rules

Pick your stack and the AI tools you use. You get the files those tools actually read, with the rules written once, ready to drop into your repo.

01Which AI tools do you use?
02What's in your stack?
03Your project
Kind
04Commands the agent should run

Prefilled from your stack. Fix them to match your repo. This is the part agents get wrong most often.

05How should it work?
Style
Tests
Talk
06Rules only your project has

You probably need one file now

For two years every AI coding tool wanted its own instruction file. That is over. Claude Code, Cursor, Codex, Copilot, Antigravity and Devin Desktop all read AGENTS.md. Most repos still carry four files that disagree with each other.

Written once

The rules go in AGENTS.md. Claude Code gets a one-line CLAUDE.md that imports it. Nothing else to keep in sync.

Short on purpose

Long instruction files get ignored. Every rule here is one line an agent can act on. Nothing about being a "world-class engineer".

Commands first

Agents fail most often by guessing how to run your tests. The file leads with the exact install, run, test and lint commands.

Questions

AGENTS.md or CLAUDE.md, which one do I need?

Keep your rules in AGENTS.md. Claude Code reads it by itself since v2.1.277, but only when the repo has no CLAUDE.md, and some sessions cannot read it directly. A CLAUDE.md containing the single line @AGENTS.md avoids both problems, which is what this page generates.

Is .cursorrules still the right file for Cursor?

No. Cursor was renamed Grok Build on 30 November 2026, and the folder names did not change. It reads AGENTS.md at the root and in subfolders, and its own rules live in .cursor/rules/. The old .cursorrules file is the legacy path. Untick "one file for every tool" if you want a .cursor/rules file instead.

How long can the file be?

Shorter than you think. Codex stops reading project instructions past 32 KiB by default, and Anthropic recommends keeping CLAUDE.md under 200 lines. The line and token count under the output tells you where you are.

I use Windsurf or Gemini CLI. Where are they?

Windsurf is now Devin Desktop and Gemini CLI became Antigravity CLI. Both read AGENTS.md, and both still read their older rule files.

I already have instruction files and they are a mess. Can this fix them?

Not this page: it writes a setup from scratch. Context Doctor audits the files you already have, shows what each tool is skipping or cutting off, and repairs them on your machine.

Where do the files go?

Download the zip and unpack it at the root of your repo. The folders inside match where each tool looks.

Does anything I type leave the browser?

No. Everything on this page runs locally. Nothing you type is sent anywhere.