Core Concepts
Hub layout
After chain init, your hub has this structure:
Directory~/chain-hub/
Directorycore/ bundled protected + catalog mirror (updated by chain init)
Directoryskills/ 14 protected operations skills (read-only)
- …
Directoryskills/ your + installed skills (flat: skills/<slug>/SKILL.md only)
Directorydebug/
- SKILL.md
Directoryrules/
- global.md applies to all linked editors
Directoryagents/
- …
Directoryworkflows/
- …
Directorylearnings/
Directoryqueue/ capture inbox (JSONL)
- …
Directorydrafts/ reflect output + archive/
- …
- skills-registry.yaml buckets, packs, github_sources
Skill tiers
| Tier | Location | chain remove | How to get it |
|---|---|---|---|
| Protected (14) | core/skills/<slug>/ | Blocked | Every chain init |
| Authoring pack (9) | skills/<slug>/ | Allowed | chain init --with-authoring or chain add |
| Registry / packs | skills/<slug>/ | Allowed | chain add, chain add github:… --pack |
| Chain Hub Pro pack | skills/, agents/, workflows/, rules/ | Allowed | Pro license → chain pro install-pack or hub Dashboard |
| Personal | skills/<slug>/ | Allowed | chain new, manual copy |
Hub paths
-
core/Protected bundled content from the npm package; refreshed bychain init; do not treat as the place for personal authoring. -
skills/Personal, registry, pack, and optional authoring skills; no nested category folders underskills/. -
rules/,agents/,workflows/Hub content types with CLIchain rules,chain agents,chain workflowshelpers. -
skills-registry.yamlTracks provenance, buckets, and GitHub pack sources forchain updateand validation.
If you copy a protected slug into skills/, the hub serves your copy and hides the core entry until you delete the user-side folder.