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

v0.1.15

Published

Ask side questions in pi without polluting the main transcript — /qq or alt+q.

Readme

pi-qq

npm version npm downloads License: MIT

pi-qq bottom overlay answering a quick question

Ask quick side questions about your current pi session without polluting the main transcript.

You: refactor this auth flow…
agent: [making changes]
You (alt+q): is there a reason we're not using the existing AuthClient?
↳ overlay: Yes — AuthClient does X, but this path needs Y because…
You: [keeps editing, transcript untouched]

pi-qq adds /qq <question> plus an alt+q / Option+Q shortcut that toggles /qq in the editor. Answers appear in a dismissible bottom overlay, can be reopened from in-memory /qq-history, and never enter the main conversation.

Try these first

/qq is this safe to merge?
/qq why are we doing it this way and not X?
/qq summarize what's happened so far
/qq what's the risk in this plan?
/qq what files have we touched this session?
/qq --recent did the last tool call succeed?
/qq --full what decisions have we made so far?

Why try it?

  • A real side channel: ask /qq why are we changing this file? while the main agent keeps working. The answer shows in a bottom overlay and does not enter the main transcript.
  • Context-aware, intentionally constrained: /qq passes read-only main-session context, treats ambiguous references like “this”, “that”, “we”, and “the plan” as references to the active session, and gives the side call no tools. Previous /qq answers are available only through /qq-history; they are not fed back into future /qq calls.
  • Fast, low-friction UX: press alt+q / Option+Q to toggle /qq , then use Esc to cancel/dismiss or ↑/↓ to scroll longer answers.
  • Smart context modes: /qq uses recent context by default, automatically switches to broader bounded context for retrospective questions, and supports explicit --recent / --full modes.

Demo

/qq why are we changing this file?

pi-qq answers from the active session context in a bottom overlay, without adding either the question or answer to your main conversation.

Another common flow:

  1. Press alt+q / Option+Q.
  2. Type what's the risk with this plan?.
  3. Hit Enter.
  4. Read the concise overlay answer; press Esc to dismiss. If you close it too soon, run /qq-history to reopen recent answers.

Install

pi install npm:pi-qq

After installing, run /reload in pi or restart the session.

Usage

Command

/qq <question>
/qq --recent <question>
/qq --full <question>
/qq-history

By default, /qq chooses a context mode automatically:

| Mode | When to use it | Context sent | | --- | --- | --- | | Auto | Default for /qq <question> | Recent context for immediate questions, broader bounded context for retrospective questions | | --recent | Fastest answers about the latest work | Latest messages only | | --full | Recaps or questions about earlier decisions | Broader but still bounded session context, not unlimited history |

Use /qq-history to reopen recent /qq answers from the current session. History is view-only and is not included as context for future /qq model calls.

Shortcut

Press alt+q / Option+Q to toggle /qq at the front of the editor:

  • If the editor does not start with /qq , the prefix is prepended.
  • If the editor already starts with /qq , the prefix is removed.

Overlay keys

| Key | Action | | --- | --- | | / | Scroll the panel when content overflows | | Esc | Close the panel; cancel the request if it is still running |

Design constraints

  • The main transcript is never polluted by /qq questions or answers.
  • The side call receives read-only main-session context.
  • Recent mode sends only the latest messages for speed; full mode sends broader but still bounded context, not unlimited history.
  • Large text parts are clipped; images, tool calls, and tool results are converted into plain-text background so the side call never uses provider tool protocol.
  • The side call has no tools.
  • Recent /qq answers are kept in memory only so /qq-history can reopen them after dismissal.
  • /qq-history is view-only; it is not used as context for future /qq model calls.
  • The system prompt biases answers toward concise, direct responses.

Pairs well with

  • pi-chrome — the de-facto browser-automation toolkit for Pi agents (drives your real, signed-in Chrome). /qq summarize what the active GitHub tab shows works beautifully against a pi-chrome session.
  • pi-bar — model / thinking / context footer so you catch wrong-model runs and context pressure early.

License

MIT