API reference
Everything in pstack: skills, playbooks, agents, principles. Search, filter, sort, then click a row for its details.
| Name↑ | Type | Cost | What it does |
|---|---|---|---|
| /architect | pstack skill | Sketch types, signatures and modules before coding. Two shapes, keep the simpler. Switches to arena if the design is big or contested. | |
| /arena | pstack skill | Run N candidates on the same task, have a judge from another vendor score them, keep the best base and graft in the others' good ideas. | |
| attack-the-premise | Principle | Two fixes failed for the same reason: test the shared premise directly. | |
| Authoring a skill | Playbook | Create or change a skill, validate it, open a PR. | |
| /automate-me | pstack skill | Create your own “<you>-mode” skill from your past transcripts. | |
| Autonomous run | Playbook | Work without you until a checkable stop condition. Wakes itself up, logs every iteration. | |
| Autopilot-full | Playbook | Handle a queue of PRs in parallel, from build to merge. One agent per PR, a verification swarm, an hourly audit. The heaviest part of pstac… | |
| Autopilot-stack | Playbook | Like Autopilot-full, but stops at “verified and green”. You do the merging. | |
| Babysit | Playbook | Push a PR to green: conflicts, then review threads, then CI. Never rebases, never merges. | |
| /benchmark-checklist | pstack skill | Check that a perf measurement means something before trusting or reporting it. | |
| /blast-radius | pstack skill | What a change could break outside the diff. Finds the one fact safety depends on and proves it with a script. | |
| boundary-discipline | Principle | Validate at system boundaries, keep business logic pure. | |
| /bro | pstack skill | Repeats the last answer in plain words, no jargon. | |
| Bug fix | Playbook | Fix a bug scientifically: reproduce, find the cause by elimination, fix only what the evidence justifies, prove it on the same surface. | |
| bugbot-triage.md | Script or reference | Reference for triaging review-bot comments: fix the real ones, disprove the noise. | |
| build-the-lever | Principle | Build the tool (script, codemod) rather than doing it by hand. | |
| comment-sicko | Agent | A subagent that hates comments. Deletes narration, commented-out code and workaround justifications. Doesn't touch code. | |
| /correct | pstack skill | Make a mistake agents keep repeating impossible: architecture, then types, then lint, then test, docs last. | |
| /create-formal-verification-skill | pstack skill | Generate a skill that formally proves an invariant where a bug is costly and tests see poorly. | |
| create-skill | Cursor, outside pstack | Cursor built-in skill for writing a SKILL.md. Claude side: skill-creator. | |
| /create-verification-skill | pstack skill | Generate the local skill that drives your app like a person, plus its feature map. | |
| Cursor cloud agent | Agent | A remote agent, one per PR, that builds or verifies. Cursor-specific. | |
| /deslop | Cursor, outside pstack | Skill from the cursor-team-kit plugin that cleans code before commit. Not part of pstack. | |
| encode-lessons-in-structure | Principle | A repeated instruction becomes a lint, a script or a check. | |
| Eval | Playbook | Test whether a skill variant does better. Blind candidates on several models, a blind judge, transcript reading. | |
| exhaust-the-design-space | Principle | Build 2 or 3 competing prototypes before choosing. | |
| experience-first | Principle | Choose user delight over implementation convenience. | |
| explain-the-number | Principle | Understand what limits a number before believing it. | |
| Feature | Playbook | Add a behavior. You keep the design, a subagent writes the code, you verify on the real app. | |
| /figure-it-out | pstack skill | When no playbook fits: it designs a custom playbook, runs it as a hypothesis loop and leaves an auditable log. | |
| fix-root-causes | Principle | Trace back to the first place the system went wrong and fix it there. | |
| foundational-thinking | Principle | Think about types and data structures before writing logic. | |
| generic subagent | Agent | An agent launched in the background for a precise task (read, explore, verify). Each launch costs tokens. | |
| guard-the-context-window | Principle | Send bulk to subagents, keep the summaries. | |
| Hillclimb | Playbook | Improve a number in a loop: one change, one measurement, keep or revert. Can run several attempts in parallel. | |
| /how | pstack skill | “How does it work?” A read-only subagent explores the code and writes an architecture explanation. | |
| /in-your-own-words | pstack skill | Restates your goal and problem, to check the agent understood. | |
| /interrogate | pstack skill | Adversarial agents try to break your change. Only problems proven by a command survive. Fixes nothing. | |
| Investigation | Playbook | Answer a question about the code, read-only. Produces a cited explanation or a recommendation, never a code change. | |
| /ketchup | pstack skill | Catch you up on what changed since your last message, with each decision waiting on you. | |
| /ketchup-video | pstack skill | Like ketchup, as a short subtitled slide video. | |
| laziness-protocol | Principle | Bias toward deletion and the smallest change that solves the problem. | |
| /loop | Cursor, outside pstack | Cursor command that reruns the agent on an interval or on an event. Claude Code has a /loop too. | |
| /maintain-formal-verification-skill | pstack skill | Bring the formal model back in line with the code after changes, and say whether a failure is drift or a real bug. | |
| /maintain-verification-skill | pstack skill | Periodic pass that brings the feature map and verification skill back in line with the code. One reader per feature. | |
| make-operations-idempotent | Principle | Rerunning a step gives the same end state. | |
| migrate-callers-then-delete-legacy-apis | Principle | Migrate all callers and delete the old API in one wave. | |
| minimize-reader-load | Principle | Fewer layers and less hidden state for whoever reads the code. | |
| model-the-domain | Principle | Encode the domain in a structure: state machine, table, type. | |
| Multi-phase plan | Playbook | Write a plan of several PRs, each with its own proof. Delivers only the plan, execution waits for your go. | |
| never-block-on-the-human | Principle | On reversible work, do it and show it, rather than asking. | |
| /no-comments | pstack skill | Runs Comment Sicko on the diff, applies its valid deletions and offers to encode real constraints as types or lint. | |
| Opening a PR | Playbook | Called at the end of almost every playbook. Small commits, cleanup, type(scope) title, short description with fixed headings. | |
| outcome-oriented-execution | Principle | Aim for the target architecture, no throwaway compatibility states. | |
| Pause safely | Playbook | Stop cleanly: wip commit and resume note. Only when you ask. | |
| Perf issue | Playbook | Fix a one-off slowness. Every fix is tied to a before and after measurement. | |
| poteto-agent | Agent | The subagent that writes code in playbooks. It rereads poteto-mode and worker.md before working. | |
| /poteto-help | pstack skill | Guides you through pstack and suggests the right skill or playbook for your question. | |
| /poteto-mode | pstack skill | The router. It restates your goal, picks the matching playbook, copies its steps into the todo list and applies reflexes in every flow. | |
| Prototype | Playbook | Build throwaway code to settle a design choice. The result is a decision, not code to ship. | |
| prove-it-works | Principle | Verify on the real artifact, not “it compiles”. | |
| /recall | pstack skill | Rebuild where you were on a topic from your chats and everything else (git, tickets, Slack). Several subagents in parallel. | |
| redesign-from-first-principles | Principle | Integrate a new requirement as if it had existed from day one. | |
| Refactoring | Playbook | Change the structure without changing behavior. Pin the behavior with a test first, then move in small steps. | |
| /reflect | pstack skill | Extract durable lessons from a session and propose edits to existing skills. | |
| reproduce-and-fix-issues | Benny automation | Automation: reproduces a confirmed bug on the real UI, fixes it if bounded, opens a draft PR. | |
| Runtime forensics | Playbook | Diagnose a live process (spinning CPU, memory leak) by capturing a real profile. Delivers a diagnosis, not a fix. | |
| separate-before-serializing-shared-state | Principle | Remove sharing (one worktree per agent) before serializing access. | |
| sequence-verifiable-units | Principle | Split into small units that each end with a check. | |
| Session pickup | Playbook | Resume a previous session's work without redoing what is done. | |
| setup-benny | Benny automation | Installs the Benny automations in the target repo. | |
| /setup-pstack | pstack skill | Choose which model and budget to use per role. Writes a rule the other skills read. | |
| /sharpen | pstack skill | Rewrites your prompt for a deeper task, not a bigger one. | |
| Shipping | Playbook | Merge a stack of PRs. Each PR is verified by an agent that did not write the code, then merged bottom-up. | |
| /show-me-your-work | pstack skill | Keep a decision log (TSV) for long or unattended work. A model from another vendor reviews the log at the end. | |
| /statechart | pstack skill | Check a TLA+ model and draw it as a state diagram. Gives the shortest path to each state that breaks a rule. | |
| subtract-before-you-add | Principle | Remove dead weight before building. | |
| /swarm | pstack skill | Run N workers in parallel (slices or a race), collect their results and return one report. | |
| /tdd | pstack skill | Write a failing test first, then the fix. Only when a cheap test exists. | |
| /teach | pstack skill | Make you really understand a topic. Runs how and why in parallel and builds a progressive explanation. | |
| /technical-writing | pstack skill | Writing standard for docs, PR descriptions and commit messages. | |
| test-behavior-not-implementation | Principle | Test what the user observes, not internal details. | |
| Trace forensics | Playbook | Diagnose from an existing capture file, converted to sqlite to query it. | |
| triage-issue-reports | Benny automation | Automation: triages each bug report posted on Slack. | |
| type-system-discipline | Principle | Make illegal states impossible to write. | |
| /unslop | pstack skill | Removes AI writing tics from a text. Applied to all prose, replies included. | |
| /verify-<app> | Your project's skill | Your project's verification skill (e.g. /verify-terms-era), generated by create-verification-skill. It is the “real surface” where playbook… | |
| Visual parity | Playbook | Migrate components without changing a pixel. The proof is an image diff of zero. | |
| watch-pr | Script or reference | TypeScript script shipped with poteto-mode that watches a GitHub PR's state. | |
| /why | pstack skill | “Why is it like this?” Reads the commit and PR history, cites the authors, separates facts from guesses. | |
| Worktree cleanup | Playbook | Free disk space by removing unused worktrees and simulators, after checking no chat uses them. |
No results.
Landmarks for reading the reference: token cost, vocabulary, and what is Cursor-specific.
How to read token cost
The catch: architect looks light, but it calls arena as soon as the design is “big or contested”. Feature also calls arena by default when several code shapes are valid. A medium flow can turn heavy without warning.
Vocabulary
A SKILL.md file the agent reads and follows. You call it with /name.
A step-by-step recipe for one kind of task, opened by /poteto-mode.
A small principle-* skill that gives a judgment rule.
A second agent launched by the first, with its own memory. Each launch costs tokens.
The skill that drives your app like a person, made by create-verification-skill.
A second working copy of the repo on another branch, so several agents can code at once.
The main branch, main.
PRs stacked, each based on the previous one.
PASS or FAIL given by an agent that did not write the code.
A checkable condition that says “done”.
What is Cursor-specific
Items of type “Cursor, outside pstack”. For a workflow that runs on Claude Code and Codex, each needs an equivalent or must go.
| In pstack | What it is | Equivalent to plan |
|---|---|---|
/loop | Reruns the agent on an interval or event | Claude Code's /loop, or a cron |
create-skill | Write a SKILL.md | skill-creator on Claude, or your own skill |
/deslop, control-ui, control-cli | cursor-team-kit plugin | Your /verify-<app>, a home-made deslop skill |
Task + subagent_type, environment: cloud | Cursor's subagent tool | Claude Code's Agent tool. Codex may lack a cloud equivalent |
~/.cursor/rules/pstack-models.mdc | Rule written by setup-pstack | A model config file your skills read |
agent-transcripts/, ~/.cursor/projects/ | Where transcripts live | ~/.claude/projects/ on Claude Code |
Cursor cloud agents | One remote agent per PR | Claude Code cloud sessions, or local worktrees |