CLI Commands
Reference for all available Skani CLI commands
Global Cache
Skills are cached at ~/.skani/registry/skill/<id>/. When installing, if a skill is already cached, symlinks are created in your project instead of re-downloading. Use --refresh to force a fresh download.
Core Commands
init
skani init [project-name]Initialize a new skani.json file in the current directory.
install
skani install <GitHub URL> [--refresh]Install a skill from GitHub. Uses global cache if available. Use --refresh to force re-download.
install-all
skani install-allInstall all skills listed in skani.json. Useful for reproducing environments.
list
skani listList all installed skills with their versions and sources.
remove
skani remove <skill-id>Remove an installed skill from the project. Does not remove from global cache.
search
skani search <query>Search for skills in central registry by name, description, or tags.
info
skani info <skill-id>Display detailed information about a skill including versions and install command.
update
skani update <skill-id>Update an installed skill to the latest version. Always refreshes from remote.
registry list
skani registry listList all available kits from the remote registry.
registry install
skani registry install <name> [--replace] [--refresh]Install a kit from the remote registry. Use --replace to clear existing skills, --refresh to force re-download.
cache list
skani cache listList all skills in the global cache (~/.skani) with their sizes.
cache clean
skani cache cleanClear the entire global cache. Useful for freeing disk space or forcing fresh downloads.
Local Kit Commands
Work with local .skani.json kit files. For remote registry kits, use registry install.
kit list
skani kit listList all available local kit files (.skani.json) in current directory.
kit install
skani kit install <name> [--replace]Install skills from a local kit file. Use --replace for clean install.
kit restore
skani kit restoreRestore skani.json from most recent kit install backup.