Home › Rules › Cursor rules vs AGENTS.md

Cursor rules vs AGENTS.md: which should you use?

Checked against Cursor's docs on Oct 19, 2026.

Short answer: start with AGENTS.md. Cursor reads it, and so do other tools. Move to .cursor/rules/*.mdc when you want a rule to load only for certain files, or only when it's relevant.

What Cursor supports

Cursor's docs list four kinds of rules: Project Rules (.cursor/rules, in git), User Rules (your global preferences in Cursor's settings), Team Rules (from the dashboard, Team and Enterprise plans), and AGENTS.md, which Cursor describes as a simple alternative to .cursor/rules.

AGENTS.md.cursor/rules/*.mdc
Works in other toolsYes (Codex, Copilot, Claude Code and more)Cursor only
FormatPlain MarkdownMarkdown with frontmatter: description, globs, alwaysApply
ScopingBy folder (nested AGENTS.md files)By file pattern, by relevance, always, or manual @-mention
Best forOne shared set of rulesMany focused rules that shouldn't all load at once

Common mistakes

A good split

Keep the project overview, commands and working habits in one always-on place (AGENTS.md or core.mdc with alwaysApply: true). Put file-specific rules (database migrations, components, tests) in .mdc files with globs.

.cursor/rules/migrations.mdc
---
globs: supabase/**/*.sql
alwaysApply: false
---

- Turn on Row Level Security for every new table, with explicit policies.
- Ask before dropping or renaming a column or table.

Matching kit: Vibe Coder Skills Pack ($9)

The free rules set the boundaries. The Skills Pack adds 6 ready-to-copy skills for when a project goes wrong: stop-the-loop, fix-one-bug, leak-check, ship-check, explain-project and builder-handoff, for Claude Code, Cursor and Codex, with paste-in steps for Lovable, Bolt, Replit and Base44.

See the Vibe Coder Skills Pack ($9) →

Instant download. 7-day refund, no questions asked.

Get ready-made files

Every page in the rules library gives you both: an AGENTS.md and the same rules split into core.mdc plus a glob-scoped project rule. Or generate a Cursor rule. More copy-paste examples: Cursor rules examples and AGENTS.md examples. When a rule is really a multi-step procedure, make it a skill: Cursor rules vs skills.

Best value

All 6 kits for $29 — or $20.30 with code WELCOME30 (through Nov 30)

All six kits in one download: Tiny Game Builder Kit, Inbox Triage Agent, Codebase Fixer Agent, MVP Spec-to-Build Pack, Discord Bot Builder and the Vibe Coder Skills Pack. The five build kits are one markdown file each (agent brief, setup steps, worked example); the Skills Pack adds a zip of 6 SKILL.md skill folders.

Get all 6 kits for $29 → See what's in each kit

$29 instead of $48 for the six kits bought separately; WELCOME30 takes 30% off that at checkout ($20.30). Instant download from Gumroad. 7-day refund, no questions asked.

Sources

Free rules starter pack for Cursor, Claude Code, Codex and Antigravity

One shared AGENTS.md that works across Cursor, Claude Code, Codex, Copilot and Antigravity, plus database and test rules in each tool's format. Unzip it into your project and fill in two sections. I'll email you the link.

After that, an occasional email when I publish a new guide or rules file.

Free. No spam. Unsubscribe anytime. See our privacy note.