Two files, same job. Here's what separates them and what to keep either way.
If you've used Cursor, you already understand the core idea behind CLAUDE.md. Both are plain-text files that tell an AI how to work with you — your stack, your conventions, your preferences — so you stop re-explaining yourself every conversation. The concepts are close cousins. The details differ in ways that matter when you move between the two. This is a straight comparison: what each file is, where it lives, how they differ, and whether the one you already wrote can be reused.
.cursorrules (and the newer Cursor Rules in .cursor/rules/) is Cursor's mechanism for giving its AI persistent project instructions. CLAUDE.md is the equivalent for Claude — read by Claude Code, the Claude apps, and Cowork mode as standing context. Same job, different tools. The biggest practical difference: Claude reads your CLAUDE.md before every conversation, so length is a real cost — the working ceiling is under ~2,000 tokens. Cursor's newer rules system is more granular (multiple scoped rule files, auto-attached by file globs).
| CLAUDE.md | .cursorrules | |
|---|---|---|
| Tool | Claude Code / apps / Cowork | Cursor |
| Location | CLAUDE.md in project root or ~/.claude/ | .cursorrules (legacy) or .cursor/rules/*.mdc |
| Scope | One global file | One legacy file or many scoped |
| Targeting | Whole project | Auto-attach by file pattern |
| Format | Markdown | Markdown / MDC |
| Read when | Every conversation | When rules match context |
| Token discipline | Critical — keep under ~2K | Looser, scoped loads only when relevant |
Everything that makes a .cursorrules good makes a CLAUDE.md good. Name your stack explicitly. State preferences as specific executable rules, not adjectives. Include an explicit "never do this" list. Keep it scannable. The principles in /guide/how-to-write-claude-md map one-to-one onto Cursor Rules and vice versa.
Mostly yes, with two edits: consolidate scoped rule files into one, and trim for tokens (under ~2,000). Rename to CLAUDE.md, drop in project root. Fastest path: paste your role + rules into the free Builder — it generates a clean CLAUDE.md with a Claude Fluency Score (clarity, specificity, format, voice, boundaries, token count). Already running it? Paste a real chat into /analyzer.
Does Claude read .cursorrules?
No. Claude reads CLAUDE.md (and ~/.claude/), not Cursor's files. Similar ideas, but you must provide instructions in a CLAUDE.md.
What is the CLAUDE.md equivalent of Cursor Rules?
CLAUDE.md is the equivalent — Claude's persistent project-context file. It's a single file loaded every conversation (keep under ~2,000 tokens) and works for non-coding tasks too.
How do I convert my .cursorrules to a CLAUDE.md?
Merge scoped files into one, cut anything that won't change behavior, keep under ~2,000 tokens, save as CLAUDE.md in project root. Or use the /generator Builder.
Which is better, CLAUDE.md or .cursorrules?
Neither — different tools. Cursor Rules give finer per-file targeting in the Cursor IDE; CLAUDE.md gives one portable context file across Claude Code, the apps, and Cowork, including non-coding work.
Do I have to keep my CLAUDE.md short?
Effectively yes — read before every conversation, ceiling ~2,000 tokens. See /guide/how-long-should-claude-md-be and /guide/claude-md-checklist.
Practical guides and prompt patterns — no fluff, unsubscribe any time.