pnpm plugin
pnpm-plugin-skills automatically installs agent skills during pnpm install.
How it works
The plugin hooks into pnpm's preResolution lifecycle and performs skill synchronization before dependency resolution. A typical run will:
- Read
skills.jsonfrom the workspace root - Resolve the manifest into an in-memory installation plan
- Materialize skills into
installDir - Create symbolic links for all
linkTargets - Update the internal install state for future incremental runs
Enable it
Then add the following to the workspace root:
Suitable team scenarios
- You want developers to run only
pnpm installwithout remembering extra skill installation commands - You want skill dependencies to be initialized together with Node dependencies in a monorepo
- You want CI to restore skill context in a unified way
Relationship with the CLI
The pnpm plugin does not replace the CLI. A typical recommendation is:
- Use
npx skills-package-manager addto manage manifest changes - Use
pnpm installfor automatic day-to-day synchronization - Use
npx skills-package-manager updateto proactively refresh remote skill versions