Reference & CLI
Command overview
| Command | Description |
|---|---|
chain init | Initialize Chain Hub: core assets, user skills/ directory, and skills-registry.yaml |
chain setup | Create symlinks for all detected IDEs |
chain status | Show symlink health per IDE |
chain add | Install a skill from registry or github:<owner>/<repo> |
chain remove | Remove an installed skill |
chain remove-pack | Remove a GitHub skill pack (all non-core skills, registry bundle, and skills/ directories) |
chain list | List all skills with source label |
chain search | Search Chain Hub registry and the skills.sh open directory (set SKILLS_API_URL to override) |
chain find | Same as `chain search` — alias for users of `npx skills find` |
chain new | Scaffold a new skill from template |
chain rename | Rename an existing skill |
chain validate | Validate skills and workflows |
chain update | Update installed skills from their source (registry or GitHub) |
chain fix | Auto-fix missing sections and frontmatter in skills and workflows |
chain provenance | Show or manage per-skill install provenance (origin) |
chain reflect | Analyze recent learnings and propose improvements |
chain capture | Record a learning event (success, failure, correction, note) or a memory rule |
chain hub | Start the local Chain Hub web dashboard server |
chain mcp | Start a local MCP server that exposes Chain Hub Brain to any MCP-compatible IDE |
chain compress | Compress a skill to a token-efficient version (strips frontmatter boilerplate, large code blocks, and verification checklists) |
chain fetch-prompts | Download design-style prompts from designprompts.dev |
chain rules | Manage rules in your hub (~/chain-hub/rules) |
chain agents | Manage agents in your hub (~/chain-hub/agents) |
chain workflows | Manage workflows in your hub (~/chain-hub/workflows) |
chain sync | Synchronize skills across devices via Git |
chain active-project | Register the editor workspace Chain Hub treats as “this project” |
chain skill-usage | Track and inspect local skill invocation usage (Library Health) |
chain memory | Manage Universal Memory Engine |
chain pulse | Read-only project health check: roadmap catalog, changelog drift, unstaged artifacts, recent commits |
chain roadmap | Maintain the public roadmap catalog (roadmap.yaml) |
chain config | Manage persisted settings in ~/.config/chain-hub/config.json |
chain pro | Chain Hub Pro license |
Full detail lives in the CLI docs: cli/README.md