Skip to content

Chapter 11 · Packaging & Publishing

A finished skill is a folder. This chapter is about the last mile: getting it onto other people's disks — your teammates', your other machines', and the public's.

Distribution spectrum

From lowest to highest ceremony — pick the first one that works:

Channel How Best for
Project skills Commit to <repo>/.agents/skills/ Team workflows; zero ceremony, versioned with the code
User skills Copy into ~/.agents/skills/ Personal skills across your projects
Git install Clone a repo of skills, copy folders Sharing a curated set without a registry
Registries / marketplaces Community indexes that install from public GitHub repos (e.g. via npx skills-style CLIs; Anthropic plugin marketplaces) Public distribution and discoverability

Project skills are the sweet spot

The most effective distribution channel requires no marketplace at all: a skills directory committed to the repository. Anyone who clones the repo — human or agent — gets the deploy runbook, the commit conventions, the incident procedure. They're reviewed in PRs like code, they version with the code they describe, and new teammates (and their agents) are onboarded on first checkout.

Installing into agents

Copy the skill folder into a discovery path (chapter 2):

# personal, all agents that follow the open convention
cp -r changelog-forge ~/.agents/skills/

# or project-scoped, shared via git
cp -r changelog-forge .agents/skills/

# or a specific tool's directory (that tool may prioritize it)
cp -r changelog-forge ~/.claude/skills/

Then start a fresh session — skills are discovered at startup.

Registries and marketplaces

Community registries index public GitHub repositories that contain skill folders and install them on demand — e.g. the skills.sh ecosystem installs a skill from any public repo with a CLI like npx skills add <owner>/<repo>, and Anthropic's plugin marketplaces bundle skills into installable plugins. The exact commands evolve; the preparation doesn't:

  • a public repo whose skill folders follow the standard layout,
  • a README that names each skill and shows its description,
  • releases/tags so installs are reproducible.

Packaging

Some distribution paths (and Anthropic's web uploader) take a zip. Keep it spec-shaped: the archive contains a single top-level directory named after the skill, with SKILL.md at its root:

zip -r changelog-forge.zip changelog-forge/
# changelog-forge.zip
# └── changelog-forge/
#     ├── SKILL.md
#     ├── assets/…
#     └── scripts/…

Versioning and lifecycle

  • metadata.version — use semver: bump the patch when instructions are clarified, minor when you add capability, major when behavior or triggers change meaningfully.
  • Keep the name and folder stable. Never rename to my-skill-v2 — installations don't migrate, and references from other skills break. Change contents, keep the identity.
  • CHANGELOG in the skill repo (not inside the skill folder) so humans can follow changes.
  • Deprecation — when a skill is superseded, say so in the body's first lines: "Deprecated: use changelog-forge instead." Agents will surface that message to users; leave the skill installed until your audience has moved.

Licensing

  • Set the license frontmatter field — MIT, Apache-2.0, or a pointer to a bundled LICENSE.txt.
  • A LICENSE file in the repository covers the docs and scaffolding; the frontmatter field travels with the skill when it's copied out. Set both.
  • If your skill embeds third-party assets (fonts, icons, schemas), note their licenses in references/ — skills get redistributed, and provenance matters.

Pre-publish checklist

  • [ ] name matches the folder; frontmatter validates (skills-ref validate).
  • [ ] Description < 1024 chars, routes correctly on the trigger eval set.
  • [ ] Scripts are stdlib-only (or dependencies declared in compatibility), deterministic, exit-code driven — and read them once more as if you didn't write them.
  • [ ] No secrets, tokens, internal hostnames, or client data anywhere in the folder — including git history if you're publishing an existing repo.
  • [ ] Unit tests exist and pass on Linux and Windows.
  • [ ] metadata.author and metadata.version set; license set.
  • [ ] Repo README names the skills and shows a short install path.

Chapter 12 · Anti-patterns & FAQ — the failure modes, catalogued.