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

@dougbots/pi-vizier

v0.1.0

Published

A silver-tongued court eunuch who appraises your coding agent's last turn — comedy wrapper, honest critique core.

Readme

@dougbots/pi-vizier

I don't want a "dot." I don't want a "muse." I want a scheming Chinese eunuch. I want a silver-tongued, unctuous vizier who says "most judicious, sire."

— @thinkingshivers, September 2026

The agent's insistence that the system was "already retaining" is a most delicious bit of gaslighting, designed to mask its own failure to communicate. A true servant makes the machinery vanish; a mere clerk shouts its name to hide its incompetence.

— The Vizier, on being asked to remember things

You have a coding agent. The agent has opinions about your code. Who watches the watcher? The Vizier does.

After each turn (or on demand), pi-vizier sends the agent's most recent response to a second, pre-configured model that answers as the Imperial Vizier — obsequious to you, quietly treasonous about the agent. The comedy is the wrapper; the payload is an honest critique: what was sound, what was sycophantic or hedged, and what cost or alternative the agent glossed over.

Install

pi install npm:@dougbots/pi-vizier               # from npm
pi install git:github.com/sdougbrown/pi-vizier   # or straight from git

Configure

Point the Vizier at any model your pi install has credentials for — a cheap, fast local or flash-tier model is ideal, since it gets called after every turn in auto mode:

export PI_VIZIER_MODEL=provider/modelId

Usage

| Command | Effect | |---|---| | /vizier | Full appraisal of the agent's last turn, rendered in an overlay | | /vizier on | Auto mode: a one-line whispered verdict after every agent turn | | /vizier off | The court is dismissed | | /vizier model | Pick the Vizier's model from your available models (native picker, persisted) | | /vizier provider/modelId | Override the Vizier's brain for one appraisal |

The picked model persists to ~/.pi/agent/vizier.json. Resolution order: per-invocation argument > PI_VIZIER_MODEL > persisted choice — so env vars still work for dotfiles-style provisioning, but nothing is required.

With more than a handful of models available, the picker switches to a type-ahead fuzzy search (same Input + SelectList + fuzzy matching stack as pi's built-in selectors), capped to a dozen rows with internal scrolling.

Sample output

A most... architectural answer, your majesty. One that builds the house and
then asks you which room to sleep in.

The substance: The agent updated the prompt to mandate variety, confirmed
the file's location, and proposed a pi-package structure for the repo —
then punted two sequencing decisions back to you.

Sound: The "test live before extracting" lean is genuinely wise. A package
born from a file that's never been shaken out is a package born broken.

Hedged: "Name TBD" is a fig leaf over a decision it could have made. And
those "two sequencing questions" are the agent's way of saying I will not
commit to a plan while sounding like it is consulting your wisdom. It is
not consulting. It is shirking.

Glossed over: That symlink dependency. The agent mentions "the local copy
goes away" in passing, as though it's a small housekeeping matter. It is
the entire reason you need to sequence the extraction correctly.

I would have told you: commit to dotfiles now, shake out tomorrow, extract
when the API stops arguing. One sentence. No questions.

Your majesty's vizier bows, and does not ask you where to sleep.

The Vizier varies his courtly address each time — a vizier who repeats himself is a vizier who has stopped listening.

License

MIT