Skip to main content

Usage

Description

The add 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

string
required
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: git@github.com:owner/repo.git
  • GitLab URL: https://gitlab.com/org/repo
  • Local path: ./my-local-skills
  • Skill filter syntax: owner/repo@skill-name

Options

boolean
Install skills globally to the user directory (~/<agent>/skills/) instead of the current project directory (./<agent>/skills/).Default: false (project-scoped)
string[]
Target specific agents for installation. Accepts multiple agent names or '*' for all agents.Examples:
  • -a claude-code -a cursor
  • --agent '*' (all agents)
Valid agent names: claude-code, opencode, cursor, codex, cline, etc.
string[]
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)
boolean
List all available skills in the repository without installing them.Default: false
boolean
Copy files instead of creating symlinks to agent directories. Use when symlinks aren’t supported.Default: false (uses symlinks)
boolean
Skip all confirmation prompts. Automatically accepts all defaults.Default: false
boolean
Shorthand for --skill '*' --agent '*' -y. Installs all skills to all agents without prompts.Default: false
boolean
Search all subdirectories for skills, even when a root SKILL.md exists.Default: false

Examples

Installation Scope

1

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
2

Global Installation

Skills are installed to ~/<agent>/skills/ in your home directory. These skills are:
  • Available across all projects
  • User-specific (not committed)
  • Persistent after project deletion

Installation Methods

Creates a canonical copy in .agents/skills/ and symlinks from each agent directory. Advantages:
  • Single source of truth
  • Easy updates
  • Saves disk space
Example:

Copy

Creates independent copies in each agent directory. Advantages:
  • Works on Windows without Developer Mode
  • Works in environments where symlinks aren’t supported
Disadvantages:
  • Uses more disk space
  • Updates require reinstallation
Example:

Aliases

The following aliases are available:
  • skills askills add
  • skills installskills add
  • skills iskills add

Interactive Mode

When run without the -y flag, the CLI will prompt you to:
  1. Select skills (if multiple skills are found)
  2. Select agents (if no agents specified with -a)
  3. Choose scope (project vs global)
  4. Choose method (symlink vs copy)
  5. Confirm installation (review summary before proceeding)

Output Example