SkillPort Distribution System
Purpose
Package reusable agent skills once so they can be installed and shared across machines, people, repos, Codex, Claude Code, and local skill directories.
Use This Workflow
For a new skill-pack repo:
- Pick the repo product name, slug, and promise before packaging files.
- Run
scripts/create-agent-skill-repo.shfrom the SkillPort repo when starting a new skill pack. - Inspect generated placeholders, plugin manifests, README, examples, schemas, and setup script.
- Add or update the real skills.
- Add the GitHub repo shorthand to a SkillPort manifest, usually
config/skill-repos.local.yaml. - Validate locally with:
npx skills add /path/to/generated/repo --list
- Push to GitHub.
- Validate from GitHub:
npx skills add https://github.com/OWNER/REPO --list
For normal cross-machine syncing, use:
./scripts/skillport-sync.sh
This reruns npx skills add <repo> --skill '*' -a codex -g -y for every repo listed in the selected manifest, then runs npx skills update -g -y.
Keep personal repo lists in ignored local files such as config/skill-repos.local.yaml, or pass a separate manifest with --repos-file. The public SkillPort repo should only ship a neutral example manifest.
Use the sync script for normal machine setup. Use local symlink scripts only for active local development where live edits should be visible before pushing.
GitHub Template Rule
GitHub template repositories copy an entire repo. They do not directly template a subdirectory.
Use the generator for normal SkillPort workflows. Create a separate minimal GitHub template repo only if you need the GitHub UI or gh repo create --template flow.