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

pi-pilot

v0.1.0

Published

A Copilot Autopilot-inspired workflow: research, subagent exploration, questions, plan and execute.

Readme

pi-pilot

A Copilot Autopilot-inspired workflow: research, subagent exploration, questions, plan and execute.

Why

Agents work better when they plan before acting. pi-pilot adds:

  • Read-only plan mode — agent explores and drafts a plan without touching code
  • Subagent exploration — parallel read-only research spawns
  • Questions — agent asks the user when it needs clarification
  • Execute — planning agent hands off to execution agent. Plan becomes the execution context, tasks tracked via todo checklist
  • Autopilot — optional auto mode. Agent plan and implement with you hands-free

Installation

pi install npm:pi-pilot

Usage

Three typical execution flows:

1. In-context execution

Plan and execute in the same session:

/pilot-plan        # enter planning mode
<describe your task>
<agent writes plan>
<iterate on plan>
/pilot-execute     # transition to execution — uses the plan just written

Plan mode restricts writes and edits to .agents/plans/, and best-effort limits bash to read-only commands. Use /pilot-plan again to disable.

2. Compact / new session execution

/pilot-plan
<describe your task>
<agent writes plan>
<iterate on plan>
/compact or /new
/pilot-execute @.agents/plans/yyyy-mm-dd-plan-file.md

This allows you to easily retain plan file across compaction or between sessions.

3. Auto mode

/pilot-plan-auto
<describe your task>

Agent will create the plan. No question asked. Once a plan file is written, execute mode is automatically entered.

Commands

| Command | Description | |---|---| | /pilot-plan | Toggle planning mode | | /pilot-plan-auto | Plan mode + auto-execute (transitions when plan is written) | | /pilot-execute [@path] | Start execution (optional plan path) | | /pilot-settings | Configure startup mode, subagent limits, cycle shortcut |

Shortcuts

Cycle Shortcut

Press the configured shortcut (default Ctrl+Shift+M) to cycle through modes:

idle → planning → planning-auto → idle

Customize the shortcut binding via /pilot-settings or by editing the config file directly.

Tools (agent)

  • pilot_ask — Queue a question for the user (blocked in auto mode)
  • pilot_subagent — Spawn a read-only exploration subagent
  • pilot_todo — Manage the execution checklist (add, toggle, list, clear)
  • pilot_done — Signal completion; exit execute mode

Configuration

~/.pi/agent/pi-pilot.json:

{
  "startupMode": "plan",
  "cycleShortcut": "ctrl+shift+m",
  "subagent": {
    "model": null,
    "maxParallel": 1
  }
}
  • startupMode: null (default), "plan", or "plan-auto"
  • cycleShortcut: keybinding to cycle modes (default "ctrl+shift+m")
  • subagent.maxParallel: 0 disables, 1-3 allowed
  • subagent.model: optional { provider, id } override