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

@pithos-kit/plan

v0.3.0

Published

Enforced read-only planning with optional draft preview, approved plan creation, and contextual session naming for Pi.

Readme

@pithos-kit/plan

npm version

Enforced read-only planning for Pi, with controlled plan creation, a minimal Plan theme, and contextual session naming.

Install

pi install npm:@pithos-kit/plan

For local development:

pi install -l ./pithos.plan

Pithos .pithos config

pi:
  extensions:
    "@pithos-kit/plan": "npm:0.3.0"

Migrating from @pithos-kit/skills

@pithos-kit/skills is retired. Remove global and project installs (pi remove npm:@pithos-kit/skills and pi remove -l npm:@pithos-kit/skills) plus its .pithos pin, keep this standalone Plan package for /plan, and use Guild 0.3.0 for the relocated TDD skill together with Atlas 0.6.0, which no longer bundles it. Historical Skills 0.4.0 and earlier must not be loaded alongside Plan because both packages handle the same /plan command and Plan state.

Usage

/plan <task>
/plan
/plan exit
/plan cancel
/plan --help

After /plan , press Tab to list exit, cancel, --help, and -h, or start typing an argument to filter them; arbitrary task text remains free-form. The command description explains that bare /plan finalizes the active draft. --help and -h print the same argument summary before prompt expansion, so help does not start an agent turn or activate Plan mode. While Plan mode is active, /plan exit and its /plan cancel alias immediately restore the previous theme and tools without creating a plan; outside Plan mode they report that there is nothing to exit. Bare /plan retains its finalization behavior and opens interactive confirmation once the agent submits the draft.

Plan mode explores the codebase with trusted read-only tools, resolves design decisions, and creates an approved implementation plan under .pi/plans/. When create_plan receives the final draft, the TUI opens a compact chooser that leaves the recent transcript visible. Continue planning is selected by default, Preview the plan opens a bounded read-only Markdown viewer, and Create plan and start implementation can create the submitted draft directly without preview. Escape also continues planning.

The preview shows the exact content and target path; terminal control and Unicode formatting characters appear as visible U+… markers while their original bytes remain bound to confirmation and persistence. Up/Down scroll by line, Page Up/Page Down scroll by page, Home/End jump to the bounds, and Enter or Escape returns to the same three-option confirmation without approving or rejecting the draft.

The controlled creator binds confirmation to the submitted content and destination, publishes the completed file atomically without overwriting, and exits Plan mode only after a successful save. Known path collisions are resolved before confirmation; a collision that races publication advances the path and requires new confirmation. An identical retry after another kind of failed write may reuse confirmation, but changed content must be confirmed again. RPC clients retain the complete draft and target path in their confirmation request. Without interactive UI support, the write is blocked and Plan mode remains active.

While active, Plan mode exposes trusted built-in read, grep, find, and ls plus the internal plan creator. It blocks model mutations and manual !/!! shell commands, temporarily applies the bundled Plan theme, and shows the canonical session name in its footer.

After a successful save, Plan mode restores the previous theme and tools and replaces the current session name—including a manually assigned name—with the approved plan's outcome-focused title in lowercase kebab-case. A missing or generic title falls back to the task-derived plan filename. Declined, continued, cancelled, and failed plan creation does not rename the session. Plan approval does not force compaction; Pi's existing automatic or user-triggered compaction policy remains unchanged.

Enforcement boundary

Plan mode enforces Pi's tool and user-shell interfaces; it is not an operating-system sandbox. Other extensions and external processes can still mutate files directly.