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 safeskill

Prerequisites

  • Node.js 18 or newer
  • Network access to your Skill sources
Terminal
node -v
npx safeskill --version

Getting started

Recommended: use npx (no global install).
Terminal
npx safeskill --help
Optional global install:
Terminal
npm i -g @safeskill/cli
safeskill --help

First install

Terminal
npx safeskill add example-org/agent-skills
Multiple Skills in one repo may prompt for selection. Use -y to skip confirmations when appropriate.

Command cheat sheet

ActionCommand
Add / installnpx safeskill add <source>
List installednpx safeskill list
Searchnpx safeskill find [keyword]
Check updatesnpx safeskill check
Update allnpx safeskill update
Removenpx safeskill remove [skill-name]
Scaffoldnpx 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.0

Common 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 -y

Hub server (enterprise)

Terminal
export SAFESKILL_HUB_URL=https://hub.example.com
npx safeskill add safeskill://official/acme/code-review@1.2.0

Troubleshooting

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 platformParameter
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