spm

a package manager for agent skills per-repository

Working when we checked on .

Visit spm

What is spm?

spm (Skill Package Manager) is a command-line tool that lets developers declare AI coding-assistant skills as git dependencies in an ai.json manifest and materialize them into their working tree. It targets developers using AI coding tools such as Claude Code, GitHub Copilot CLI, Cursor, Cline, Amp, OpenAI Codex CLI, Gemini CLI, and Windsurf. Skills are pinned by tag, branch, or commit and locked to an immutable SHA in ai.lock for reproducible installs across a team. Materialized skills are gitignored — nothing is committed to the repository, following the node_modules model. It ships as a single self-contained binary for Linux, macOS, and Windows.

spm pricing

Pricing model: Free

spm pros

  • Supports eight AI coding tools: Amp, Claude Code, Cline, OpenAI Codex CLI, GitHub Copilot CLI, Cursor, Gemini CLI, and Windsurf
  • Committed ai.lock pins versions to commit SHAs so teammates get identical skills on fresh clones
  • Materialized skills are gitignored, so nothing is committed to the repo
  • Single cross-platform binary installable via npm, crates.io, or prebuilt releases for Linux, macOS, and Windows
  • Shared global fetch cache in ~/.spm/store clones each repo@commit once across all projects
  • Supports both per-project scope and user-global installs via -g/--global

spm cons

  • Requires the system git, as the binary shells out to it
  • Only manages skills for the eight listed AI tools; other vendors are not supported
  • No pricing or paid support plans are documented

Frequently asked questions about spm

What does spm do?

spm lets developers declare AI skills as git dependencies in ai.json and materialize them for tools like Claude Code, GitHub Copilot CLI, Cursor, and others, without committing skills to their repository.

Which AI coding tools does spm support?

spm projects skills into Amp, Claude Code, Cline, OpenAI Codex CLI, GitHub Copilot CLI, Cursor, Gemini CLI, and Windsurf, each in the project-local location that vendor expects.

Who is spm for?

It is for developers and teams who use AI coding assistants and want to manage shared AI skills as versioned dependencies instead of committing them to their repositories.

How does spm keep installs reproducible?

A committed ai.lock file pins every version selector to an immutable commit SHA, so teammates running spm install on a fresh clone get exactly the same skills.

Are skills committed to my repository?

No. Everything spm materializes into the working tree is gitignored — no symlinks and no skills under version control, following the same model as node_modules.

How can I pin a skill version?

Skills can be pinned by tag, branch, or commit, and are locked to an immutable SHA in the ai.lock file.

What platforms does spm run on?

spm ships as one self-contained binary that runs on Linux, macOS, and Windows. It shells out to the system git, which must be installed.

How do I install spm?

It can be installed via npm, crates.io, or a prebuilt release from the project's GitHub repository.

Can I use spm globally instead of per project?

Yes. The default is per-project scope tracked in ai.json, but passing -g/--global installs a personal skill set available to every project on your machine.

Does spm re-clone skills for every project?

No. Each repo@commit is cloned once into the shared global fetch cache at ~/.spm/store and reused across all projects, so repeated installs never re-clone.

Categories

Use cases

Alternatives to spm

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z