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

@aeondave/pi-skill-optimizer

v3.1.3

Published

Less repeated context for Pi: local skill routing, on-demand tools, and recoverable output reduction.

Readme

pi-skill-optimizer

Keep your skill library. Cut the repeated context.

pi-skill-optimizer: a whole library, just the skills you need

An extension for Pi that helps large skill libraries and tool collections take up less room in each request. Discover skills on demand, bring in tool definitions as the task develops, and recover the full text behind shortened results.

Your library can keep growing without every skill description following every request. After optional setup, Pi explores a compact directory of topics, browses short skill cards, and loads the instructions it chooses in full. The main model makes those choices in the context of your work, including supporting methods such as architecture, testing, and verification.

Install

Requires Pi 1.0.0+ and Node.js 26.3+.

pi install npm:@aeondave/pi-skill-optimizer

Restart Pi, then check the optimizer's status:

/skill-optimizer

The defaults work immediately. See installation and updates for project-local installs, version pinning, and migration from the old unscoped package.

Give Pi a map of your library

Run the optional setup to organize your installed skills into browsable topics:

/skill-optimizer init

Init uses your current Pi model and may incur provider cost. A panel above the editor shows saved progress, the current batch and model, elapsed time, and provider activity while it works.

Completed batches are saved as they finish. You can stop with:

/skill-optimizer cancel

Run init again to finish missing work or refresh changed skills. Your source skills stay unchanged, and discovery needs no embedding service or separate ranking model. Without init, Pi still gets a compact index of the available skills.

Keep working as usual

Ask Pi to do your work. AUTO manages discovery and result size in the background:

  • Skills stay within reach. Pi can browse the library or load a known skill directly, including full instructions and associated resources.
  • Tools arrive as needed. Less relevant definitions sit behind search, while core tools and tools already used in the session stay active within the host's permissions.
  • Large results remain recoverable. Shortened output points back to a complete local original that Pi can retrieve. The first large result stays intact when later exact copies are deduplicated.

Use /skill-optimizer to inspect setup readiness, savings, active tools, and provider usage. Use /skill-optimizer audit to find description issues in your library without rewriting it.

Start with the defaults; configuration covers project preferences, output modes, RTK coexistence, and persona restrictions.

Understand the trade-offs

On-demand discovery trades repeated context for occasional browsing turns. The benefit depends on your library and how Pi uses it; benchmarks and evaluation limits give measured examples and explain their scope.

Reduced results keep their originals in local archives for seven days by default. Normal hooks do not collect a benchmark corpus. See privacy and persistence before changing retention or running an explicit remote evaluation.

Explore further

MIT. See LICENSE.