CLI Reference
Install and manage CursorKits from the command line.
npx cursorkits [command] [options]add
Install a kit or component from the registry.
cursorkits add <type> <name> [-g]
typecommand | rule | skill | agent | command-kit | rule-kit | hooksnameName of the item to install-g, --globalInstall to ~/.cursor/ instead of project-level .cursor/$ npx cursorkits add command review
$ npx cursorkits add rule-kit monorepo-nextjs
$ npx cursorkits add command-kit add-feature
$ npx cursorkits add skill database-migrations -g
$ npx cursorkits add hooks
list
List all available kits in the registry.
cursorkits list [--type <type>] [--tag <tag>]
--typeFilter by kit type--tagFilter by tag$ npx cursorkits list
$ npx cursorkits list --type command-kit
$ npx cursorkits list --tag nextjs
info
Show detailed information about a specific kit.
cursorkits info <name>
nameName of the kit$ npx cursorkits info add-feature
init
Scaffold an empty kit structure in the current directory.
cursorkits init <type> [name]
typecommand | skill | agent | command-kit | rule-kitnameOptional directory name (creates subdirectory)$ npx cursorkits init command-kit my-workflow
$ npx cursorkits init skill database-utils
validate
Validate kit structure in the current directory.
cursorkits validate
$ cd my-kit && npx cursorkits validate
Install Destinations
| Item | Default | With -g |
|---|---|---|
| Commands | .cursor/commands/ | ~/.cursor/commands/ |
| Rules | .cursor/rules/ | ~/.cursor/rules/ |
| Skills | .cursor/skills/ | ~/.cursor/skills/ |
| Hooks | .cursor/hooks/ | ~/.cursor/hooks/ |
| Agents | ~/.cursor/agents/ (always global) | |