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

@0xrsydn/pstack-pi

v0.15.1

Published

Port of pstack (Lauren Tan's Cursor plugin) to pi: poteto-mode workflows, principle skills, and subagent fan-out with per-role models.

Readme

pstack-pi

A pi port of pstack, Lauren Tan's Cursor plugin. Original content is MIT-licensed (see LICENSE); this port keeps its structure and wording and adapts Cursor-specific mechanics to pi.

Acknowledgment: all skills, workflows, and prose originate from Lauren Tan's pstack. This repository only ports them to pi.

Quick start

pi install npm:@0xrsydn/pstack-pi

What ships

  • skills/ — all 45 original workflow and principle skills (poteto-mode, swarm, arena, interrogate, how, why, reflect, the principle-* set, etc.), rewritten where they referenced Cursor-specific mechanics.
  • agents/ — subagent definitions discovered by the bundled extension: poteto-agent, comment-sicko, and general-purpose (replaces Cursor's built-in generalPurpose task agent).
  • extensions/subagent/ — pi's example subagent tool, extended for pstack:
    • Per-task model override (with pstack's inherit-parent / auto aliases), so one parallel call can mix models.
    • Per-task readonly flag (restricts to read,grep,find,ls).
    • Discovers the bundled agents/ directory from inside the package. User (~/.pi/agent/agents/) and project (.pi/agents/) definitions win over bundled ones.
    • Single, parallel (tasks[]), and chain modes are unchanged otherwise.

Install

pi install npm:@0xrsydn/pstack-pi        # from npm (recommended, version-pinned)
pi install git:github.com/0xrsydn/pstack-pi   # or from git

After installing, confirm resources load with pi list.

Model configuration

Run the setup-pstack skill ("/skill:setup-pstack", or ask the agent to configure pstack models). It:

  1. Detects your models with pi --list-models.
  2. Asks which model each role uses (code delegates, judgment/prose, review panels, swarm workers).
  3. Writes ~/.pi/agent/pstack-models.md.

The parent agent reads that file before spawning and passes each role's value as the model field of its subagent task entry. Delete a line to fall back to that skill's inline default; delete the file to fall back everywhere. There is no requirement to run setup — defaults described inline in the skills apply, but they reference placeholder model names from the upstream plugin until you write real ones.

Adaptations from the original

| Cursor mechanic | pi equivalent | | --- | --- | | Task tool, subagent_type | subagent tool, agent field | | generalPurpose built-in agent | bundled general-purpose agent | | Task-level model slug | task-level model field (provider/model-id form) | | run_in_background, cloud workers | parallel tasks[] calls run concurrently with isolated contexts; all local | | environment: "cloud" / cloud VMs | removed; lanes run in worktrees on this machine | | ~/.cursor/rules/pstack-models.mdc | ~/.pi/agent/pstack-models.md (plain markdown, read before spawns) | | ~/.cursor/skills/ paths | ~/.pi/agent/skills/; project .cursor/skills/.pi/skills/ | | Session transcripts under ~/.cursor/projects/<slug>/agent-transcripts/ | ~/.pi/agent/sessions/<dashed-repo-path>/*.jsonl | | Cursor's built-in create-skill / babysit skills | generic authoring guidance; pstack's own playbooks cover these requests | | deslop, control-ui/control-cli (cursor-team-kit) references | degraded gracefully: steps drop the plugin dependency or drive the surface directly | | Bugbot review-bot comments | generalized to any bot reviewer comments | | Slash commands like /bro, /why | /skill:bro, /skill:why (enable skill commands in settings) |

Not ported:

  • Cursor Cloud Automations (automations/benny/) and the grokbot automation-webhook skill — no pi equivalent background-runner target.
  • docs/guide/ — read it upstream; most prose still applies apart from setup details.
  • Skills that rely on MCP servers (for example parts of why) expect you to have equivalent data sources reachable through other tools.

Requirements

  • The bundled extension shells out to the pi binary on PATH (subagent tool).
  • Panel/swarm fan-out works best with more than one provider configured.