Skip to main content

skillship

Resolve, lock and deliver curated subsets ("distros") of Agent Skills, with their declared dependencies, as zips, skill uploads or commits to a recipient's skill or plugin repository.

It works on any repository of Agent Skills, including Claude Code plugin marketplaces, and the skills it delivers run in Claude Code, Claude Cowork and any other Agent Skills–compatible agent.

What Is This For

Typical use cases:

  • Hand a customer or partner the skills of one topic, together with every skill those skills depend on, and nothing else from your repository.
  • Keep that delivery current: a recipient gets a new zip, commit, pull request or merge request whenever the selected skills change.
  • Review what a recipient receives before it leaves: the resolved selection is a committed lock file, so a change to it shows up as a diff.
  • Take changes a recipient made to a delivered skill back into your source repository as patches.

Installation

pip install skillship
# or, with uv:
uv add skillship

Requires Python 3.10+.

To run it without installing, for example in CI:

uvx skillship --version

Usage

skillship reads from a source repo, the repository your skills are written in, and delivers to a target: an archive, an upload, or a recipient's repository. One recipient's selection is a distro.

Declare what each skill requires

A skill names the skills it cannot work without in its SKILL.md frontmatter. Each value is one whitespace-separated string, because the Agent Skills specification types metadata values as strings:

metadata:
  requires: >-
    billing-knowledge
    other-plugin:invoice-export
  suggests: >-
    other-plugin:tax-report

A bare name is a skill of the same plugin, and plugin:skill a skill of another plugin. skillship follows requires when it resolves a distro, and only reports suggests.

Describe a distro

A distro is a directory distros/<name>/ in the source repo. Its profile, distro.yaml, states what to deliver and where:

recipient: ACME GmbH
include:
  - billing:invoice-*
exclude:
  - billing:invoice-internal-audit
layout:
  shape: skills
targets:
  - type: archive
  - type: git
    url: https://github.com/acme/agent-skills.git
    branch: main
    mode: pull-request

The layout shape decides how the delivered tree looks:

Shape Delivered tree
skills skills/<skill>/, every skill side by side, without plugins
plugins plugins/<plugin>/ per source plugin that ships a skill, each with a generated plugin.json and README, and a .claude-plugin/marketplace.json listing them
plugin One plugin, plugins/<name>/, merging every shipped skill, with its plugin.json, README and marketplace.json

A generated plugin.json keeps the source plugin's fields except repository, homepage and component paths, and its dependencies name only plugins that ship, plus those of other marketplaces. layout.root puts the tree in a subdirectory, layout.marketplace names the marketplace (default: the distro name), and layout.name and layout.description describe the merged plugin.

plugin-extras.mcp: true delivers each shipping plugin's .mcp.json, CONNECTORS.md and connectors/, merged where the shape merges plugins. plugin-extras.readme: true adds a README listing the skills to the skills shape; the plugin shapes always generate one per plugin.

Lock, build and deliver

skillship lock acme        # resolve the profile into distros/acme/distro.lock.yaml
skillship build acme       # write the staging tree and archives to dist/
skillship deliver acme     # run every target of the profile
skillship drift acme       # report what the recipient changed since the last delivery

lock writes the exact set of skills and files a recipient receives, with the reason for each, into a lock file you commit. build and deliver read the lock and nothing else, and build refuses a lock that no longer matches the profile and the source repo.

The lock lists file paths, not their content: editing the text of a delivered file leaves it unchanged, while adding, removing or renaming a file or a skill, or changing what a skill requires, changes it. skillship lock --all --check in CI therefore fails exactly when a commit changes what a recipient receives.

lock also reports every mention of a skill that does not ship, in the delivered Markdown, outside templates/ and examples/. A mention is `/skill`, `plugin:skill` or "the `skill` skill"; a bare backticked name counts as an illustration. Each mention gets a status:

Status Meaning Blocks the lock
suggested A shipped skill lists it under suggests No
conditional The paragraph says "when installed" No
acknowledged The profile lists it under acknowledge: No
blocking None of the above Yes

For a blocking mention, lock prints the profile edits that fix it: an include: entry, with the skills it would pull in, or an acknowledge: entry.

build rewrites the delivered copy, never the source, and the lock counts the rewrites per file; skillship lock --explain prints each one:

  • A delivered SKILL.md keeps only the metadata.suggests entries that ship.
  • In the skills and plugin shapes, plugin-qualified names are flattened, because the source plugins no longer exist: /plugin:skill becomes /skill (or /<name>:skill in the merged plugin). An attribution after a skill's name loses its plugin (or names the merged plugin): "(`plugin` plugin)", "(`plugin` plugin, when installed)", "(`plugin`)", "…, `plugin` plugin)" and ", from the `plugin` plugin when installed". Only names of skills that ship are rewritten.

Any other mention of a source plugin in a flattened delivery blocks the lock, since rewriting it would mean guessing. Reword it in the source, or list the plugin's name under acknowledge: to deliver the mention as it is.

A relative link in delivered Markdown that resolves in the source repo but not in the delivered tree blocks the lock too, for example a skill linking its plugin's CONNECTORS.md while the MCP extras do not ship. lock names the fix: the include: or plugin-extras entry that ships the target, or a rewording of the link in the source. Links in templates/ and examples/ are not checked.

Command Reference

Command Description
skillship lock <name> Resolves a distro's profile into its lock file and reports references that would dangle
skillship lock --all Does the same for every distro of the source repo
skillship lock … --check Fails when a lock is stale instead of rewriting it; meant for CI
skillship lock … --explain Prints every rewrite of the delivered copy as before/after lines
skillship build <name> [--out DIR] Builds the staging tree and archives from the lock into DIR (default dist/)
skillship deliver <name> [--target T] [--dry-run] Runs the distro's targets, or one of them; --dry-run writes nothing
skillship drift <name> Reports recipient-side changes to delivered files and writes merge-back patches
skillship -C DIR … Uses DIR as the source repo instead of the git work tree around the current directory
skillship --version Prints the installed version

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT — see LICENSE.

Metadata

Release files for skillship 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skillship 0.2.0
File Size Uploaded Provenance Actions
skillship-0.2.0.tar.gz 114.5 kB Without provenance Details for skillship-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skillship 0.2.0
File Interpreter ABI Platform Actions
skillship-0.2.0-py3-none-any.whl Python 3 none any Details for skillship-0.2.0-py3-none-any.whl

Total release size: 149.6 kB

Release files / skillship-0.2.0.tar.gz

Download URL skillship-0.2.0.tar.gz
Size 114.5 kB
Tags Source
SHA-256 checksum
How to use checksums
64a1c74b25f4d136682c085e5b825b6cfbab9e6a07a145f2579cde4bf09835c3
BLAKE2b-256 checksum
How to use checksums
9d3e4baacaa6bab00ad488edf323f1cfc1719be66860fe49374b851907ef902a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / skillship-0.2.0-py3-none-any.whl

Download URL skillship-0.2.0-py3-none-any.whl
Size 35.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e9a4d93cc5ce2113759e519874c4b441c016f556623bfd2de25df0628573387
BLAKE2b-256 checksum
How to use checksums
8e64f3536739ef7b0f5fe00fd42d24f9eac439f237d413824591c6cf5c54c7f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for skillship 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page