Free · no sign-up · nothing uploads
AGENTS.md Generator
Project name, stack, rules — out comes a short, standards-clean AGENTS.md that Claude Code, Cursor and Copilot read before they touch your repo. Every line you leave out is tokens saved on every agent turn.
▍ stack-aware commands · deduped rules · Markdown you can drop in as-is
Generate your file
Three fields, all required. Short rules stay cheap in agent context — that is the whole point.
# acme-dashboard Instruction file for AI coding agents working in the acme-dashboard repository. --- ## Stack - Next.js 15 - TypeScript - Tailwind - Vitest - pnpm --- ## Commands ```bash pnpm install # install dependencies pnpm dev # start the dev server pnpm build # production build pnpm test # run tests ``` --- ## Rules - Never edit files in /generated - Use pnpm, not npm - Run tests before committing
How it works
Everything below happens in this tab; the page never sends a request.
Name, stack, rules
The name becomes the H1 and the download filename. The stack is tokenized on commas and slashes. Rules are split one per line.
Stack-aware commands
A small hardcoded lookup maps recognized stacks (Next.js, Vite, Django, Rails, Go, Cargo, Maven…) to real dev/build/test commands. Unknown stacks are listed verbatim and the section is omitted — never guessed.
Quietly lean output
Duplicate rules collapse, list markers are re-emitted as uniform - bullets, and (parentheses) or # comments are trimmed as explanations. The counter next to the preview shows the real cost.
What it never does
No telemetry
No analytics, no logging, no upload. The whole generator is a script tag on this page.
No signup, no storage
Nothing is persisted — there is no history, no cookie and no account. Reload and the example is back.
No invented commands
If the stack string cannot be matched, the Commands section is dropped rather than guessing a build script that would mislead an agent.
FAQ
What is AGENTS.md?
A plain Markdown file at the root of a repository that coding agents read before making changes. Because it lands in the agent's context on every turn, shorter is better.
Which agents actually use it?
Claude Code, Cursor, Codex, Copilot Workspace and a growing set of other agentic tools all look for AGENTS.md. Nested copies in subdirectories take precedence over the root file.
Why are my parentheses and # comments stripped?
They are treated as explanations for humans. The rule itself still appears exactly once in the output, minus the context the agent does not need.
What if my stack is not recognized?
Your stack text is still listed under Stack. The Commands section only appears for stacks in the lookup table, so the file never tells an agent to run a script that does not exist.
Why is the copy button sometimes asking me to press Ctrl/Cmd+C?
Clipboard access needs a secure origin and permission. When it is blocked the page falls back to a hidden textarea, and if that fails too it selects the preview so a keystroke finishes the job.
Does the generated file render on GitHub?
Yes — plain Markdown with one H1, fenced bash for commands and hard line breaks, no frontmatter and no HTML.