pstack: a Cursor engineer's open-source skill pack that makes agents prove their work

Week 42Updated 10 min read

TL;DR

pstack is a free, MIT-licensed plugin of agent skills from Cursor engineer Lauren Tan. Its /poteto-mode skill picks one of 22 playbooks for a task, applies engineering principles such as proving the work on the real app, and can have several models review a diff. It installs in Cursor and Claude Code.

On this page

pstack is a free plugin of skills and playbooks from Lauren Tan, an engineer at Cursor. It routes a task to the right engineering routine, makes the agent verify its work on the real app, and has several models try to break the result. It installs in Cursor and, since Cursor added a Claude Code adapter, in Claude Code too.

pstack in cursor/plugins (GitHub)The plugin folder. The README lists every playbook, skill and principle, and the guide walks through a first task.github.com →
At a glance
Repo
cursor/plugins, folder pstack
Licence
MIT
Maintained by
Lauren Tan (poteto), an engineer at Cursor, inside Cursor's official plugins repository
Activity
Version 0.15.25 as of 15 October 2026. First committed in May 2026, per FAUN. The cursor/plugins repo showed 7.2k stars at the latest count, up from 2.4k to 3.5k in older snapshots
Install
Cursor: /add-plugin pstack, then /setup-pstack. Claude Code: /plugin marketplace add cursor/plugins, then /plugin install pstack@cursor-plugins

What it does

pstack is a bundle of skills, subagents and rules for Cursor. Its README describes it as the skills its author uses every day to ship at Cursor, built on one idea: if you want to go fast, go deep first, and write less code of higher quality.

The entry point is /poteto-mode. It reads the request, matches one of 22 playbooks, copies that playbook's steps into a todo list word for word, and calls other skills as the steps need them. The playbooks cover bug fixes, performance work, features, refactors, prototypes, pixel-level visual matching, babysitting a pull request, shipping a verified stack of PRs and overnight autonomous runs. The mode is sticky: it stays on across turns until you opt out, and the README says it works well with Cursor's /loop command for runs that last many hours.

The skills underneath are small and single-purpose. /how and /why explain a subsystem and its history, /interrogate reviews a diff, and /tdd, /unslop and /bro handle test-first fixes, prose cleanup and plain-language restatements. Twenty-one principle skills hold one rule each, and the mode reads an index of them at the start of every task. The mode file tells the agent to name each principle that shaped a decision, and the specific choice it changed, in its reply.

The good parts

Reading the skill files, nine ideas stand out.

  • It makes the agent prove its work. The Prove It Works principle says to verify against the real artifact (run the feature, read the actual value, inspect the diff) and not a proxy such as "it compiles." The bug-fix playbook reproduces the defect first, and the recipes page lists reporting success off a green build as a pitfall.
  • It reviews by disagreement between models. /interrogate sends one diff and rubric to a read-only reviewer per model on its panel, and the skill file treats findings raised by two or more models as high signal. The lead agent sorts each finding into Act on, Consider, Noted or Dismissed with a reason, shows what it dismissed, and never applies changes by itself. The README's default panel is now Opus 5.5 and Grok, and /setup-pstack changes it.
  • It gives different models different jobs. Per the README, code delegates such as features, refactors, bug fixes, performance work and hillclimbs go to Grok out of the box, while the hardest changes, prose and judgment go to Opus 5.5. /setup-pstack writes a rules file that maps each role to a model, and every skill falls back to defaults without it.
  • It keeps two kinds of parallelism apart. /arena runs several attempts at one brief and grafts the best parts together. /swarm splits work into slices and returns one report. The guide warns against using arena for coverage and against running parallel agents in one worktree.
  • It leans toward deleting. The Laziness Protocol principle prefers deletion and the smallest change that solves the problem, and Subtract Before You Add removes dead weight first. /no-comments strips comments before review, and /unslop removes AI tells from prose.
  • It settles fact questions by running something. Before asking the human which approach to take, the mode checks whether running something would answer it. If so, it builds a throwaway sketch with the Prototype playbook and lets the result decide.
  • It pauses only for what cannot be undone. Never Block on the Human says to proceed on reversible work and present the result. Force-pushes to shared branches, deploys, data deletion and customer messages always pause. The mode also tells the agent that "no" is an acceptable answer when asked to add scope.
  • It leaves a trail for unattended runs. /show-me-your-work logs decisions to a TSV file that can be committed, and the recipes page includes a sample prompt that asks for a decision log to audit in the morning.
  • It can learn your style. /automate-me mines your recent transcripts, drafts a skill named after you from how you actually work, and routes through pstack underneath.

Try it in five minutes

In her X post, Tan calls pstack her "personal set of skills for rigorous and autonomous engineering with agents" and says it is "updated frequently as I continue to tune and simplify them." Her 10-second tutorial has three steps: run /setup-pstack and choose a budget, put /poteto-mode in front of any prompt that needs rigor, and ask /poteto-help when unsure which skill to use.

The longer version
  1. Install itIn a Cursor chat, run /add-plugin pstack.
  2. Set it upRun /setup-pstack, pick a reasoning budget and the models you want. It writes a rules file at ~/.cursor/rules/pstack-models.mdc.
  3. Start a taskPick /poteto-mode from the / menu, then give a goal and a way to check it, for example /poteto-mode the export writes duplicate rows when a retry lands mid-run. repro first, then fix and verify.
  4. Keep it onPress option+enter on a Mac or alt+enter on Windows instead of enter, which makes it a custom mode that stays on. Plain enter attaches it to one message only.
  5. Ask for help/poteto-help suggests which skill, playbook or principle fits when you are unsure.
  6. Add the extrasInstall the cursor-team-kit plugin alongside for /deslop and the skills that drive CLIs and browsers.

