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

pi-skill-stacks

v0.6.0

Published

Pi package that groups skills into named stacks you can manage from a /stacks overlay — toggle stacks on/off and re-stack skills without editing JSON. Exclusions are written through pi's own settings override mechanism.

Downloads

101

Readme

pi-skill-stacks

A pi package that groups skills into named stacks you can toggle on and off. Disabled skills leave the system prompt, /skill: commands, and discovery.

Install

pi install npm:pi-skill-stacks

Use

/stacks opens an overlay. Left pane: stacks with on/off state. Right pane: the selected stack's members. enter on a member shows its markdown.

| Pane | Keys | | --- | --- | | stacks | ↑/↓ select · space on/off · → members · a add skills · n new stack · d delete · esc close | | members | ↑/↓ move · space remove · → view · a add skills · ← back | | viewer | ↑/↓ scroll (mouse wheel in fullscreen) · ← back |

a opens a picker of skills not yet in any stack. Type to filter it, space to mark several, enter to add. To move a skill between stacks, space it out of one and a it into the other.

With no stacks defined, enter (or n) creates the first one and opens the picker right after.

From the command line: /stacks on <stack>, /stacks off <stack>, /stacks list.

How it works

Stacks live in ~/.pi/agent/skill-stacks.json (PI_CODING_AGENT_DIR is honoured). You can edit it by hand:

{
  "stacks": {
    "frontend": ["react", "tailwind", "vite"],
    "writing": ["writing-beats", "writing-fragments"]
  }
}

Skills are discovered like pi does: every SKILL.md under ~/.agents/skills/ and <agentDir>/skills/, named by frontmatter name or the directory name. A project can add stack definitions in <project>/.pi/skill-stacks.json; those can be toggled but not edited from the overlay.

Turning a stack off writes !skills/<dir>/SKILL.md patterns into the skills array of ~/.pi/agent/settings.json, pi's own exclusion mechanism. The package only removes patterns it wrote itself; hand-written entries stay. A skill is excluded only when no enabled stack contains it, and skills in no stack are never touched. pi reloads once when the overlay closes, only if settings.json changed.

Stack names that don't match a discovered skill are flagged missing and not counted.

For other extensions, loadStacksSummary() in src/store.ts returns stack names, on/off state, and counts (totalCount, activeCount, unstackedCount).

Develop

npm install
npm run check
npm test