Skip to content
Development
Command

/sync-from-cursor

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

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-from-cursor

Context preview

What this command does when you run it.

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

Command definition

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

Sync from Cursor

Sync from Cursor IDE using the skrills MCP server.

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

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

Parse `$ARGUMENTS` for:

  • `--to <agent>` or `-t <agent>`: Target agent (default: claude)
  • `--dry-run` or `-n`: Preview mode

This reads from `~/.cursor/`:

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

Report:

  • Artifacts synced per type
  • Cursor-only hook events (afterFileEdit, beforeShellExecution) preserved in raw content
  • Files created/updated in target directory

Handle errors:

  • If Cursor directory doesn't exist: Report and exit cleanly
  • If target invalid: List valid options (claude, codex, copilot)
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