The plugin is free. The cost is model usage on your plan, and /interrogate runs one reviewer per model on the panel.

Using it in Claude Code

The README now has an official Claude Code install. Run these two commands in Claude Code:

/plugin marketplace add cursor/plugins
/plugin install pstack@cursor-plugins

Claude Code prefixes plugin commands and agents, so /poteto-mode becomes /pstack:poteto-mode. The README says the Claude Code adapter maps every other Cursor name. Claude Code installs a generated copy of pstack from harness/pstack/ at the repository root. Anyone changing the skills, agents, the Claude Code doc or plugin.json has to run node scripts/generate-pstack-harness-trees.mjs and commit the result, or CI fails.

Cursor-only pieces such as its subagent tool, question tool and the model rules file are translated for each tool, so behavior can differ from the Cursor original. Codex, Pi, OpenCode and other tools still rely on community ports, covered below. One port's notes add that Claude Code's native subagents run only Claude models and Codex's only OpenAI models, so a multi-model review needs extra command-line tools to reach other vendors.

What it replaces and what surrounds it

pstack adds to Cursor's built-in features and sits beside Cursor's own team kit. Cursor maintains the Cursor and Claude Code packages. Community ports and mirrors carry it to other tools, and some predate or overlap with the official Claude Code install. Everything below is free to install, and model usage is billed separately.

Option What it is How it relates to pstack
Cursor plan mode Built-in planning pstack works with it. Its author says she does not believe in planning and that the best spec is code
Cursor's built-in /babysit Built-in skill for pull request status Inside /poteto-mode, pstack's own babysit playbook takes over PR-status requests
cursor-team-kit Cursor's own plugin for CI, code review, shipping and verification pstack points to its /deslop and the skills that drive CLIs and browsers
pstack-claude A community port for Claude Code, Codex, Copilot, Pi, OpenCode, Gemini and Prime Agent Tracks upstream, adds a routing hook and says it has no server or telemetry
Open Pstack An unofficial port for Claude Code and Codex, built on pstack-claude Stays close to the original and says new behavior belongs in Tan's project first
backnotprop/pstack A synced mirror, installed with npx skills add Rewrites Cursor-only instructions so the skills work in Claude Code, Codex, Pi and other agents
pstack-portable Packaging for Claude Code and Codex, and for T3 Code, which runs on both Keeps Cursor's manifest beside Claude and Codex ones
t3-pstack A version for T3 Code Runs review panels with Claude, GPT and Grok reviewers side by side and syncs from Tan's tree
pi-pstack A native package for the Pi coding agent Based on pstack 0.11.12. Its page says Pi extensions run with your permissions, so read the source first
ystack A portable adaptation for Claude Code, Codex, Droid, OpenCode and Cursor Keeps the upstream mode contract

The pstack-claude page credits the original to Lauren Tan and the imported team-kit skills to Cursor.

Who's behind it

Lauren Tan, who goes by poteto, wrote it. Her README says she has worked with millions of lines of code at Meta, Netflix and Cursor and is on the React core team, where she helps maintain React Compiler. The code sits in Cursor's official plugins repository under the MIT licence, and the README invites forks and pull requests. Before joining Cursor she used Claude Code and began building her own orchestration layer around it, per Flavio Copes's deep dive.

Her employer changed in August 2026. Cursor announced that its acquisition by SpaceX had closed on 14 August and that its team would join SpaceXAI to work on Grok Build, Grok Bot, the Grok API and Cursor. Tan appeared on a podcast about Grok Bot and Grok 4.6, and public profiles list her as working on Grok Bot and Cursor at SpaceXAI. Those profiles are secondary sources, and the pstack README still says she ships at Cursor.

She announced pstack in May 2026 in an X post titled How I Use Cursor. In it she said the skills had become some of the most used on the Cursor team and had been used 9,000 times in a week. That figure is hers and has no independent check. The project keeps moving: a pull request on 2 August 2026 took it to 0.13.0 with two autonomous delivery playbooks, and the Claude Code adapter has landed since. Cursor's Bugbot reviews pull requests in the repository.

Best for

  • Cursor and Claude Code users who run long or parallel agent tasks and want a repeatable routine: reproduce first, verify on the real app, review with several models, and keep a decision log when stepping away. Codex users can get most of it through a community port.

Skip if

  • you want quick one-off edits, since the mode is built for rigor. Also skip it if you dislike an opinionated style (the README says poteto-mode is the author's own style and offers /automate-me for building yours), if multi-model usage would strain your plan, or if you work outside Cursor and Claude Code and do not want to rely on a community port.

Sources

  1. pstack README and plugin.json: purpose, playbooks, skills, principles, the Claude Code install, model defaults and licence.
  2. poteto-mode skill and interrogate skill: the rules and review process.
  3. The pstack guide and recipes and pitfalls: usage patterns and mistakes.
  4. Lauren Tan on X: the 10-second tutorial post. How I Use Cursor: the May launch post and the 9,000 uses claim.
  5. A deep dive into pstack (Flavio Copes): her earlier Claude Code work and how the skills load elsewhere.
  6. Cursor is now a part of SpaceX: the acquisition closing and the team joining SpaceXAI.
  7. MTS podcast episode and a public profile: Tan's work on Grok Bot. The profile is a secondary source.
  8. FAUN toolbox entry: first commit in May 2026.
  9. Pull request 185 and pull request 164: the 0.13.0 release and the setup file path.
  10. pstack-claude, Open Pstack, backnotprop/pstack, pstack-portable, t3-pstack, pi-pstack and ystack: community ports and mirrors.

Continue reading