pstack-help
Skill1 starsChanged 21 days agoMITView on GitHub
Explain Pstack installation, entrypoints, playbooks, prerequisites, and how to recover a run.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- BhaskarManam/pstacktheir own version, first seen Apr 22, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- BhaskarManam/pstack★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository107 other files it gives its agents.
- AGENTS.mdAGENTS.md
- audit-agent-documentationSkill
- automate-meSkill
- babysit-and-shipSkill
- chief-of-staffSkill
- coordinatorSkill
- figure-it-outSkill
- git-guardrailsSkill
- maintain-skillsSkill
- principlesSkill
- pstack-modeSkill
- pstack-setupSkill
- recallSkill
- reflectSkill
- retroSkill
- setup-matt-pocock-skillsSkill
- show-me-your-workSkill
- swarmSkill
- usage-reviewSkill
- wizardSkill
- writing-for-agentsSkill
- broSkill
- in-your-own-wordsSkill
- ketchupSkill
- ketchup-videoSkill
- next-optionsSkill
- prSkill
- reply-shapeSkill
- teachSkill
- technical-writingSkill
- unslopSkill
- write-like-meSkill
- correctSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- diagnosing-bugsSkill
- implementSkill
- implement-specSkill
- linting-alignmentSkill
- maintain-formal-verification-skillSkill
- maintain-verification-skillSkill
- make-bot-uiSkill
- pstack-tddSkill
- setup-agent-sign-inSkill
- setup-pre-commitSkill
- setup-ts-deep-modulesSkill
- statechartSkill
- tddSkill
- typescript-best-practicesSkill
- update-dependenciesSkill
- architectSkill
- arenaSkill
- codebase-designSkill
- design-prototypeSkill
- domain-modelingSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- howSkill
- improve-codebase-architectureSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Start a task with /pstack-mode
- Distinctive: line 25
Check the state that changes the answer, and mention it only when it does:
- Very specific: line 40
Start a real task with /pstack-mode, a goal, and a check that can pass or fail.
- Very specific: line 101
If an installed Pstack skill, one whose description names Pstack, is missing from the table, read its frontmatter and route by its …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pstack help
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 /pstack-mode, do the work under it, and mention once that /pstack-mode ($pstack-mode in Codex) starts it directly next time.
This file maps questions to the skills and guide pages 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 skills are installed copies the user may not be able to open, so give the user the file's public copy: this library's README links every skill. The guide pages are pstack's upstream guide, https://github.com/cursor/plugins/blob/main/pstack/docs/guide/ followed by the page. It is written for Cursor, so its Cursor features don't apply here, and where it names /poteto-mode, /poteto-help, /setup-pstack, or /tdd, this library installs /pstack-mode, /pstack-help, /pstack-setup, or /pstack-tdd.
Find out what they need
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:
- Get set up
- Start a task with
/pstack-mode - Pick a skill for a situation
- Fix a run that went wrong
- Make pstack my own
Check the state that changes the answer, and mention it only when it does:
- No
~/.config/pstack/config.json, and no file atPSTACK_CONFIG, means/pstack-setuphasn't run for this user, so every role uses its default model. - No
verify-*skill or other app harness in the project means agents have no scripted way to drive the app. Mention/create-verification-skillwhen the question is about proving a change works. - No formal verification skill in the project means no property is checked past what tests reach. Mention
/create-formal-verification-skillwhen the question is about a race, an invariant, or another case tests rarely hit. When one exists and the code it covers changed after the commit it records as last in sync, mention/maintain-formal-verification-skillif the question touches that code.
When the configuration is missing and it matters, ask whether the user wants to pick a model for each role and a reasoning budget now. It matters when the user is new, the question is about setup or cost, or the answer depends on which models run. Ask at most once per chat. If the need is also unclear, ask both questions together. Offer two choices:
- Now: give them
/pstack-setupto type, and answer their question too. - Later: answer their question, and add one line saying every role keeps its default model until they run
/pstack-setup.
Get set up
- Install the complete library with the Skills CLI command in the README. The CLI doesn't install dependencies transitively, so a partial install needs the companions the README lists.
- Run
/pstack-setup. It asks for a reasoning budget, maps a model to each role, and writes a personal configuration file that delegates read when they start. Then it offers once each to generate a verification skill and a formal verification skill for the project, unless the project already has one. - Start a real task with
/pstack-mode, a goal, and a check that can pass or fail.
Installing changes nothing until a skill loads. Entrypoints, such as /pstack-mode, load only when the user invokes them. Helpers also load when a Pstack task matches their description, principles when any task does, and both when a workflow runs them. The usage guide and guide page 1, 01-setup.md, have 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 /pstack-setup and pick a smaller budget or cheaper models. A role set to auto or inherit-parent runs on the chat's model, which saves tokens when the chat runs on a cheaper model. Save /pstack-mode for work that needs rigor.
pstack is built for Cursor. This library adapts it to Codex and Claude Code: type $pstack-mode in Codex or /pstack-mode in Claude Code, and the same for every other skill. Delegation, model roles, and cross-vendor review run through /swarm on each host's native tools, and a step that needs a Cursor-only feature, such as Bugbot or Automations, is translated or skipped with a one-line note.
Other tools can read the skills, because they use the Agent Skills format. But most workflow skills, including /pstack-mode, /how, /why, and /teach, spawn subagents through /swarm, which targets Codex and Claude Code, so those parts may not work there.
Start a task with /pstack-mode
/pstack-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. Guide page 2, 02-poteto-mode.md, has examples.
Invoking /pstack-mode activates it for the current conversation only. Installing it or invoking a helper directly doesn't activate it, and it doesn't carry into other chats, so start each new chat's task with /pstack-mode.
Mid-chat, "new task" makes the mode match a fresh playbook. /pstack-mode briefs the subagents its playbook steps spawn through /swarm. To get the same brief and model roles for a subagent of your own, ask for it through /swarm.
Pick a skill
The default answer is /pstack-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.
Rows marked user entrypoint load only when the user invokes them. Give the user the command to type, and don't load one to do its work yourself, apart from /pstack-mode for a work request, as above.
| The user wants to | Skill |
| Do any non-trivial task with rigor | /pstack-mode (user entrypoint) |
| Check that the agent understood their goal and the problem before it starts | /in-your-own-words |
| Make a task deeper, not bigger, before doing it: what a top professional would add, their raw material and methods, and an outside check. It then does the task rather than returning a rewritten prompt | /sharpen |
| 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 |
| Catch up on what changed in this chat since their last message, in plain words and small visuals, with every item waiting on them listed and decidable from the reply alone | /ketchup |
Catch up like /ketchup, in a short subtitled video of slides, with the waiting calls as text under it | /ketchup-video |
| 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, as subagents | /swarm |
| Have different models review a diff and try to break it | /interrogate |
| Fix a bug test-first when a cheap local test exists | /pstack-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 |
| 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 (user entrypoint) |
| 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 (user entrypoint) |
| Formally verify a race, invariant, or other property that tests rarely reach | /create-formal-verification-skill (user entrypoint) |
| Bring a formal verification back in line after the code it covers changed, and learn whether a failure is drift or a bug | /maintain-formal-verification-skill (user entrypoint) |
| 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 |
| Pick a model for each role and a reasoning budget | /pstack-setup |
| Turn their own working habits into a personal mode skill | /automate-me (user entrypoint) |
| Turn what a finished task taught into skill edits | /reflect |
| Stop agents from repeating the same mistakes in this repo | /correct |
| Build a page whose buttons wake an existing agent webhook receiver | /make-bot-ui (user entrypoint) |
| Find their way around pstack | /pstack-help (user entrypoint) |
If an installed Pstack skill, one whose description names Pstack, is missing from the table, read its frontmatter and route by its description. A skill whose frontmatter sets disable-model-invocation: true is a user entrypoint. The principle-* skills are covered under principles below.
Close calls:
/howexplains what the code does./whyexplains the reasons./teachruns one or both and explains the result plainly./arenagives every worker the same brief and merges the best parts./swarmsplits work into slices or a race and returns one report./architectimplements right after it settles the design. Add "with checkpoint" to review the design before it writes code./interrogatereviews the diff./blast-radiuslooks for breakage outside the diff and proves the one fact that makes the change safe./recallrebuilds context across recent chats./ketchupcovers only this chat since the user's last message. Resuming one specific chat or branch is the Session pickup playbook./figure-it-outdesigns 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:
/loopis a Claude Code built-in.- pstack has no
/orchestrateskill. Orchestrate is a/pstack-modeplaybook. If the slash menu shows/orchestrate, another plugin or skill source provides it.
Playbooks and principles
Playbooks are step lists inside /pstack-mode, not skills, so they have no slash command. Inside /pstack-mode, describing the task picks one, and these phrases name one directly:
- "babysit this pr" or "check on pr 123" runs Babysit. It drives the PR to merge-ready and stops there. It doesn't merge unless the user asks to merge, land, or ship.
- "land the stack" runs Shipping.
- "take over this branch" runs Session pickup.
- "pause safely" runs Pause safely.
- "full autopilot on this queue" runs Autopilot-full. "autopilot, don't merge" runs Autopilot-stack.
- "run the eval playbook" runs Eval.
Without /pstack-mode, a phrase such as "babysit this pr" can start another installed skill for the same job instead. /pstack-mode lists every playbook and when it applies. Guide page 6, 06-verify-and-ship.md, covers opening, babysitting, and landing a PR.
pstack has no planning skill. The host's plan mode works alongside it. For work that spans phases or stacked PRs, asking /pstack-mode for a plan runs its 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 /pstack-mode reads through /principles and cites in its replies. The user rarely invokes one. They steer with the names instead, as in "apply prove it works. show me the real output." Typing /principle-<name> still loads one on demand. Guide page 8, 08-principles.md, lists them.
Fix a run that went wrong
| Symptom | Fix |
| The mode stopped applying after a few turns | Invoke /pstack-mode again with the task, and start each task in a new chat with it. |
| 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 | Check that /pstack-setup's file reads back with the choice in the current host's section. A rejected model follows /swarm's Rejected models rule, with the fallback disclosed. |
| Runs cost more than expected | See the cost paragraph under Get set up. |
| A skill didn't load on its own | Entrypoints load only when the user invokes them. Helpers load when a Pstack task matches their description, principles when any task does, and both when /pstack-mode runs them, and it doesn't run every skill. |
| Parallel agents overwrote each other | Give each agent its own worktree. /swarm does this for every writer. |
| An overnight run moved but finished nothing | A loop needs a check that can pass or fail, not a duration. See guide page 7, 07-overnight.md. |
| 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. Guide page 10, 10-recipes-and-pitfalls.md, has more pitfalls and the recipes worth copying.
Make pstack my own
/automate-medrafts a personal mode skill from the user's own history, to use alongside/pstack-mode./reflectafter a session turns its lessons into skill edits the user approves./pstack-mode write a skill for <workflow>runs the authoring playbook. The eval playbook tests a skill change blind.- Fix a misbehaving skill in its own PR, not inside the feature work where it went wrong.
/maintain-skills, run from this library's source repository, updates the whole library from upstream and audits it. Read the saved maintenance automation for its current cadence and model.
Guide page 9, 09-make-it-yours.md, covers each of these.
Reply
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

