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

@skibum1869/pi-plan-mode

v1.0.1

Published

Read-only plan mode for the pi coding agent: write tools locked, bash allowlisted, plan extraction, and [DONE:n] execution tracking

Readme

@skibum1869/pi-plan-mode

Read-only plan mode for the pi coding agent: exploration, numbered plan extraction, and tracked [DONE:n] execution.

While plan mode is active, edit and write tools are disabled and bash is restricted to an allowlist of read-only commands — enforced by a tool_call gate, not prompt discipline.

Install

pi install npm:@skibum1869/pi-plan-mode

Or try it without installing:

pi -e npm:@skibum1869/pi-plan-mode

Toggle

| Toggle | What | |--------|------| | /plan | Toggle plan mode | | Ctrl+Tab | Toggle plan ↔ build mode | | Ctrl+Alt+P | Toggle plan mode | | --plan | Start pi directly in plan mode | | /todos | Show current plan progress |

Workflow

  1. Toggle plan mode on — the footer shows ⏸ plan.
  2. Ask the agent to explore and design. It produces a numbered plan under a Plan: header.
  3. Pick Execute the plan (tracked execution with [DONE:n] progress, footer shows 📋 n/m), Stay in plan mode, or Refine the plan.
  4. During execution each completed step is marked with [DONE:n]; when all steps finish the widget clears and full access resumes.

How it works

  • Tool gate: plan mode swaps the active tool set to read-only tools (read, bash, grep, find, ls) and hides edit/write.
  • Bash allowlist: safe read-only commands (cat, grep, find, ls, git status/log/diff, …) pass; mutating commands (rm, mv, redirects, git commit/push, installs, editors, …) are blocked with a message telling the agent to propose a plan instead. Compound commands must match the allowlist as a whole.
  • Session persistence: plan state, todo list, and execution progress survive /resume.
  • Footer status: ⏸ plan (planning) / 🔨 build (normal) / 📋 n/m (executing).

Security

Pi extensions run with your user permissions. Plan mode is a guardrail, not an operating-system sandbox — its allowlist blocks common mutation patterns but cannot prove arbitrary shell commands are read-only.

License

MIT — derived from the plan-mode example in @earendil-works/pi-coding-agent.