/pstack:poteto-helpfrom pstack
Guides users through pstack setup, poteto-mode, and selecting the right skill, playbook, or principle for a task. Invoke with a question to get routing help.
Ships in pstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Answer the user's question about pstack, hand them a prompt they can send, and link the file the answer came from. For a help question, don't start the work. The user asked how, and a pstack run spends real tokens, so let them send the prompt.
A message that asks for work, such as "use pstack to fix this bug", is not a help question. Read poteto-mode, do the work under it, and mention once that session-start routing can keep it coming back for later tasks.
This file maps questions to the skills and docs that hold the answers. Those files own the details. Read the file you route to before you quote it, and trust it when it disagrees with this map. The links here point into the installed plugin, which the user may not be able to open, so give the user the file's public copy: https://github.com/arjitj2/open-pstack/blob/main/plugins/pstack/ followed by its path. Install and update steps live in the README, which isn't packaged; its public copy is https://github.com/arjitj2/open-pstack/blob/main/README.md.
Infer the need from the message and the conversation. A named situation, such as "which skill reviews a PR?", goes straight to its section. If the need is still unclear, ask one multiple-choice question with these options, then answer only the section they pick:
poteto-modeCheck the state that changes the answer, and mention it only when it does:
~/.claude/pstack-models.md on Claude Code or ~/.codex/pstack-models.md on Codex. A missing sheet uses documented role defaults. A missing role in a policy-enabled sheet is an error, not permission to use a default; unreadable or malformed sheets also fail. See provider dispatch for the legacy-sheet distinction.verify-* skill or other app harness in the project means agents have no scripted way to drive the app. Mention create-verification-skill when the question is about proving a change works.create-formal-verification-skill when the question concerns a race, invariant, or another case tests rarely hit. If one exists and its covered code changed after its recorded sync commit, mention maintain-formal-verification-skill when the question touches that code. Keep its bounds and assumptions explicit; a pass does not prove the whole system.When no model sheet is saved and it matters, answer the question and include a Now/Later setup question in that same reply. It matters when the user is new, the question is about setup or cost, or the answer depends on which models run. Do not replace the question with only a setup link or example prompt. Ask at most once per chat, and if the need is also unclear ask both questions together. A request not to change settings or start workers does not prevent this explanation-only offer. Respect an explicit request not to ask questions, a previous choice of Later, or an earlier offer in this chat. The offer writes nothing; setup-pstack saves the sheet only after the user runs it and confirms. Offer two choices:
setup-pstack to invoke, and answer their question too.setup-pstack.Skill names are namespaced under pstack:. In Claude Code, invoke /pstack:poteto-mode. In Codex, select pstack:poteto-mode in the skill picker or mention $pstack:poteto-mode. The rest of this file writes the bare names.
https://github.com/arjitj2/open-pstack/blob/main/README.md#install). In Claude Code, run /plugin marketplace add arjitj2/open-pstack then /plugin install pstack@open-pstack inside the app. In Codex, run codex plugin marketplace add arjitj2/open-pstack then codex plugin add pstack@open-pstack in the shell.setup-pstack. It asks for a reasoning budget, checks the providers you pick, maps a model to each role, and writes the model sheet: ~/.claude/pstack-models.md on Claude Code, ~/.codex/pstack-models.md mirrored into ~/.codex/AGENTS.md on Codex. The saved sheet loads at the start of a session or task. After the configured routes pass the behavioral smoke, it offers once each to generate a regular verification skill and a formal verification skill, unless a relevant project skill or harness already exists. Each generator requires an explicit yes; no moves on. Routing-only requests skip both offers. Project skills go under .claude/skills/<name>/ on Claude Code or .agents/skills/<name>/ on Codex.poteto-mode, a goal, and a check that can pass or fail.Claude Code loads pstack's session-start routing at session start, clear, and compaction, so non-trivial engineering work enters poteto-mode without naming it. Codex ships the same routing as an opt-in SessionStart hook covering startup, resume, clear, and compaction: it stays inactive until the user reviews and trusts the pstack entry in /hooks. The README's Get started section has the details. Offer to word their first prompt with them, per references/prompting.md.
If cost is the worry, say where the tokens go and how to spend fewer. pstack spends extra tokens on subagents and review panels. Rerun setup-pstack and pick a smaller budget or cheaper models. A role set to auto or inherit-parent runs on the parent's current model. The sheet's access facts guide recommendations but do not prove entitlement; the saved API-spend setting controls whether metered access is authorized. The provider dispatch contract owns native versus external routes, access checks, and approved recovery chains. A shorter panel list runs fewer subagents, one for each entry. Save poteto-mode for work that needs rigor.
This distribution runs in Claude Code and Codex. Its skills use the Agent Skills format, so other tools can read them, but workflow skills spawn subagents through the parent's delegation surface and the shipped runner, so they may not work elsewhere. For Cursor itself, use the original Pstack. Lauren's guide walks a real task in Cursor's interface; the ideas carry over.
poteto-modepoteto-mode matches the task to a playbook, copies the playbook's steps into the todo list, and runs the other skills as the steps need them. A step it skips stays in the list as skip: <reason>. A good prompt states the goal and how to tell it's done. It doesn't list skills, because a hand-written sequence tends to drop or reorder steps the playbook would keep. Read references/prompting.md before you help word one. The Playbooks section of poteto-mode has the list.
How poteto-mode stays in effect depends on the parent:
poteto-mode again without naming it.SessionStart entry in /hooks, new tasks route the same way. Untrusted or disabled, nothing routes: select the skill for each task.For ad-hoc native helpers, Claude Code can use poteto-agent — a step delegate, not the playbook runner; the chat that receives /poteto-mode runs the playbook itself. Codex has no such agent type and instead passes instructions to read poteto-mode. Configured roles must use provider dispatch, preserving their selected models and effort. See the Codex tool mapping for host details.
The default answer is poteto-mode, which runs most of the others when its steps need them. Name a skill directly when the user wants more or less of something than the playbook gives. Read the skill before you recommend it, and give one example prompt.
| The user wants to | Skill |
|---|---|
| Do any non-trivial task with rigor | poteto-mode |
| Learn the expert words for what they're building, distinguish plausible problems, check cited sources and rewrite the description | /reframe |
| Know how code works now, or where new code should live | how |
| Know why code is shaped this way, or where a number came from | why |
| Understand a change or subsystem, explained plainly | teach |
| Catch up on their own recent work on a topic | recall |
| Check the agent understood the goal and underlying problem before work starts | in-your-own-words, invoked manually in either host |
| Aim a task at its real goal with an expert approach and an outside check | sharpen, invoked manually in either host |
| Catch up on this chat in plain words and small visuals, with every pending human call and enough context to decide each item, without starting queued work | ketchup, invoked manually as /pstack:ketchup in Claude Code or $pstack:ketchup or the skill picker in Codex |
Catch up like ketchup, in a short subtitled video of slides, with the waiting calls as text under it | ketchup-video, invoked manually as /pstack:ketchup-video in Claude Code or $pstack:ketchup-video or the skill picker in Codex |
| Know what a small diff could break outside itself | blast-radius |
| Settle types and module shape before code that crosses a function boundary | architect |
| Get several attempts at one brief, merged into the best one | arena |
| Run parallel checks over slices, or race workers | swarm |
| Have different models review a diff and try to break it | interrogate |
| Fix a bug test-first when a cheap local test exists | tdd |
Apply TypeScript rules to .ts or .tsx work | typescript-best-practices |
| Strip comments before review, using a reviewer that didn't write them | no-comments |
| Clean AI tells out of prose | unslop |
| Clean AI slop and style noise out of code | deslop |
| Write docs, an RFC, a README, a PR description, or a commit message to a standard | technical-writing |
| Hear the last reply again in plain words | bro |
| Give agents a scripted way to drive the app and prove behavior | create-verification-skill |
| Bring a verification skill and its feature map back in line with the app | maintain-verification-skill |
| Formally verify a race, invariant, or other property that tests rarely reach | create-formal-verification-skill |
| Bring formal verification back in line after covered code changes, and distinguish drift from a bug | maintain-formal-verification-skill |
| Show a PM or designer what the user sees as a chart checked by a TLA+ model, with the shortest path to each state that breaks a rule | statechart |
| Vet a performance number before reporting or acting on it | benchmark-checklist |
| Run a large or cross-cutting change, or one to review after stepping away | figure-it-out |
| Keep a decision log during a run, and review it afterward | show-me-your-work |
| Shepherd an open PR to merge-ready without re-prompting | babysit |
| Find and fix a PR's failing checks | fix-ci |
| Resolve a merge conflict non-interactively | fix-merge-conflicts |
| Fetch and summarize review comments on the active PR | get-pr-comments |
| Tidy a PR's history, description, and reviewer guidance | make-pr-easy-to-review |
| Get an especially harsh maintainability review | thermo-nuclear-code-quality-review |
| Summarize their commits over a period | what-did-i-get-done |
| Pick a model for each role and a reasoning budget | setup-pstack |
| Turn their own working habits into a personal mode skill | automate-me |
| Turn what a finished task taught into skill edits | reflect |
| Stop agents from repeating the same mistakes in this repo | correct |
| Find their way around pstack | poteto-help |
If a skill directory next to this one is missing from the table, read its frontmatter and route by its description. The principle-* directories are covered under principles below.
Close calls:
how explains what the code does. why explains the reasons. teach runs one or both and explains the result plainly.arena gives every worker the same brief and merges the best parts. swarm splits work into slices or a race and returns one report.architect implements right after it settles the design. Add "with checkpoint" to review the design before it writes code.interrogate reviews the diff. blast-radius looks for breakage outside the diff and proves the one fact that makes the change safe.recall rebuilds context across recent sessions. ketchup is a manual, read-only catch-up for this chat since the last actual human message before invocation. Heartbeats and agent notifications do not reset its anchor. It reports pending human decisions and current status through available readers, using UI only with explicit authorization, and leaves queued work pending. Resuming one specific task or branch is the Session pickup playbook.poteto-mode runs the Babysit playbook. The bundled babysit skill is the standalone form of the same job outside a run.figure-it-out designs one rigorous run. The Orchestrate playbook runs a program that spans days and many PRs. The Autonomous run playbook drives one task to a finish condition.Not in pstack:
control-cli and control-ui are Cursor Team Kit tools. The equivalents here are Claude Code's built-in run and verify; codex-tools.md maps them on Codex./create-skill is a Cursor built-in. Authoring guidance here lives in plugin-dev:skill-development./loop-style scheduling is a host built-in, not a pstack skill./orchestrate skill. Orchestrate is a poteto-mode playbook backed by the shipped orch bookkeeping CLI. If a slash menu shows /orchestrate, another plugin provides it.deslop and babysit are bundled in this distribution. deslop comes from Cursor Team Kit; babysit is port-authored.
Playbooks are step lists inside poteto-mode, not skills, so they have no slash command. Inside poteto-mode, describing the task picks one, and these phrases name one directly:
Without poteto-mode, a phrase such as "babysit this pr" can start the bundled babysit skill for the same job instead. The Playbooks section of poteto-mode lists every playbook and when it applies.
pstack has no planning skill. The host's plan feature works alongside it. For work that spans phases or stacked PRs, asking poteto-mode for a plan runs the Multi-phase plan playbook, which writes the plan and doesn't implement it. For a design question, the Prototype playbook or architect settles it in code first.
Principles are one-rule skills that poteto-mode reads and cites in its replies. They don't appear in the skill picker. The user steers with the names instead, as in "apply prove it works. show me the real output." The Principles section of poteto-mode lists them.
| Symptom | Fix |
|---|---|
| The mode stopped applying after a few turns | The skill was selected for one task. Persistence is session-start routing (always on Claude Code; on Codex once the SessionStart hook is trusted in /hooks) or selecting poteto-mode per task. |
Codex tasks never enter poteto-mode on their own | The SessionStart hook is untrusted or disabled. Trust it in /hooks, or select the skill by name. |
| A question got treated as the next step of the last task | Say "new task", or say the turn doesn't need the mode. |
| A new model choice had no effect | The saved sheet loads at the start of a session or task. Start a new one. |
| Runs cost more than expected | See the cost paragraph under Get set up. |
| A skill didn't load on its own | Skills load when named, when a description matches, or when poteto-mode runs them, and it doesn't run every skill. poteto-help is manual-only: it runs only when invoked. Session-start routing only steers non-trivial engineering work into poteto-mode. |
| Parallel agents overwrote each other | Give each writer its own worktree or unique output directory. |
| A worker stopped instead of switching models | By design. Only the sheet's saved primary -> fallback chain, under its # fallback policy, may take over. Anything else is a dropout; repair the route or change assignments through setup-pstack. |
| An overnight run moved but finished nothing | A scheduled loop needs a check that can pass or fail, not a duration. |
| The reply claims success from a green build | Ask for the real command, flow, stored value, or profile. That's the prove-it-works principle. |
For a run that drifts, references/prompting.md has one-line steers.
automate-me drafts a personal mode skill from the user's own history, to use alongside poteto-mode.reflect after a session turns its lessons into skill edits the user approves.poteto-mode write a skill for <workflow> runs the authoring playbook. The eval playbook tests a skill change blind.Lead with the answer. Give at most one example prompt in a code block, adapted from references/recipes.md when one fits, then the link to that file. Keep it short unless the user asked for the whole map.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arjitj2/open-pstack --plugin pstack66 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via plugin-dev:skill-development + unslop, optionally pulling fresh evidence from recent transcripts./babysitWatch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting./benchmark-checklistVet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you run a benchmark or report a speedup or regression you measured./blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust.Other plugins' skills for the same job