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

@diegopetrucci/pi-extensions

v0.1.53

Published

A collection of pi extensions and skills for annotation UIs, context management, workflow audits, contrarian review, review-comment triage, notifications, brrr push alerts, safety guards, GitHub research, repo-local knowledge, todos, tool rendering, model

Readme

pi-extensions

Total npm downloads

A collection of pi agent extensions and skills I made.

  • agent-workflow-audit: Adds /agent-workflow-audit, which runs an isolated repo workflow audit subagent and returns only the final distilled report to the main session.
  • annotate-git-diff: Adds /annotate-git-diff, a native Glimpse UI for annotating git diffs and appending structured feedback prompts to the editor.
  • annotate-last-message: Adds /annotate-last-message, a native Glimpse UI for annotating the latest assistant reply and sending planning-oriented feedback back through the editor.
  • brrr: Sends brrr push notifications when pi finishes an agent turn and is ready for input, with optional macOS idle gating.
  • claude-fast: Adds /claude-fast to enable Anthropic Claude Fast mode for supported Claude Opus models by injecting speed: "fast".
  • confirm-destructive: Confirms before destructive session actions like clear, switch, and fork.
  • contrarian: Adds a read-only contrarian tool that spins up an isolated subprocess to stress-test plans, designs, assumptions, bug hypotheses, and conclusions by steelmanning the strongest opposing case.
  • context-cap: Caps effective model context windows at 200k tokens by default so pi avoids the dumb zone; toggle temporarily with /context-cap.
  • context-inspector: Adds /context, a local self-contained HTML dashboard that breaks down where the current session context is going, with category overview, top offenders, and drilldown search.
  • dirty-repo-guard: Prompts before new sessions, session switches, or forks when the current git repo has uncommitted changes.
  • git-footer: Standalone extension that adds TLH-style git dirty counts, ahead/behind, and optional PR number to pi's built-in footer status area.
  • gnosis: Exposes the gn repo-local knowledge base CLI as an agent tool for searching and recording durable project decisions, constraints, and intent.
  • illustrations-to-explain-things: Adds a skill for generating clean, absurd Xiaohei-style article illustrations, shot lists, image edits, and visual metaphors.
  • inline-bash: Expands !{command} snippets in user prompts by running them through bash before the prompt reaches the agent.
  • librarian: Adds a GitHub research scout with a local repo checkout cache disabled by default under the OS user cache directory, toggleable with /librarian-cache, configurable subagent model/thinking defaults via /librarian-config, and cached repos expiring after 7 days of non-use.
  • minimal-footer: Replaces pi's built-in footer with a minimal configurable two-line layout: branch plus cached git dirty/ahead/PR status and repo on the first line, context/model on the second, optional DUMB ZONE, optional xp marker, plus OpenAI Codex 5-hour and 7-day usage when available.
  • notify: Sends configurable terminal, desktop, bell, and sound notifications when pi finishes and is ready for input.
  • openai-fast: Adds /fast to enable OpenAI Codex Fast mode for ChatGPT-auth GPT-5.4 and GPT-5.5 by injecting the priority service tier.
  • oracle: Adds an Amp-style read-only oracle tool that auto-selects the strongest reasoning model on the current provider/subscription, supports persisted /oracle model/thinking defaults, requests xhigh reasoning by default and clamps to model capabilities, and shows live status while running.
  • permission-gate: Prompts for confirmation before dangerous bash commands like rm -rf, sudo, and chmod 777.
  • quiet-tools: Renders collapsed built-in tool rows as a one-line invocation plus an expand hint without changing model-visible tool results; toggle temporarily with /quiet-tools.
  • review: Adds /review and /end-review for interactive code reviews of local changes, commits, PRs, and selected paths.
  • todo: Adds a branch-aware todo tool for the agent and a /todos viewer for users.
  • triage-comments: Adds /triage-comments and a read-only triage_comments subagent tool that can auto-detect the current branch's PR, filter resolved/outdated inline comments, classify selected review comments with evidence, and suggest handling options without implementing changes.

(For the full list of pi extensions I use, check out my dotfiles.)

Install

Full collection:

pi install npm:@diegopetrucci/pi-extensions

Or a specific extension:

pi install npm:@diegopetrucci/pi-quiet-tools

Then reload pi:

/reload