skillpm install
Install a skill from the Skilldex registry, a GitHub repository, or a local directory.
Usage
skillpm install <source> [--scope <scope>] [--force] [--no-bridge] [--json]Sources
| Source | Example |
|---|---|
| Registry, by qualified name | anthropics/pdf |
| Registry, by bare name | pdf — if several owners publish that name, skillpm asks which one |
| GitHub repository | git+https://github.com/user/repo |
| GitHub subdirectory | git+https://github.com/user/repo/tree/main/skills/my-skill |
| Local directory | ./my-skill or an absolute path |
Flags
| Flag | Default | Description |
|---|---|---|
| -s, --scope <scope> | project | Where to install: global, shared, or project |
| -f, --force | false | Overwrite the skill if it is already installed at this scope |
| --no-bridge | — | Do not link the skill into agent directories (.agents/skills, .claude/skills) |
| --json | — | Output the result as JSON |
The default scope can be changed with skillpm config set defaultScope <scope>.
Examples
# Install from the registry into the current project
skillpm install anthropics/pdf
# Install for every project on this machine
skillpm install anthropics/pdf --scope global
# Install from GitHub
skillpm install git+https://github.com/user/repo/tree/main/skills/my-skill
# Install a skill you are writing
skillpm install ./my-skill
# Reinstall over an existing copy
skillpm install anthropics/pdf --forceExample output
✔ Installed "pdf" at project scope
✓ Score: 100/100 · Trust: verified
Linked into /path/to/project/.agents/skills/pdf
Linked into /path/to/project/.claude/skills/pdfIf the skill has warnings or errors, the full validation report is printed instead of the score line. Warnings never block an install.
What happens on install
- A registry name is looked up to find the skill's source repository.
- The repository is cloned (shallow) and the skill folder located.
- The skill is validated and scored.
- The folder is copied into the scope's
skills/directory and recorded in that scope'sskilldex.json. - The skill is linked into the agent directories for that scope:
.agents/skills/and.claude/skills/, plus Qwen Code, Cline, and Antigravity directories when those agents are installed. A directory that already holds a different skill of the same name is left alone and reported.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Installed |
| 1 | Any error: not found, already installed without --force, ambiguous name in a non-interactive shell, network failure |