CLI reference

Search and install need no account; authoring is fully offlineinit, dep, and remove work with no registry, and install reconciles local @local skills without a network call. Sign in only to publish. The surface is scriptable and non-interactive — built for humans at a terminal and agents in a loop.

Consume
  • skg search <keyword> find skills by name or description
  • skg install @scope/name resolve the full closure into .claude/skills/
  • skg install reconcile the project from its manifest/lock (offline for @local skills)
  • skg ls print the installed dependency tree
  • skg ls @scope/name inspect a coordinate before installing
Author (offline, no account)
  • skg init <dir> manage a SKILL.md folder — writes the @local sidecar + manifest entry
  • skg dep add <skill> <dep> wire a dependency edge (a local @local/name, or an @scope/name)
  • skg dep rm <skill> <dep> remove a dependency edge
  • skg dep ls <skill> list a skill's edges
  • skg remove <skill> unmanage a skill (keep its files); --delete-skill removes the folder
Publish
  • skg publish <target…> publish a graph of managed skills, leaves first (stamps @local → @you)
  • skg fork @scope/name scaffold an owned copy of another author's skill
  • skg revert @scope/name flip a fork back to its origin
Account
  • skg login sign in with GitHub, store an API key
  • skg whoami show the @scope you publish under
  • skg logout remove the stored key

Guides →