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-gdb

v0.1.0

Published

Pi extension that lets agents use GDB, with smart timeouts, robust error handling, clear formatting, and a tiny token footprint.

Readme

pi-gdb

A Pi extension wrapping GDB in an agent-friendly interface. Why? Trying to automate programming can run into issues, but automated debugging seems like a much clearer win. To install it, just rust pi install pi-gdb. So, if you're writing anything compiling to native code (C, C++, Rust, Zig, ...), here's a bunch of reasons to try it:

  • Works well with local models. Just like Pi itself, this extension engineered with a minimal token footprint in mind. Even Qwen 3.6 27B at IQ3_XXS managed to root cause some real bugs I ran into while working on my toy kernel, and you can run that with MTP on any 16GB GPU. If you have an 8 GB GPU, Qwen 3.6 35B A3B Q4_K_M with non-shared experts offloaded to the CPU should be nearly as good.
  • Robust error handling. This extension parses GDB output, uses short timeouts between individual commands, aborts the current batch of commands in case one of them returns an error, handles unexpected process termination correctly, and adds information about this to responses, which helps the LLM stay on the right track. It'd be also possible to add automated command fixing or smart symbol searches in the future.
  • Unopinionated. The extension includes just a single gdb tool with a minimal description. I recommend adding some project-local skills describing how to attach GDB to the test suite, where to find core dumps, or recond-and-replay recordings. With local models it can help to instruct them to start debugging straight away rather than read files, and restart gdb and set an earlier breakpoint if they get stuck, but YMMV. Find out what works well for your project, and enjoy a little less time spent staring at register dumps and assembly listings.