Documentation

CLI Reference

Command-line tool documentation

Installation

npm install -g skillhub

Available Commands

skillhub install <skill-id>

Install a skill (--platform, --project, --force, --no-api)

skillhub search <query>

Search for skills (--platform, --limit, --page, --sort stars|downloads|rating|recent)

skillhub list

List installed skills (--platform, --project, --all)

skillhub update [skill-name]

Update a skill or use --all to update all

skillhub uninstall <skill-name>

Remove an installed skill (--platform, --project)

skillhub config

Manage CLI settings (--set, --get, --list)

Examples

Install globally:

$ npx skillhub install anthropics/skills/pdf✓ Skill installed to ~/.claude/skills/pdf/

Install in current project:

$ npx skillhub install anthropics/skills/pdf --project✓ Skill installed to ./.claude/skills/pdf/

Search for skills:

$ npx skillhub search pdf

Search sorted by stars:

$ npx skillhub search "code review" --sort stars --limit 5

Update all installed skills:

$ npx skillhub update --all

Supported Platforms

SkillHub CLI supports 5 AI coding platforms:

Claude~/.claude/skills/
Codex~/.codex/skills/
Copilot.github/instructions/
Cursor.cursor/rules/
Windsurf.windsurf/rules/

Configuration

Settings are stored in ~/.skillhub/config.json

defaultPlatform

Default platform for installations

apiUrl

SkillHub API URL

githubToken

GitHub token for higher API rate limits