Get your Claude Code rules into Cursor
You have rules configured in Claude Code and want the same guidance in Cursor — without maintaining two copies by hand. This guide moves them through syllago in four commands.
What you need
Section titled “What you need”- syllago installed and initialized (
syllago init) - Claude Code with at least one rule configured (
CLAUDE.mdor.claude/rules)
1. See what Claude Code has
Section titled “1. See what Claude Code has”syllago add --from claude-codeWithout a positional argument, add runs in discovery mode: it lists the content Claude Code has available without importing anything.
2. Import the rules into your library
Section titled “2. Import the rules into your library”# Import all rulessyllago add rules --from claude-code
# Or import one specific rulesyllago add rules/security --from claude-codeThe rules are copied into your library (~/.syllago/content/), where syllago manages them independently of Claude Code. Run syllago list to confirm what landed.
3. Preview the install
Section titled “3. Preview the install”syllago install security --to cursor --dry-run--dry-run shows exactly what would be written to Cursor’s directories without touching anything. Nothing changes until you run the command without the flag.
4. Install to Cursor
Section titled “4. Install to Cursor”syllago install security --to cursorBy default syllago installs a symlink, so future edits to the rule in your library show up in Cursor immediately. Pass --method copy if you want a standalone file instead.
5. Verify it worked
Section titled “5. Verify it worked”Look in your project’s .cursor/rules/ directory — you should see the rule as an .mdc file:
ls .cursor/rules/Open Cursor and the rule is active. You can also confirm syllago’s view of the install with syllago list.
What syllago converted for you
Section titled “What syllago converted for you”Claude Code stores rules as plain Markdown; Cursor expects MDC format (.mdc files with metadata frontmatter like description, alwaysApply, and globs). syllago performs that conversion automatically during install — the copy in your library stays in canonical form, so the same rule can also be installed to any other provider. See Format Conversion for the details.
Related
Section titled “Related”- Cursor provider reference — file locations and capability details
syllago addandsyllago install— full flag reference- Rules — how syllago models rules across providers