Skip to content
Development
Command

/sync-to-cursor

Sync skills, commands, agents, hooks, rules, and MCP from Claude, Codex, or Copilot to Cursor IDE.

From plugin
skrills
6817 skills17 commands
Install
$ npx -y skills add athola/skrills --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/sync-to-cursor

Context preview

What this command does when you run it.

Sync skills, commands, agents, hooks, rules, and MCP from Claude, Codex, or Copilot to Cursor IDE.

Command definition

sync-to-cursor.md
description: Sync skills, commands, agents, hooks, rules, and MCP from Claude, Codex, or Copilot to Cursor IDE.
argument-hint: "[--from claude|codex|copilot] [--dry-run]"
triggers: cursor sync, export to cursor, cursor rules, cursor skills, migrate to cursor

Sync to Cursor

Sync to Cursor IDE using the skrills MCP server.

Use the `mcp__plugin_skrills_skrills__sync-to-cursor` tool with:

  • `from`: Source agent (claude, codex, or copilot). Default: claude
  • `dry_run`: Preview changes without writing

Parse `$ARGUMENTS` for:

  • `--from <agent>` or `-f <agent>`: Source agent (default: claude)
  • `--dry-run` or `-n`: Preview mode

This syncs to `~/.cursor/`:

  • Skills → `.cursor/skills/{name}/SKILL.md` (frontmatter stripped)
  • Commands → `.cursor/commands/{name}.md`
  • Agents → `.cursor/agents/{name}.md` (field translation: background→is_background)
  • Hooks → `.cursor/hooks.json` (event names: PascalCase→camelCase)
  • Rules → `.cursor/rules/{name}.mdc` (CLAUDE.md→alwaysApply rule)
  • MCP → `.cursor/mcp.json`

Report:

  • Artifacts synced per type (skills, commands, agents, hooks, rules, MCP)
  • Skipped items with reasons (e.g., Notification hook has no Cursor equivalent)
  • Files created/updated in Cursor directory

Handle errors:

  • If Cursor directory doesn't exist: Offer to create it
  • If source invalid: List valid options (claude, codex, copilot)
  • If write permission denied: Report path and suggest fix
Read more
Ships withskrills

Write a skill once, use it everywhere. Skrills validates and syncs skills, commands, agents, MCP servers, and hooks across **Claude Code, Codex CLI, GitHub Copilot CLI, and Cursor**, all from a single Rust binary. Install · User Guide · CLI Reference · FAQ ·

Get the whole plugin, auto-invoked
Stats
68
Stars
0
Views
10
Forks
Maintained
Maintenance
Rust
Language
MIT
License
1mo ago
Last commit
8mo ago
Created

Repo: athola/skrills