Commands Overview
The Skills CLI provides commands for managing agent skills across your projects.Core Commands
add
Install skills from git repositories, URLs, or local paths.
string
required
Source to install skills from. Supports:
- GitHub shorthand:
owner/repo - Full GitHub URL:
https://github.com/owner/repo - Direct skill path:
https://github.com/owner/repo/tree/main/skills/my-skill - GitLab URL:
https://gitlab.com/org/repo - Any git URL:
git@github.com:owner/repo.git - Local path:
./my-local-skills
Options
boolean
Install to user directory (
~/<agent>/skills/) instead of project directory (./<agent>/skills/)string[]
Target specific agents for installation. Use
'*' to target all installed agents.Examples:-a claude-code-a claude-code cursor--agent '*'
string[]
Install specific skills by name. Use
'*' to install all skills from the source.Examples:-s frontend-design--skill pr-review commit-helper--skill '*'
boolean
List available skills in the repository without installing them.
boolean
Copy files instead of creating symlinks. Use when symlinks aren’t supported (e.g., Windows without Developer Mode).
boolean
Skip all confirmation prompts. Useful for CI/CD and automated installations.
boolean
Shorthand for
--skill '*' --agent '*' -y. Installs all skills to all agents without prompts.boolean
Search all subdirectories even when a root SKILL.md exists. Useful for repositories with skills at multiple levels.
Examples
remove
Remove installed skills from agents.
string[]
Optional skill names to remove. If omitted, shows interactive selection menu.
Options
boolean
Remove from global scope (
~/<agent>/skills/) instead of project scope.string[]
Remove from specific agents. Use
'*' to remove from all agents.string[]
Specify skills to remove. Use
'*' to remove all skills.boolean
Skip confirmation prompts.
boolean
Shorthand for
--skill '*' --agent '*' -y. Removes all skills from all agents.Examples
list
List all installed skills.
ls
Options
boolean
List only global skills. By default, lists both project and global skills.
string[]
Filter results by specific agents.
Examples
find
Search for skills interactively or by keyword.
search, f, s
string
Optional search keyword. If omitted, opens interactive search (fzf-style).
Examples
check
Check for available skill updates.
Skills installed from local paths cannot be checked for updates automatically. You’ll see a message indicating which skills were skipped.
update
Update all installed skills to their latest versions.
upgrade
Automatically checks for and installs updates for all trackable skills.
init
Create a new skill template.
string
Optional skill name. If omitted, creates
SKILL.md in current directory. If provided, creates <name>/SKILL.md.Examples
experimental_install
Restore skills from skills-lock.json.
i, install (when no arguments provided)
Restores project skills from the lock file, similar to npm install. Useful for:
- Setting up a new development environment
- Ensuring team members have consistent skills
- CI/CD environments
experimental_sync
Sync skills from node_modules into agent directories.
node_modules for skills and installs them to agent directories.
Options
string[]
Specify agents to sync to. Use
'*' for all agents.boolean
Skip confirmation prompts.
Examples
Global Options
These options work with any command:boolean
Show help message for the command.
boolean
Show CLI version number.
Installation Scope
Installation Methods
When installing interactively, choose between:Environment Variables
The CLI respects these environment variables:Examples by Use Case
Setting up a new project
Setting up a new project
Installing for multiple agents
Installing for multiple agents
CI/CD automation
CI/CD automation
Keeping skills updated
Keeping skills updated
Managing global skills
Managing global skills
Related Documentation
Skill Format
Learn how to create SKILL.md files
Agent Config
Agent configuration reference
Compatibility
Agent feature compatibility
Troubleshooting
Common issues and solutions