Commands
skillpm install [skill...]
Install one or more skills and wire them into agent directories.
What happens:
- Runs
npm installwith the provided arguments - Scans
node_modules/for packages containingskills/*/SKILL.md - Links each discovered skill into agent directories via
skills
skillpm uninstall <skill...>
Remove one or more skills.
Runs npm uninstall, then re-wires agent directories to remove stale links.
skillpm list [--json]
List all installed skill packages.
Shows each skill's name, version (from package.json), description (from SKILL.md), and optional legacy / workspace flags.
Use --json for machine-readable output suitable for scripting and tooling.
skillpm init
Scaffold a new skill package.
This will:
- Run
npm init -y - Add
"agent-skill"tokeywordsinpackage.json - Create
skills/<name>/SKILL.mdwith a template
skillpm publish
Publish a skill package to npmjs.org.
Validates that "agent-skill" is present in package.json keywords, runs skills-ref validate against the Agent Skills spec, then delegates to npm publish.
skillpm sync
Re-scan and re-wire agent directories without reinstalling.
Useful after manual changes to node_modules/ or when agent directories need refreshing.
Monorepo / npm workspace support
When your repo uses npm workspaces, npm creates symlinks inside node_modules/ that point to your first-party skill packages:
skillpm sync detects these symlinks automatically. Each symlinked package is treated as a workspace package and linked from its workspace source.
npm passthrough
Any command not listed above is passed through to npm:
This lets skillpm feel like a focused npm companion instead of a separate package manager.