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

@ifi/pi-plan

v0.3.1

Published

Planning mode extension for pi with persistent plan files, branch-aware planning, and delegated research tasks.

Readme

@ifi/pi-plan

Planning mode extension for pi.

Built on top of the planning workflow from sids/pi-extensions/plan-md and adapted for oh-pi.

Installation

pi install npm:@ifi/pi-plan

Or install it as part of the full oh-pi bundle:

npx @ifi/oh-pi

Or use the package installer directly:

npx @ifi/pi-plan
npx @ifi/pi-plan --local

To remove:

npx @ifi/pi-plan --remove

What it does

  • /plan starts planning when inactive and opens plan-mode actions when already active.
  • Alt+P runs the same plan-mode toggle flow as /plan without sending /plan as chat text.
  • Start location picker (shown when the session has branchable history):
    • Empty branch
    • Current branch
  • If a session plan already exists with content, startup offers:
    • Continue planning
    • Empty branch / Current branch when branchable history is available
    • Start fresh when no branchable history is available
  • /plan accepts an optional location argument:
    • file path → use that exact file as the plan file
    • directory path → create <timestamp>-<sessionId>.plan.md in that directory
  • Shows a persistent banner while active with the active plan file path.
  • Running /plan while active shows:
    • Exit
    • Exit & summarize branch
  • Running /plan <location> while active moves the current plan file to the resolved location.
  • Exiting plan mode prefills the editor only when the active plan file has content.
  • After exit, a Plan mode ended. message is shown with the plan file and an expandable plan preview when available.

Commands

  • /plan [location]

Tools in plan mode

Plan mode adds planning-specific tools only while active:

  • task_agents — run isolated research tasks using the bundled subagent runtime (concurrency: 1-4)
  • steer_task_agent — rerun one task from a previous task_agents run with extra guidance
  • request_user_input — ask clarifying questions with optional choices and optional freeform answers
  • set_plan — overwrite the active plan file with the complete latest plan text

When plan mode ends, these tools are removed again.

Notes

  • By default, plan mode uses one plan file per session in the same directory as the session file, replacing the session extension with .plan.md.
  • /plan [location] can override the plan file path.
  • Plan files are kept after exiting so planning can be resumed later.
  • The default plan-mode prompt is stored in packages/plan/prompts/PLAN.prompt.md.
  • You can override that prompt globally by creating ~/.pi/agent/PLAN.prompt.md.
  • If the override file is missing or blank, the bundled prompt is used.