Reference · pstack

Field Guide

pstack in Claude Code on a Claude-only subscription. Checked against cursor/plugins at 3dbd22f (2026-11-13).

Install and set up

/plugin marketplace add cursor/plugins
/plugin install pstack@cursor-plugins
/pstack:setup-pstack        # budget + roles → ~/.claude/rules/pstack-models.md
                            # say yes to create-verification-skill
# start a new session
claude plugin update pstack@cursor-plugins   # update by hand

On Claude only, Grok roles become inherit-parent (they run on the session model). Panels such as arena, architect and interrogate become all-Claude, so they lose cross-model diversity. Lower the budget or shorten a panel list to spend fewer tokens.

The prompt

/pstack:poteto-mode <goal>. <what you already know>. <constraints>.
done means <a check that can pass or fail>. show me <the proof>.

Leave out the how, any list of skills, and your theory of the cause (at first). Add "new task" when you switch subjects, "don't change any code yet" for read-only work, and "solo repo, no PR: commit on a branch and stop" when there's no remote.

What happens to a prompt

  1. Restate the goal, the problem and the smallest change
  2. Read the principles index
  3. Match a playbook, or figure-it-out
  4. Copy the playbook's steps into a todo list (skips stay visible)
  5. Run the steps, calling skills and poteto-agent subagents
  6. Verify on the real surface
  7. Open a PR (worktree, small commits, gh, ready)

Which playbook

The task sounds likePlaybook
How does X work, why is Y like this, are we sureInvestigation
A defect to reproduce and fixBug fix
Measured slowness, fixed oncePerf issue
Push one metric toward a target over many triesHillclimb
A live symptom (leak, spin), diagnosis onlyRuntime forensics
A captured profile or trace, diagnosis onlyTrace forensics
New or changed behaviorFeature
Same behavior, new structureRefactoring
A throwaway sketch to decide somethingPrototype
Pixel-exact UI matchVisual parity
Run until done, no stoppingAutonomous run
Large, cross-cutting, or "trust it when I'm back"figure-it-out (skill)
A multi-day program with many PRsOrchestrate
Spans phases or stacked PRsMulti-phase plan
Check on a PR or get it greenBabysit
Land a green stackShipping
A queue of PRs, autonomous (merge or don't)Autopilot-full / Autopilot-stack
Resume or pause in-flight workSession pickup / Pause safely
Disk is full of worktreesWorktree cleanup
Write or test a skillAuthoring a skill / Eval
(end of every code playbook)Opening a PR

Skills you call directly

SkillWhen
/pstack:poteto-helpNot sure which skill fits. It answers and hands you a prompt, and doesn't start the work.
/pstack:in-your-own-wordsGet your goal played back before any work starts
/pstack:sharpenMake a prompt deeper, not bigger, before you send it
/pstack:how · why · teach · recallUnderstand a subsystem, its history, or your own recent context
/pstack:architectSettle the shape before code crosses a function boundary
/pstack:arena · swarmN attempts at one thing, best parts merged · N workers on different slices
/pstack:interrogateReviewers try to break a diff. Only findings a run proves are kept.
/pstack:blast-radiusFind what else a small-looking change could break
/pstack:tddWrite a failing test first when a cheap local test path exists
/pstack:unslop · no-comments · broClean up prose · strip comments · restate the last message in plain language
/pstack:show-me-your-workKeep a decision log (TSV) for long or unattended runs
/pstack:reflect · correctTurn a finished run into a skill edit · fix mistakes you keep correcting, at the highest level that works
/pstack:automate-meDraft your own <name>-mode from your transcripts

Autonomy

Proceeds without asking on reversible work. Always pauses for force-pushes to shared branches, deploys, data deletion and customer messages. Phrases such as "don't stop", "going to bed" and "run until done" mean keep going.

Related ideas