SafeSkill CLI Docs
Install, list, update, and remove AI Agent Skills from the command line. Works with GitHub, GitLab, local folders, and SafeSkill Hub URLs.
Package:
@safeskill/cli · invoke via npx safeskillPrerequisites
- Node.js 18 or newer
- Network access to your Skill sources
Terminal
node -v
npx safeskill --versionGetting started
Recommended: use npx (no global install).
Terminal
npx safeskill --helpOptional global install:
Terminal
npm i -g @safeskill/cli
safeskill --helpFirst install
Terminal
npx safeskill add example-org/agent-skillsMultiple Skills in one repo may prompt for selection. Use -y to skip confirmations when appropriate.
Command cheat sheet
| Action | Command |
|---|---|
| Add / install | npx safeskill add <source> |
| List installed | npx safeskill list |
| Search | npx safeskill find [keyword] |
| Check updates | npx safeskill check |
| Update all | npx safeskill update |
| Remove | npx safeskill remove [skill-name] |
| Scaffold | npx safeskill init [name] |
Source formats
Terminal
npx safeskill add owner/repo
npx safeskill add https://github.com/owner/repo
npx safeskill add https://gitlab.com/group/repo
npx safeskill add ./my-skills
npx safeskill add safeskill://official/acme/code-review@1.2.0Common flags
add: -g global, -a <agent> target agents, -s <skill> pick Skill, -l list only, -y yes, --all, --copy
remove: -g, -a, -y, --all
list: -g, -a, --json
Typical workflows
Terminal
npx safeskill add owner/repo --list
npx safeskill add owner/repo --skill code-review -y
npx safeskill add owner/repo -a claude-code -a codex -y
npx safeskill add owner/repo -g -y
npx safeskill check && npx safeskill update
npx safeskill remove my-skill -yHub server (enterprise)
Terminal
export SAFESKILL_HUB_URL=https://hub.example.com
npx safeskill add safeskill://official/acme/code-review@1.2.0Troubleshooting
No skills found — invalid or missing SKILL.md, or front matter without name / description.
Permission errors — check write access; on Windows try --copy for symlink limits.
Agent flag ignored — ensure the agent is installed; re-run add with -a <agent>.
Security tips
- Install only from trusted sources
- Prefer --list then --skill for precise installs
- In CI, combine -y with fixed --agent and --skill
-a agent parameter values
Use -a / --agent to target an Agent environment. The table below lists supported Agent platforms and their parameters.
| Agent platform | Parameter |
|---|---|
| Amp, Kimi Code CLI, Replit, Universal | amp,kimi-cli,replit,universal |
| Antigravity | antigravity |
| Augment | augment |
| Claude Code | claude-code |
| OpenClaw | openclaw |
| Cline, Warp | cline,warp |
| CodeBuddy | codebuddy |
| Codex | codex |
| Command Code | command-code |
| Continue | continue |
| Cortex Code | cortex |
| Crush | crush |
| Cursor | cursor |
| Deep Agents | deepagents |
| Droid | droid |
| Firebender | firebender |
| Gemini CLI | gemini-cli |
| GitHub Copilot | github-copilot |
| Goose | goose |
| Junie | junie |
| iFlow CLI | iflow-cli |
| Kilo Code | kilo |
| Kiro CLI | kiro-cli |
| Kode | kode |
| MCPJam | mcpjam |
| Mistral Vibe | mistral-vibe |
| Mux | mux |
| OpenCode | opencode |
| OpenHands | openhands |
| Pi | pi |
| Qoder | qoder |
| Qwen Code | qwen-code |
| Roo Code | roo |
| Trae | trae |
| Trae CN | trae-cn |
| Windsurf | windsurf |
| Zencoder | zencoder |
| Neovate | neovate |
| Pochi | pochi |
| AdaL | adal |