Cursor Rules Generator

Generate .cursor/rules .mdc files, AGENTS.md, CLAUDE.md, and legacy .cursorrules for your stack. Free, no signup.

Privacy: Rule generation runs entirely in your browser. Nothing is uploaded.

1. Configure your project

Extras

Output formats

How to Use

  1. 1Choose a stack preset and any extras that match your repo.
  2. 2Select formats — start with .mdc + AGENTS.md for most Cursor projects.
  3. 3Generate, review the preview, then download the ZIP into your repository.
  4. 4Commit the rules so your whole team gets consistent Agent behavior.

Where files go

Cursor project rules

.cursor/rules/my-app-core.mdc

alwaysApply / globs / description frontmatter — recommended.

Simple agents file

AGENTS.md (project root)

Works in Cursor and other agent tooling without frontmatter.

Claude Code

CLAUDE.md (project root)

Guidance file for Claude Code sessions.

Rules that actually help agents

  • Keep rules short and actionable — Cursor recommends under ~500 lines.
  • Prefer glob-scoped .mdc files over one giant always-on document.
  • Encode repo-specific gotchas, not generic style guides a linter already covers.
  • Update rules when the agent repeats the same mistake.
  • Pair MCP extras with Instant Tools’ OpenAPI → MCP and MCP Tool Checker.

Frequently Asked Questions

What are Cursor rules?

Cursor project rules are instructions for Agent (Chat). Modern projects use .cursor/rules/*.mdc files with frontmatter (alwaysApply, globs, description). AGENTS.md is a simpler root markdown alternative.

Which format should I use?

Prefer .mdc project rules for Cursor (scoped, composable). Add AGENTS.md for broad agent compatibility. Use CLAUDE.md for Claude Code. Keep .cursorrules only for legacy setups.

Is this the same as Cursor’s /create-rule?

Cursor can generate rules from chat against your repo. This tool is a free, browser-local starter: pick a stack, extras, and download multi-format files without opening an IDE or uploading code.

Does my project data leave the browser?

No. Generation is 100% client-side. Instant Tools never uploads your project name, notes, or selected options to a server for this tool.

Can I include MCP / agent guidance?

Yes. Enable the MCP / agents extra for tool-naming, description quality, and secret-handling guidance that pairs with Instant Tools’ OpenAPI → MCP and MCP Tool Checker.

Is the Cursor Rules Generator free?

Yes. No signup, no watermarks beyond a small attribution line you can remove.