skill-hub
The package manager for AI agent skills
A package manager that treats agent Skills as versioned, installable packages.
- Active
- 2026
- Go · CLI · AI Agent · Developer Tools
Why
Coding agents became part of daily work, and each of them learned to load reusable Skills. The Skills themselves, though, lived as copied folders — in repositories, in home directories, in four different runtime layouts.
Once a Skill is copied, nobody knows which version is running, where it came from, or how to undo a bad change. skill-hub exists to give Skills the lifecycle that code packages already have.
Problem
No single source of truth: the same Skill drifts apart across Codex, Claude, Gemini and Hermes directories.
No versions or history: an update overwrites a folder and leaves nothing to roll back to.
No discovery: finding a Skill means already knowing its repository path.
Unsafe by default: writing straight into an agent's runtime directory changes its behaviour immediately.
System
skill-hub separates where a Skill is managed from where an agent loads it. Three layers, each with one job.
Registry
Local or Git-backed indexes (
skillhub.index.json, schema v2) that describe what can be installed.Managed store
Installed packages under
$SKILLHUB_HOME, pinned inskillhub.lockwith version, checksum, source ref and history. Updates and rollbacks happen here.Runtime copy
Explicit deploys into the Codex, Claude, Gemini or Hermes skills directory — the only layer an agent actually reads.
Implementation
One Go binary, plus a TUI
Setup, registries, discovery, lifecycle, deploy, publishing and audit live in a single CLI, with an interactive
skillhub tuion top.Package format
skill.yamldeclares name, namespace, version, entry and targets. Folders with only aSKILL.mdstill install — skill-hub generates the metadata for them.Lockfile and history
skillhub.lockrecords checksums and source refs, so installs are reproducible androllbackalways has somewhere to return to.Static catalog
catalog exportwritesindex.htmlandcatalog.json, so a registry can be browsed without running a server.Distribution
Released through Homebrew, npm and
go install, with an npm tarball attached to every tagged release for pinning or mirroring.
Decisions
- D1
Updating never touches the runtime
skillhub updatechanges the managed store only. Replacing what an agent loads takes an explicitdeploy … --force, so an upgrade can never silently change how an agent behaves. - D2
Semver is enforced, not suggested
Patch and minor updates apply automatically. Major bumps and versions marked
compatibility.breakingare skipped until you pass--major, andrequires.skillhubrefuses installs the CLI cannot support. - D3
Discovered is not adopted
Skills already sitting in project folders appear in
listand the TUI, but are never pulled into the managed store behind your back. - D4
A registry is just files
An index in a directory or a Git repository is enough. Sharing Skills inside a team needs no hosted service.
Result
- v1.4.x
- Codex · Claude · Gemini · Hermes
- Homebrew · npm · Go
The v1.4 line added publishing (including a fork-and-PR flow), compatibility enforcement, a confirmation policy for major updates, and a local audit log. The official catalog lives in skill-hub-registry.
Registry signing and trust policy are reserved for v1.5.