AGENTS.md Generator — Create AI Coding Agent Instructions
Generate an AGENTS.md (or CLAUDE.md / .cursorrules) file that tells AI coding agents how to work in your repo — stack, build/test commands, conventions, and do's and don'ts. Fill the form and copy the Markdown. 100% local.
Last updated:
CommentsFill in your project's stack, build/test/lint commands, conventions, and do's and don'ts, and this tool outputs a clean AGENTS.md (or CLAUDE.md / .cursorrules) in Markdown for AI coding agents. Copy it to your repo root. Everything runs in your browser.
AGENTS.md# Acme Web App — Agent Instructions A Next.js 15 app with a Postgres backend. Keep changes small and tested. ## Tech stack Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS, Drizzle ORM, PostgreSQL. ## Commands - **Build**: `pnpm build` - **Test**: `pnpm test` - **Lint**: `pnpm lint` ## Conventions - Use named functions, not anonymous functions. - Prefer server components; mark client components with 'use client'. - Keep components under 200 lines. ## Do's and don'ts - ✅ Run the test suite before committing. - ✅ Update types when changing the database schema. - ❌ Never edit generated files in /src/db/migrations. - ❌ Don't commit secrets — use .env.local.
The content is the same Markdown regardless of filename — save it at your repo root. Generated locally, nothing is uploaded.
What is AGENTS.md Generator?
AGENTS.md is an emerging convention for a Markdown file at a repository's root that briefs AI coding agents on how to work in the project: the tech stack, the exact commands to build, test, and lint, the code-style conventions to follow, and explicit do's and don'ts. It's the agent-facing counterpart to README.md — README is for humans, AGENTS.md is for the model. Several tools read a file like this: Claude Code looks for CLAUDE.md, Cursor uses .cursorrules or .cursor/rules, and AGENTS.md is the vendor-neutral name that's gaining adoption. The content is the same Markdown regardless of filename, so this generator lets you compose it once and export under whichever name your tool expects.
How to generate an AGENTS.md
- 1Enter the project name, tech stack, and the build / test / lint commands.
- 2Add coding conventions and concrete do's and don'ts.
- 3Pick the output filename (AGENTS.md / CLAUDE.md / .cursorrules) and copy it to your repo root.
Key Concepts
- CLAUDE.md
- The filename Claude Code reads for project instructions — same Markdown content.
- .cursorrules
- Cursor's project rules file; superseded by .cursor/rules in newer versions.
- MCP servers
- To give agents extra tools beyond instructions, configure MCP servers.
Tips & Best Practices
- ▸Keep it short and concrete — agents follow checkable instructions ('run pnpm test before committing') far better than vague prose.
- ▸Put the exact commands in fenced code blocks so they can be copied verbatim.
Frequently Asked Questions
What is AGENTS.md?
AGENTS.md is an emerging convention for a single Markdown file at your repo root that gives AI coding agents the context they need — how to build, test, and lint, plus coding conventions and constraints. It's the agent-facing counterpart to README.md, and tools like Cursor, Claude Code and others read it (CLAUDE.md and .cursorrules are tool-specific variants of the same idea).
AGENTS.md vs CLAUDE.md vs .cursorrules — which do I use?
AGENTS.md is the vendor-neutral name gaining traction. CLAUDE.md is what Claude Code looks for; .cursorrules (or .cursor/rules) is Cursor's. The content is essentially the same Markdown — this generator lets you export under whichever filename your tool expects.
What should go in it?
Keep it short and high-signal: the tech stack, exact build/test/lint commands, code-style conventions, and clear do's and don'ts (e.g. 'run tests before committing', 'never edit generated files'). Agents follow concrete, checkable instructions best.
Try Next
Cosine Similarity
Compute cosine similarity, dot product, and Euclidean distance between two vectors online. Perfect for debugging LLM embeddings, semantic search, and RAG pipelines. 100% local — vectors never leave your browser.
Related Tools
Embedding Cost Calculator
Estimate the cost of embedding a corpus — pick a model, enter the number of documents and average tokens each, and get the total token count and dollar cost. 100% local.
Vector Storage Calculator
Estimate how much memory or disk your embeddings need — enter vector count, dimensions, and precision (float32/float16/int8/binary) to see raw and indexed size. 100% local.
Prompt Cache Calculator
See how much prompt caching saves you. Enter your cached prefix size, per-request tokens, volume, and hit rate to compare cost with and without caching across models that support it. 100% local.
Batch API Cost Calculator
Compare real-time vs Batch API cost for a bulk job. Enter request count and per-request tokens to see how much the ~50% batch discount saves across models that support it. 100% local.
Prompt Injection Detector
Scan untrusted user input for common prompt-injection and jailbreak patterns — instruction overrides, jailbreak personas, system-prompt exfiltration — with a risk score. Heuristic, 100% local.
Text Chunker
Split long text into overlapping chunks for embedding and RAG pipelines. Preview recursive, paragraph, sentence, or fixed strategies with live token counts. Runs 100% in your browser.