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

@zerosnow/pi-zero

v0.2.5

Published

Curated pi extension suite: powerline status bar + random vibe + token/elapsed-time stats, /context, and ccstyle tool rendering

Readme

pi-zero

A curated pi extension suite that combines the best of pi-powerline-footer and pi-cc-extensions into a single, lean package — without bash mode, queue, stash, shortcuts, welcome page, or other extras.

Features

| Module | Feature | Entry | |--------|---------|-------| | powerline | Powerline-style status bar (git branch, token usage, model, context %) | automatic | | vibe | Random themed working-message (file or generate mode), merged with token / elapsed-time stats | automatic | | context | Context-window usage inspector with System Prompt / Tools / Skills preview | /context | | ccstyle | Claude Code style tool rendering (collapse / compact / animation / rich diff) + compact thinking | /ccstyle | | shared | Generic helpers (getAgentPath, showTextPreview) shared across modules | — |

Install

Install from npm as a pi package:

pi install npm:@zerosnow/pi-zero

Then run /reload in the pi TUI.

Requires Node.js >= 22.19.

Commands

| Command | Description | |---------|-------------| | /context | Show context-window distribution; press Enter/click to preview parts | | /ccstyle [on\|off\|compact\|status\|panel] | Switch or configure Claude Code style tool rendering | | /vibe [theme\|off\|mode\|model\|generate] | Configure the working-message vibe | | /powerline [on\|off\|preset\|placement] | Toggle the status bar on/off, or set its preset / placement |

Configuration

Global config lives in ~/.pi/agent/settings.json. pi-zero reads these keys:

  • workingVibe, workingVibeMode, workingVibeModel — vibe theme, mode (file/generate), model
  • powerline — status bar preset, placement, disabledSegments, customItems, etc.
  • workingVibeShimmer — shimmer sweep animation (handled by a separate local extension)

Runtime dependencies

compact-thinking needs jiti (regular dependency) and pi-compact-thinking (a pi package, shipped as a bundled dependency). When installed via pi install npm:@zerosnow/pi-zero, pi runs npm install, so these are installed automatically — no manual setup needed.

Syntax highlighting for write diffs is provided by @shikijs/cli, shipped as an optional dependency. When it is available, ccstyle colors code blocks in diff previews; if it cannot be installed, highlighting gracefully falls back to plain rendering.

Structure

pi-zero/
├── index.ts            entry (loaded by pi auto-discovery)
├── shared/             generic helpers shared across modules
├── powerline/          status bar
├── vibe/               random working-message
├── context/            /context inspector
└── ccstyle/            Claude Code style tool rendering (+ tool-diff/)

Compatibility & Notes

  • ccstyle patches pi's tool rendering (similar to fixed-editor); if you ever see layout issues, run /ccstyle off to fall back to native rendering.
  • Long-session responsiveness. compact-thinking's thinking preview is cached by content, so typing and deletion stay responsive even in very long sessions with many large thinking blocks.
  • Fixed editor is not included, and the fixed-editor-only tool-mouse interaction (hover/click/scroll affordances) has been removed.
  • Multiple pi processes are isolated: state is process-local (global symbols), and session boundaries are cleaned on session_start.

Acknowledgements

License

MIT (for the pi-zero-specific composition; see individual attributions above).