Cursor reads rules from your project. skillmd installs skills into that location for you,
or plugs in over MCP so Cursor’s agent can pull context on demand.
Install a skill
npx @getskillmd/cli add <skill>
The CLI detects Cursor and writes the skill into its rules. See
CLI commands for the full reference.
Connect over MCP
Add the MCP server so Cursor can generate and fetch skills
itself:
{
"mcpServers": {
"skillmd": {
"command": "npx",
"args": ["-y", "@getskillmd/mcp"]
}
}
}
Open MCP settings
Add the snippet to your Cursor MCP configuration.
Enable the server
Toggle skillmd on in Cursor’s MCP panel.
Use it inline
Ask Cursor to generate a skill for a library, then build against it.
Editors evolve their rules format often — the CLI tracks where each editor expects
context, so skillmd add keeps working across Cursor, Windsurf, Antigravity, and VS Code.