migrate-to-skills

Convert Cursor rules and slash commands into Agent Skills format.

Updated Aug 6, 2026
One-click install
npx skills add https://github.com/ferrarifankid04/ai-skills-public --skill migrate-to-skills-ferrarifankid04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/ferrarifankid04/ai-skills-public/tree/main/cursor/skills-cursor/migrate-to-skills
Command: npx skills add https://github.com/ferrarifankid04/ai-skills-public --skill migrate-to-skills-ferrarifankid04

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Cursor projects accumulate 'Applied intelligently' rules (.cursor/rules/.mdc) and slash commands (.cursor/commands/.md) that cannot be discovered or invoked as Agent Skills. This Skill migrates them into the .cursor/skills/ directory with proper SKILL.md frontmatter, preserving the original body content verbatim. ## Core Features & Use Cases - Rule Migration: Converts .mdc rules that have a description but no globs or alwaysApply flag into SKILL.md files with name and description frontmatter. - Command Migration: Converts plain markdown slash commands into SKILL.md files, inferring the description from the first heading and adding disable-model-invocation so they remain user-triggered. - Parallel Subagent Workflow: Dispatches subagents to scan project and user-level directories, migrate files, and delete originals, with support for undoing the migration on request. - Use Case: You have a dozen .cursor/rules/.mdc files and several .cursor/commands/.md files scattered across a project. Run this Skill to consolidate them into .cursor/skills/ so they are discoverable and invocable as Agent Skills. ## Quick Start Migrate all of my Cursor rules and slash commands in this workspace into Agent Skills under .cursor/skills/.

Frequently Asked Questions about migrate-to-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Cursor rules to Agent Skills?

Rules with a description but no globs and no alwaysApply: true qualify for migration. The Skill creates .cursor/skills/{name}/SKILL.md, copies the description into new frontmatter, adds a name field, and preserves the body content exactly.

How to convert Cursor slash commands to SKILL.md format?

Slash commands in .cursor/commands/*.md are always migrated. The Skill infers the description from the first heading, adds name and disable-model-invocation: true frontmatter, and keeps the original markdown body character-for-character.

Which Cursor rules are not migrated to skills?

Rules with globs patterns or alwaysApply: true are skipped because they are context-bound rather than 'Applied intelligently'. Files under ~/.cursor/worktrees and ~/.cursor/skills-cursor are also ignored.

Can I undo a Cursor rules to skills migration?

Yes, the migration is reversible. Ask the assistant to undo the migration and it restores the original .mdc rule files and .md command files by reversing the conversion steps.

Why does my migrated command not auto-trigger in Cursor?

Migrated commands include disable-model-invocation: true by design, so the model never invokes them automatically. They remain explicitly triggered by the user through the slash menu, matching original command behavior.