Publishing a Pack Locally
Lay out a pack so any skill-aware runtime recognises it without a bespoke loader
Use when: a new skill pack is ready to be used by an agent runtime on the same machine
Avoid when: the skills are consumed by a hosted service with its own ingestion format
Procedure
- Create the pack root with pack.json at the top level
- Write each skill to skills//SKILL.md
- Include a skill_count and a SHA-256 per file in the manifest
- Generate a catalog so a human can browse without opening every file
- Point the runtime at the parent directory so discovery finds the pack
- Verify the server lists the pack and returns one skill by slug
Signals
- the manifest's skill_count matches the number of skill files
- every manifest path resolves on disk
- the catalog lists all slugs
- a runtime pointed at the parent directory finds the pack
Patterns
1. Pack layout
pack.json, skills/<slug>/SKILL.md, results/catalog.md
2. Manifest entry
{"slug":..., "path":"skills/x/SKILL.md", "sha256":...}
3. Runtime pointer
serve --packs-root <parent directory>
Pitfalls
- Putting pack.json below the skill directory so discovery misses it
- Committing skills without the manifest, leaving consumers unable to verify
- Pointing the runtime at the pack itself when it expects a parent directory
Done when
- a runtime discovers the pack from its parent directory
- the manifest validates against the files on disk