Usage
Description
Theadd command installs skills from various sources including GitHub repositories, Git URLs, direct URLs, or local paths. Skills can be installed globally (available across all projects) or locally (scoped to the current project).
Arguments
Source identifier for the skill repository. Supports:
- GitHub shorthand:
owner/repo - Full GitHub URL:
https://github.com/owner/repo - Direct path to skill:
https://github.com/owner/repo/tree/main/skills/skill-name - Git URL:
[email protected]:owner/repo.git - GitLab URL:
https://gitlab.com/org/repo - Local path:
./my-local-skills - Skill filter syntax:
owner/repo@skill-name
Options
Install skills globally to the user directory (
~/<agent>/skills/) instead of the current project directory (./<agent>/skills/).Default: false (project-scoped)Target specific agents for installation. Accepts multiple agent names or
'*' for all agents.Examples:-a claude-code -a cursor--agent '*'(all agents)
claude-code, opencode, cursor, codex, cline, etc.Install only specific skills by name. Accepts multiple skill names or
'*' for all skills.Examples:-s frontend-design -s skill-creator--skill '*'(all skills)--skill "Convex Best Practices"(skill names with spaces must be quoted)
List all available skills in the repository without installing them.Default:
falseCopy files instead of creating symlinks to agent directories. Use when symlinks aren’t supported.Default:
false (uses symlinks)Skip all confirmation prompts. Automatically accepts all defaults.Default:
falseShorthand for
--skill '*' --agent '*' -y. Installs all skills to all agents without prompts.Default: falseSearch all subdirectories for skills, even when a root SKILL.md exists.Default:
falseExamples
Installation Scope
Project-Scoped (Default)
Skills are installed to
./<agent>/skills/ in your current directory. These skills are:- Committed with your project
- Shared with your team
- Only available in this project
Installation Methods
Symlink (Recommended)
Creates a canonical copy in.agents/skills/ and symlinks from each agent directory.
Advantages:
- Single source of truth
- Easy updates
- Saves disk space
Copy
Creates independent copies in each agent directory. Advantages:- Works on Windows without Developer Mode
- Works in environments where symlinks aren’t supported
- Uses more disk space
- Updates require reinstallation
Aliases
The following aliases are available:skills a→skills addskills install→skills addskills i→skills add
Interactive Mode
When run without the-y flag, the CLI will prompt you to:
- Select skills (if multiple skills are found)
- Select agents (if no agents specified with
-a) - Choose scope (project vs global)
- Choose method (symlink vs copy)
- Confirm installation (review summary before proceeding)
Output Example
Related Commands
skills list- List installed skillsskills remove- Remove installed skillsskills update- Update skills to latest versionsskills check- Check for available updates