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

prime-pstack

v0.1.1

Published

pstack skills (cursor/plugins) ported to prime-agent: rigorous agent workflows — poteto-mode, principles, unslop, arena, reflect, swarm and more.

Readme

prime-pstack

pstack skills ported to prime-agent. Rigorous agent workflows: fewer, higher-quality lines, verifiable work, and subagents you can parallelize with confidence.

This is a port, not the original: Cursor-specific mechanics (Task subagents, ~/.cursor/rules, AskQuestion, Cursor model slugs) are translated to prime-agent equivalents (rlm children, agent_message, references/models.md, session logs). The methodology text is preserved verbatim wherever it did not reference Cursor.

Install

Via npm (recommended)

prime-agent package install npm:prime-pstack                 # all your sessions
prime-agent package install --local npm:prime-pstack         # one project only

prime-agent installs the package, registers it under packages in ~/.prime/agent/settings.json (or .prime/settings.json with --local), and loads its 45 skills. Update with prime-agent package update npm:prime-pstack, remove with prime-agent package remove npm:prime-pstack.

New skills load on session start; in an interactive session use /reload.

Note: a plain npm install prime-pstack into a project's node_modules does not register the package with prime-agent — the package install command is what adds the skills/ directory to your settings.

From the GitHub repo

git clone https://github.com/eryzerz/prime-pstack ~/.prime/agent/skills/prime-pstack

The loader scans nested skill directories, so cloning the repo into your skills dir works as-is. Per-project: clone or symlink skills/ into .prime/agent/skills/ at your project root.

Start here

  • /skill:poteto-mode — the hub skill; routes a task to one of 23 playbooks, wraps code in the principle skills. This is the one to use daily.
  • /skill:setup-pstack — configure per-role models by editing each skill's references/models.md (default: children inherit the parent model). You can also edit those files by hand — one role: <model selector> line per role, resolved via await rlm.find_models(...).

What was ported

All 45 skills (markdown + references + playbooks) plus the poteto-mode helper scripts, with Cursor mechanics translated:

| pstack (Cursor) | prime-agent | |---|---| | Task calls, subagent_type, run_in_background | await rlm(prompt, name=...) children, spawned in parallel | | model: <cursor slug> defaults | references/models.md per skill; omit model to inherit parent | | findings in Task response body | await agent_message.send(..., receiver_role='parent') | | ~/.cursor/rules/pstack-models.mdc | references/models.md in each skill that reads model config | | agent-transcripts/ | ~/.prime/agent/sessions/*.jsonl (child rollouts in session_dir) | | MCP discovery via Cursor env | MCP servers configured via prime CLI; children keep MCP access | | Cursor built-in create-skill | prime-agent skill-creator | | cursor-team-kit (deslop, control-cli/ui) | not ported — hooks removed |

Not ported (deliberately)

  • automations/benny (cron issue triage → use prime-agent heartbeats)
  • agents/* (Cursor agent definitions) — except comment-sicko, folded into no-comments/references/comment-sicko.md
  • docs/guide/ images

The poteto-mode helper scripts are ported (scripts/): watch-pr (GitHub PR watcher, needs bun), orch (orchestrate store, needs bun), check-plan.mjs (plan validator, needs node), worktree-audit.sh (pure bash). All are runtime-agnostic aside from their runtimes; worktree-audit.sh and check-plan.mjs were translated for prime-agent paths.

Contributing

PORTING.md in this repo is the translation table used for the port. When you fix or extend a skill, keep the conventions there so the port stays coherent.

License

MIT. Port of cursor/plugins pstack by Lauren Tan, which remains MIT-licensed; see LICENSE.