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.
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:
[email protected]:owner/repo.git - Local path:
./my-local-skills
Options
Install to user directory (
~/<agent>/skills/) instead of project directory (./<agent>/skills/)Target specific agents for installation. Use
'*' to target all installed agents.Examples:-a claude-code-a claude-code cursor--agent '*'
Install specific skills by name. Use
'*' to install all skills from the source.Examples:-s frontend-design--skill pr-review commit-helper--skill '*'
List available skills in the repository without installing them.
Copy files instead of creating symlinks. Use when symlinks aren’t supported (e.g., Windows without Developer Mode).
Skip all confirmation prompts. Useful for CI/CD and automated installations.
Shorthand for
--skill '*' --agent '*' -y. Installs all skills to all agents without prompts.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.
Optional skill names to remove. If omitted, shows interactive selection menu.
Options
Remove from global scope (
~/<agent>/skills/) instead of project scope.Remove from specific agents. Use
'*' to remove from all agents.Specify skills to remove. Use
'*' to remove all skills.Skip confirmation prompts.
Shorthand for
--skill '*' --agent '*' -y. Removes all skills from all agents.Examples
list
List all installed skills.
ls
Options
List only global skills. By default, lists both project and global skills.
Filter results by specific agents.
Examples
find
Search for skills interactively or by keyword.
search, f, s
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.
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
Specify agents to sync to. Use
'*' for all agents.Skip confirmation prompts.
Examples
Global Options
These options work with any command:Show help message for the command.
Show CLI version number.
Installation Scope
| Scope | Flag | Location | Use Case |
|---|---|---|---|
| Project | (default) | ./<agent>/skills/ | Committed with project, shared with team |
| Global | -g | ~/<agent>/skills/ | Available across all projects |
Installation Methods
When installing interactively, choose between:| Method | Description | When to Use |
|---|---|---|
| Symlink (Recommended) | Creates symlinks from agent directories to canonical copy in .agents/skills/ | Default choice, easy updates |
| Copy | Creates independent copies for each agent | When symlinks not supported (e.g., Windows) |
Environment Variables
The CLI respects these environment variables:| Variable | Description |
|---|---|
INSTALL_INTERNAL_SKILLS | Set to 1 or true to show skills marked as internal: true |
DISABLE_TELEMETRY | Disable anonymous usage telemetry |
DO_NOT_TRACK | Alternative way to disable telemetry |
GITHUB_TOKEN | GitHub token for higher API rate limits |
CLAUDE_CONFIG_DIR | Custom Claude Code config directory (default: ~/.claude) |
CODEX_HOME | Custom Codex home directory (default: ~/.codex) |
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