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

skillmodule

v0.1.0

Published

CLI tool for managing Agent Skill packages with pnpm-style dependency resolution

Readme

Skill Repo


What Is This?

Skill Repo solves the dependency management problem for Agent Skills — the portable instruction format used by Claude Code, Cursor, Gemini CLI, Codex, and other AI coding agents.

Today, skills are standalone folders. They can't declare dependencies, don't have versions, and break when shared across teams. Skill Repo fixes this by treating skills as npm packages with a pnpm-style content-addressable store.

Key Features

  • 📦 Skills as npm packages — Each skill gets a package.json with a "skill": "SKILL.md" field
  • 🔗 Dependency resolution — Skills can depend on other skills, resolved recursively
  • 🏷️ Versioning — semver + content hash ([email protected])
  • ⛓️ Chain triggering## Dependent Skills table auto-appended to each SKILL.md
  • 💾 Content-addressable store — pnpm-style dedup, same content stored once
  • 🖥️ Multi-platform install — Hard-link to .claude/skills/, .cursor/skills/, etc.
  • 🔄 Incremental reinstall — Only reprocess changed skills (~4.6x faster)

How It Works

┌─────────────────────────────────────────────────┐
│  Your Project                                   │
│  package.json:                                  │
│    dependencies:                                │
│      "@skills/brainstorming": "^1.0.0"          │
│      "@skills/tdd": "^2.0.0"                    │
│                                                 │
│  $ skillmodule install --platform claude          │
│                                                 │
│  .skills/                                       │
│  ├── .content-store/                            │
│  │   ├── [email protected]/SKILL.md     │
│  │   ├── [email protected]/SKILL.md               │
│  │   └── [email protected]/SKILL.md        │
│  ├── brainstorming/SKILL.md  → hardlink         │
│  └── tdd/SKILL.md            → hardlink         │
│                                                 │
│  .claude/skills/                                │
│  ├── brainstorming/SKILL.md  → hardlink         │
│  └── tdd/SKILL.md            → hardlink         │
└─────────────────────────────────────────────────┘

Each installed SKILL.md gets a ## Dependent Skills table appended, enabling chain triggering — agents can discover and load transitive dependencies automatically.

Quick Start

# Install CLI
pnpm install && pnpm build

# Init a skill → generates package.json from SKILL.md
skillmodule init ./my-skill

# Batch init all skills
skillmodule init --all ./skills

# Install skill tree (after npm/pnpm install of dependencies)
skillmodule install

# Install + link to Claude Code
skillmodule install --platform claude

# View dependency tree
skillmodule tree

# Validate skill format
skillmodule validate ./my-skill

# Publish to npm
skillmodule publish ./my-skill

Project Structure

skill-repo/
├── skills/                 # 14 Agent Skills (from superpowers)
│   ├── brainstorming/
│   ├── test-driven-development/
│   ├── systematic-debugging/
│   └── ...
├── src/                    # skillmodule CLI source
│   ├── commands/           # init, install, publish, tree, validate
│   ├── core/               # Parser, resolver, hasher, rewriter, store, installer
│   └── types/              # TypeScript type definitions
├── tests/                  # 47 unit tests + benchmarks
├── examples/               # 5 scenario examples
└── docs/                   # Design documentation

CLI Commands

| Command | Description | |---------|-------------| | skillmodule init [dir] | Generate package.json from SKILL.md frontmatter | | skillmodule install | Resolve deps → hash → rewrite → store → link | | skillmodule publish [dir] | Publish skill package to npm | | skillmodule tree | Visualize dependency tree | | skillmodule validate [dir] | Validate skill package format |

See the CLI section below for full documentation.

Examples

| Example | Scenario | |---------|----------| | basic | Single skill init + validate | | monorepo | Layered dependencies with dedup | | duplicate-name | Same name under different scopes | | multi-version | Multiple versions coexisting | | platform-install | Multi-platform hard-link install |

Design

The full design document is at docs/skill-package-manager-design.md, covering:

  • Core architecture and content-addressable store
  • package.json skill field specification
  • Version + hash strategy (pnpm-inspired)
  • Dependency resolution and cycle detection
  • SKILL.md rewrite rules for chain triggering
  • Multi-platform installation with parent-directory gate
  • Incremental install via lock file

References

License

MIT