agentleFS
scoobydont-666scoobydont-666/shared-claude-skills/skills/claude-to-cursor/SKILL.md

claude-to-cursor

Skill1 starsChanged 5 months agoMITView on GitHub

Convert Claude Code skills to Cursor-compatible rules (.mdc/.md files) for sharing or use in Cursor workspaces. Does NOT modify local Claude Code setup — outputs go to a separate repo. Trigger on: "convert to cursor", "cursor rules", "port to cursor", ".mdc", "cursor format", or any request to export skills for Cursor users.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Remove Claude-specific tool references (Agent tool, Bash tool, Read/Write/Edit, MCP)

    line 54
  2. Distinctive:

    NEVER modify local Claude Code skills or configuration

    line 87
  3. Distinctive:

    All output goes to the claude-to-cursor repo only

    line 88
  4. Distinctive:

    Keep attribution on all converted files

    line 89
  5. Distinctive:

    Test in Cursor before marking as ready

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Claude to Cursor Converter

Export Claude Code skills as Cursor-compatible rule files for sharing. All output goes to a dedicated repo — never modifies local Claude Code configuration.

Cursor Rule Format (.mdc)

Cursor uses .mdc files (Markdown with frontmatter) in .cursor/rules/:

---
description: One-line description (used for rule matching)
globs:
  - "**/*.py"          # optional: file patterns this rule applies to
alwaysApply: false      # true = always loaded, false = matched by description
---

# Rule Title

Rule content here. Markdown format.

Key differences from Claude SKILL.md:

  • Extension: .mdc (not .md — Cursor's convention for rules)
  • No name: field — filename is the identifier
  • globs: for file-pattern matching (Claude uses description triggers)
  • alwaysApply: replaces Claude's always-loaded behavior
  • No references/ subdirectory convention — inline or split into companion rules

Conversion Process

1. Classify the skill

TypeConverts?Notes
Persona (infosec-architect, cpa-tax-specialist)YesDirect conversion, strong match
Workflow (tdd, write-a-prd, prd-to-plan)YesDirect conversion
Code quality (code-consistency, code-quality)YesUse globs for language-specific rules
Tool-specific (token-miser, budi-analytics)NoClaude Code-only features
Infrastructure (fleet-manager, openclaw-ops)PartialRemove Claude-specific tool refs

2. Transform content

  1. Strip YAML frontmatter, rewrite as Cursor frontmatter (description, globs, alwaysApply)
  2. Remove Claude-specific tool references (Agent tool, Bash tool, Read/Write/Edit, MCP)
  3. Inline small reference files (<200 lines) directly
  4. Large references → separate .mdc companion files
  5. Replace "Claude Code" with generic "AI assistant" where contextual
  6. Add attribution: <!-- Converted from Claude Code skill: <name> -->

3. Output structure

claude-to-cursor/
├── rules/                    # Converted .mdc files
│   ├── tdd.mdc
│   ├── tdd-tests-ref.mdc    # Large reference companion
│   ├── code-quality.mdc
│   └── ...
├── agents/                   # Converted agent files
│   └── ...
└── scripts/
    └── convert.sh            # Batch conversion script

4. What to skip

  • token-miser (Claude Code subagent routing — no Cursor equivalent)
  • budi-analytics (Claude Code hook analytics — Cursor-specific)
  • skill-updater (meta-skill for Claude Code skill management)
  • inbound-sync (claude.ai ↔ Claude Code sync workflow)
  • openclaw-ops (primary-host-specific deployment)
  • fleet-manager (SSH/Ansible fleet ops — not IDE-relevant)
  • ansible-hardening (infrastructure, not IDE-relevant)

Rules

  • NEVER modify local Claude Code skills or configuration
  • All output goes to the claude-to-cursor repo only
  • Keep attribution on all converted files
  • Test in Cursor before marking as ready
  • .mdc extension for rules, .md for agents

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.