npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

spmjs

v0.0.3

Published

Skill Package Manager for Git-based agent skills

Readme

SPM (Skill Package Manager)

npm version npm downloads CI Release License: MIT

SPM is a local Skill Package Manager for the current project.

It focuses on:

  • Resolving skill sources (GitHub, skills.sh)
  • Cloning and extracting skill subdirectories
  • Installing Skills under .agents/skills/
  • Maintaining skills.json

Why SPM

SPM treats Git repositories as the source of truth for Skills. It installs a Skill from a repo or subdirectory, locks the result to a commit, and places the installed files under .agents/skills/<name>/ so teams can review, share, and update Skills with normal Git workflows.

For the full design direction, see the proposal.


Features

  • Install skills from multiple sources:
    • GitHub repos and subdirectories
    • GitHub tree / blob URLs (including SKILL.md)
    • skills.sh skill pages
  • Copy skill code into .agents/skills/<name>/
  • Track installations in skills.json
  • Implemented in TypeScript, built with tsdown, tested with vitest

Install & Build

From the spm/ directory:

cd spm
pnpm install --frozen-lockfile

Run without installing:

npx spmjs --help
npx spmjs install https://github.com/github/awesome-copilot/tree/main/skills/git-commit

Build the CLI:

pnpm build

Run the CLI:

node dist/cli.mjs --help
# or, if installed or linked globally:
spm --help

package.json declares:

"bin": {
  "spm": "./dist/cli.mjs"
}

The published package name is spmjs, and the installed executable is spm.


CLI Commands

All commands are intended to run from the project root (where skills.json lives).

install

Install a skill from a source string:

# 1) GitHub repo
spm install github/awesome-copilot

# 2) GitHub tree subdirectory
spm install https://github.com/github/awesome-copilot/tree/main/skills/git-commit

# 3) GitHub blob URL (parent directory is used as subdir)
spm install https://github.com/github/awesome-copilot/blob/main/skills/git-commit/SKILL.md

# 4) skills.sh
spm install https://skills.sh/github/awesome-copilot/git-commit

Install flow:

  1. Parse the source into repo, subdir, ref
  2. git clone the repository and extract the subdirectory
  3. Copy the directory into .agents/skills/<name>/
  4. Update skills.json

list

spm list

Example output:

Installed skills (1):

  git-commit  https://github.com/github/awesome-copilot (skills/git-commit)  @5847a7c

remove

spm remove git-commit

What happens:

  1. Read skills.json
  2. Remove .agents/skills/<name>/
  3. Update skills.json and remove the skill entry

update

spm update git-commit

What happens:

  1. Read source / subdir / ref from skills.json
  2. Clone the repo again and extract the subdir
  3. Replace .agents/skills/<name>/
  4. Update commit in skills.json

Project Layout

After installing skills, the project root looks like:

project/
├─ skills.json
├─ .agents/
│  └─ skills/
│     └─ <name>/               # Installed skill directory

skills.json example:

{
  "skills": {
    "git-commit": {
      "source": "https://github.com/github/awesome-copilot",
      "subdir": "skills/git-commit",
      "ref": "main",
      "commit": "5847a7c7e79bab3e400cf47800b83449d7aea2d4"
    }
  }
}

Tech Stack

  • Language: Node.js + TypeScript
  • Build: tsdown (target node20, ESM output dist/cli.mjs)
  • Testing: vitest (src/parser.test.ts covers GitHub / skills.sh URL parsing)
  • Runtime deps:
    • commander – CLI argument parsing
    • execa – running git
    • fs-extra – filesystem utilities

Contributing

Contribution guidelines are in CONTRIBUTING.md. Release instructions are in docs/RELEASING.md.