Skip to content

Errors and exit codes

Exit codes

CodeMeaning
0Success (also init cancel after declining parent-git confirmation)
≠ 0Error — message on stderr; with --debug, extra diagnostics

Common failures

SituationTypical fix
Missing ProjectManifestRun skli init
Package id already installedUse skli restore / skli update, or skli remove first
gh missing or not authenticatedInstall GitHub CLI; gh auth login or set GH_TOKEN
Unknown IdeIdUse cursor, claude, codex, copilot, windsurf
--gitignore with --globalDrop one of the flags (gitignore is project-only)
Invalid selection on update/restore/removeProvide --all, or <kind> <id>, or an install path — not mixed invalidly
Local package targeted by update/restoreOnly source=repos packages refresh; remove/re-add local instead
GitHub install without :pathAdd a package path: owner/repo:skills/foo or a blob URL

Command-specific rules live under each command page and the mirrored specs.

Released under the MIT License.