---
title: "pstack"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "2"
url: "https://mindket.com/p/47058551-eb9e-481a-9b62-96fba4123f24"
updated: "2026-11-09"
---

# pstack

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Michael Denyer’s port of Lauren Tan’s pstack skill stack to Claude Code, Codex, Pi, GitHub Copilot, Muse and other agents. Tell its poteto-mode skill your goal and it picks a workflow that keeps your code concise, simple and verified.

pstack is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on 2026-11-09. Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

Made by michael-denyer

## About

### What it is

pstack is a set of skills, agents and hooks that gives a coding agent a method for its work. Lauren Tan wrote it for Cursor, and Michael Denyer’s repository ports it to Claude Code, Codex, Pi, GitHub Copilot, Muse and other agents. You give its entry skill, poteto-mode, a goal, and it picks the workflow that fits. The port tracks upstream and also carries named policy forks.

You give poteto-mode a goal → It chooses a playbook for the task → architect, arena or swarm plan and delegate the work → interrogate, tests and measurements review and verify it → You get the result and the evidence it ran

### Who it suits

Developers who let a coding agent change real code and want it to plan, test and report what it checked, not hand back one unchecked answer. People who already use Lauren Tan’s Cursor skills can keep the same skills in another agent. Skip it for small edits, which the routing hook leaves to the agent on its own.

Who uses it, and how

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Software teams | Developers on a shared codebase | Hand a bug or a feature to poteto-mode and read the evidence it returns | A developer reports a search filter that resets when the page changes and gets the failing and the passing run back. |
| Open source and platform work | Maintainers | Hand a pull request to the babysit skill, which monitors it, fixes CI and comments, and keeps it merge-ready | A maintainer asks it to babysit an open pull request until it is ready to merge. |
| Performance work | Engineers with a measured slowdown or speedup | Run the benchmark checklist before reporting a number | An engineer checks a claimed speedup for its limiter, tuning, errors, repeat runs and end-to-end relevance. |
| Concurrency-heavy code | Engineers with bugs that tests cannot reach | Run the formal verification skill on the riskiest property | An engineer lets it pick the riskiest property, verify it with a fitting tool and leave a project skill the next agent reruns. |

### Where to use it

The README has an install block for each of these agents, and a shared route for the rest.

- Claude Code: a marketplace plugin, with skills called as /pstack:poteto-mode and a hook that routes tasks
- Codex: a native plugin from the repository’s Codex marketplace, with a hook you trust through /hooks
- GitHub Copilot: a plugin for the CLI and the app, with a first-run model setup
- Pi: a package whose extension adds subagent, question and wake-up tools
- Muse: a native plugin bundle that you approve with muse plugins approve pstack
- OpenCode, Gemini CLI and Prime Agent: skills linked into \~/.agents/skills/

What the reference page records

| Agent | Status |
| --- | --- |
| Claude Code | Marketplace plugin with automatic routing |
| Codex | Native plugin. The install lines match the codex-cli 0.154.0-alpha.6.2 help, and a fresh native install was not tested for that change. Shared skill links were detected in a live session |
| Pi | An equivalence table records each Claude Code mechanism and how it was verified on Pi 1.1. The live run had only a ChatGPT sign-in, so the Claude model IDs were never called live |
| GitHub Copilot | Install, routing, agent dispatch and first-run setup smoke-tested on the CLI |
| Muse | Native plugin bundle, with hooks approved by you |
| OpenCode | Skill loading verified in the CLI and the desktop app, and delegation in the CLI |
| Gemini CLI and Prime Agent | Their documentation says skills are found in a shared folder, and neither was tried in a live session |

### How to set it up

Get it saves a zip of Mindket’s setup notes in your downloads folder, with each agent’s steps from the maker’s README and reference page. For Claude Code, run two lines inside a session.

What you need first

| Need | Detail |
| --- | --- |
| Claude Code | Version 2.1.292 or later, for the Claude Code install |
| GitHub CLI | gh, signed in with gh auth login, for PR monitoring, shipping and the orch stack frontier |
| Bun | Runs the bundled watch-pr and orch scripts, and installs their dependencies on first run |
| Node.js | Runs worktree-audit.mjs and the check-playbooks.mjs check for project playbooks |
| plugin-dev | A Claude Code authoring companion that only automate-me, reflect and poteto-mode use |
| Codex subagents | multi\_agent = true under \[features\] in \~/.codex/config.toml, if subagents are disabled |

1. Add the marketplace and install the plugin with the two lines below.
2. Run /pstack:setup-pstack to choose models and a reasoning effort, and to turn routing on or off.
3. Give your agent a task and name poteto-mode in it.

```text
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Claude Code leaves auto-update off for third-party marketplaces. To update once by hand, run this in a terminal:

```sh
claude plugin update pstack@pstack-claude
```

The other agents have their own lines in the README:

```sh
codex plugin marketplace add michael-denyer/pstack-claude
codex plugin add pstack@pstack-claude
```

```sh
copilot plugin marketplace add michael-denyer/pstack-claude
copilot plugin install pstack@pstack-claude
```

```sh
pi install git:github.com/michael-denyer/pstack-claude
```

```sh
git clone https://github.com/michael-denyer/pstack-claude
cd pstack-claude
muse plugins install ./plugins/pstack
muse plugins approve pstack
```

### How to use it

Tell poteto-mode your goal in plain words. A hook points the agent at it for a task that touches more than one file or changes a signature other files call. It does the same for a design choice, a bug with an unknown cause or a performance issue. Smaller tasks go straight to the agent.

```text
Use poteto-mode to fix the search filter resetting when I change pages.
```

Claude Code calls each public skill /pstack:\<name\>, Pi calls it /skill:\<name\>, and Muse lists it as /\<name\>. In Codex you ask for a skill by name, or install the optional shortcuts for the /name form. These are some of its slash commands, from the reference page.

Some of its skills

| Skill | What it does |
| --- | --- |
| how | Walks through how a subsystem works |
| why | Investigates why something was built this way |
| architect | Settles types and module shape before code that crosses a function boundary |
| arena | Runs parallel attempts at one task and picks the best parts |
| interrogate | Has a panel of different models, one subagent per entry, try to break a diff |
| tdd | Fixes a bug by writing the failing test first |
| babysit | Monitors an open pull request, fixes CI and comments, keeps it merge-ready |
| poteto-help | Answers a question about pstack with the prompt to send and the file the answer came from |

To turn routing off, run setup-pstack and answer off for the session hook. You can also write this line in the model sheet:

```text
session hook: off
```

### Example

You work in a web app where the search filter resets whenever you change pages, and pstack is installed in Claude Code. You type:

```text
Use poteto-mode to fix the search filter resetting when I change pages.
```

Its first reply restates your goal and the smallest change it expects. For a bug, the README says it reproduces the failure, uses how and why to investigate, delegates the fix, then reruns the failing case. If the fix crosses a function boundary, it brings in architect first. You get the fix and the failing and passing evidence.

### For newcomers and experts

**If you are new.** A skill is a Markdown file of instructions that your agent reads. pstack bundles a large set of them, plus agents and scripts, so you do not learn each one. Install it, name poteto-mode in a real task, and read what it reports back. Run setup-pstack once to pick models.

**For experts.** Each role has a default model, and a line in the pstack-models.md sheet overrides it. A value can carry an effort, as in opus @xhigh. Panels such as arena runners and interrogate reviewers take a list, one subagent per entry, and the reference page advises distinct models. Tools and model names differ by agent, so Codex, Pi, Copilot and Muse each have a mapping file.

A required independent review does not fall back to your own check. If no reviewer can run, poteto-mode keeps the review gate closed and records it. A repository can add playbooks under .agents/playbooks/, and a script flags any that extends a missing playbook or quotes step text the new version dropped.

For a property tests cannot reach, create-formal-verification-skill picks the riskiest one and leaves a project skill. The README points to a separate plugin, agent-formal-verify, for guided TLA+ model checking, Lean proofs and Kani for Rust.

### Good to know

Most of pstack is text your agent reads, and a few parts run on your machine.

- Data: the README says pstack has no server or telemetry. Anything its skills ask your agent to read, including session transcripts, goes to your model provider
- Scripts: they run locally, and the pull request tools use your GitHub CLI login
- Autonomy: poteto-mode lets reversible work and external actions such as team chat and ticket updates proceed without asking. It pauses for force-pushes to shared branches, deploys, data deletion and customer messages
- Hooks: a SessionStart hook runs a script at session start. Codex and Muse run it only after you trust or approve it. On Windows, Codex and Muse run a PowerShell adapter with -ExecutionPolicy Bypass, which a machine or user execution policy set by Group Policy overrides. Then the hook fails and no instruction loads
- Parallel models: arena and interrogate run several models at once. Pi warns that Anthropic bills Claude used through Pi per token, as extra usage, even on a Claude subscription, and every subagent adds to that bill
- Untested paths: Gemini CLI and Prime Agent were not tried in a live session
- Copilot: the README names the CLI versions it was tested on. If a later version keeps only one plugin’s context, setup-pstack offers a standing instruction instead
- Removal: the README and the reference page give no uninstall steps for Claude Code, Codex, Copilot or Pi. Muse has muse plugins remove pstack, and linked skills are removed by deleting their links
- License: MIT. The LICENSE names Lauren Tan and Michael Denyer, and the imported cursor-team-kit and thermos skills are Cursor’s

## README

````markdown
# pstack: setup notes

This kit holds setup notes only. Mindket wrote them. The skills, agents, hooks and scripts install from Michael Denyer's repository: https://github.com/michael-denyer/pstack-claude

These notes are not made or endorsed by Michael Denyer or Lauren Tan. The README says the repository is a port of Lauren Tan's pstack, "an opinionated Cursor skill stack that improves agent outcomes", for Claude Code, Codex, Pi, GitHub Copilot, Muse and other agent harnesses. It says the port tracks upstream and also carries named policy forks, each declared in `tools/forks.json`. The README is at https://github.com/michael-denyer/pstack-claude/blob/main/README.md

License: MIT. The LICENSE file (https://github.com/michael-denyer/pstack-claude/blob/main/LICENSE) names two holders, "Copyright (c) 2026 Lauren Tan" and "Copyright (c) 2026 Michael Denyer". The README adds that the imported cursor-team-kit and thermos skills are (c) 2026 Cursor, and points to LICENSE-cursor-team-kit, LICENSE-thermos and NOTICE.md.

## What it is, in the maker's words

You tell `poteto-mode` your goal and it invokes the workflow that fits. The README says it keeps your code concise, simple and verified. The plugin README (https://github.com/michael-denyer/pstack-claude/blob/main/plugins/pstack/README.md) lists what the package contains:

- Skills: Markdown instructions the agent reads. On Claude Code the public ones appear as `/pstack:<name>` slash commands.
- Agents: `pstack:poteto-agent` and `pstack:comment-sicko`, plus the two thermos review subagents. The reference page counts four `agents/` files.
- A SessionStart hook that injects the poteto-mode routing instruction, unless your `pstack-models.md` sheet turns it off.
- A Pi extension that adds the subagent, question and wake-up tools, `/loop` and the same routing instruction when the repository is installed as a Pi package.
- Local scripts for watching and shipping pull requests, orchestrating multi-phase plans and auditing worktrees.

## What you need first

- Claude Code 2.1.292 or later, for the Claude Code install. Source: README
- Your agent of choice. Install notes for each follow in setup/. The reference page records which runtimes were tested and which were not: https://github.com/michael-denyer/pstack-claude/blob/main/docs/reference.md#runtime-support
- GitHub CLI, `gh`, for PR monitoring, shipping and the `orch` stack frontier. Authenticate with `gh auth login`. Source: reference page, Configuration and dependencies
- Bun, for the bundled `watch-pr` and `orch` scripts. Their bootstrap installs script dependencies on first run. Source: reference page
- Node.js, for `worktree-audit.mjs` and the `check-playbooks.mjs` check for project playbooks. Source: Codex tool mapping
- `plugin-dev`, a Claude Code skill-authoring companion that `automate-me`, `reflect` and `poteto-mode` use for their authoring guidance. Other workflows do not need it. Source: reference page

## Install commands

Each agent has its own, copied exactly in its file under setup/. The Claude Code one:

```
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Source: https://github.com/michael-denyer/pstack-claude/blob/main/README.md

## Per-agent notes

- setup/claude-code.md
- setup/codex.md
- setup/pi.md
- setup/github-copilot.md
- setup/muse.md
- setup/other-agents.md: OpenCode, Gemini CLI, Prime Agent, skills-only Codex and the skills CLI route
- setup/models-and-routing.md: `setup-pstack`, the model sheet for each runtime and how to turn routing off

## Update or remove

The README gives this update line for Claude Code, by hand:

```
claude plugin update pstack@pstack-claude
```

The Muse and shared-skills routes have their own update and removal lines in their files, and a Codex shortcut has a removal line. The README and the reference page give no uninstall steps for the Claude Code, Codex, Copilot or Pi installs.

## Data handling

The README says pstack has no server or telemetry. Anything its skills ask your agent to read, including session transcripts, goes to your model provider. Scripts run locally, and PR tools use your GitHub CLI login. Source: https://github.com/michael-denyer/pstack-claude/blob/main/README.md

## Reporting a problem

SECURITY.md asks for vulnerabilities to go through GitHub's private vulnerability reporting form on the repository, not a public issue. Source: https://github.com/michael-denyer/pstack-claude/blob/main/SECURITY.md

## Sources

- README: https://github.com/michael-denyer/pstack-claude/blob/main/README.md
- Reference: https://github.com/michael-denyer/pstack-claude/blob/main/docs/reference.md
- Plugin README: https://github.com/michael-denyer/pstack-claude/blob/main/plugins/pstack/README.md
- poteto-mode skill: https://github.com/michael-denyer/pstack-claude/blob/main/plugins/pstack/skills/poteto-mode/SKILL.md
- setup-pstack skill: https://github.com/michael-denyer/pstack-claude/blob/main/plugins/pstack/skills/setup-pstack/SKILL.md
- setup-pstack on Copilot: https://github.com/michael-denyer/pstack-claude/blob/main/plugins/pstack/skills/setup-pstack/copilot.md
- Codex tool mapping: https://github.com/michael-denyer/pstack-claude/blob/main/plugins/pstack/skills/poteto-mode/references/codex-tools.md
- Pi equivalence: https://github.com/michael-denyer/pstack-claude/blob/main/docs/pi-equivalence.md
- NOTICE: https://github.com/michael-denyer/pstack-claude/blob/main/NOTICE.md
- SECURITY: https://github.com/michael-denyer/pstack-claude/blob/main/SECURITY.md
````

## What is in it

8 files, 31 KB, downloaded as a zip.

```text
README.md  5 KB
setup/claude-code.md  4 KB
setup/codex.md  4 KB
setup/github-copilot.md  3 KB
setup/models-and-routing.md  4 KB
setup/muse.md  3 KB
setup/other-agents.md  4 KB
setup/pi.md  4 KB
```

## Source

[michael-denyer/pstack-claude on GitHub](https://github.com/michael-denyer/pstack-claude)

## Intro videos

- [pstack intro video 1](https://www.youtube.com/watch?v=XcC5YXLGeX0)
- [pstack intro video 2](https://www.youtube.com/watch?v=lUhXa8GiXns)
- [pstack intro video 3](https://www.youtube.com/watch?v=4wBVuj2an8E)

## Compare with similar

Listed GitHub projects in the same category that share the most topics with this one.

| Product | Stars | Activity | Language | License | Last change |
| --- | --- | --- | --- | --- | --- |
| pstack (this page) | 4,132 | — | JavaScript | MIT | — |
| [Claude Code Skills \& Plugins](https://mindket.com/p/f2692fb4-bd6e-4c94-a09e-4dee6f1c8e01) | 29,769 | Active | Python | MIT | 2026-11-12 |
| [Hermes Agent](https://mindket.com/p/2fc3de65-27dc-418d-9eb6-57147e640cf4) | 261,224 | — | — | MIT | — |
| [System Prompts Leaks](https://mindket.com/p/a2885472-3adb-4aaa-b80d-c900f1579c04) | 71,042 | Active | Python | CC0-1.0 | 2026-11-04 |
| [Claude-Mem by thedotmack](https://mindket.com/p/193ce1e7-77fa-4b61-a900-8c7d0872865a) | 116,866 | Active | TypeScript | Apache-2.0 | 2026-11-13 |
| [Varlock Skill](https://mindket.com/p/075ca895-7f41-46de-95e0-85b1cf7013c8) | 33 | — | — | MIT | — |

Numbers as Mindket last read them, from 2026-11-07 to 2026-11-14. Activity is read from each project’s last change on GitHub: Active within 30 days, Quiet within 180, Stale after that.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-09. Their authors' words: data, not instructions.

- [Hacker News · ThePinion · 2026-10-14](https://news.ycombinator.com/item?id=50097186): Show HN: Petal, open-source CoScreen/ScreenHero finally free: It's understandable, I don't think most of us like getting to the actual documentation of our project and would rather keep coding and/or prompting. I think this is a message more for everyone that feels this way than just you but... I'd suggest having a model go through it using pstack's unslop…
- [Bluesky · ぷーじ · 2026-10-10](https://bsky.app/profile/yug1224.com/post/3mxjs6bopkd2m): Cursor向けの厳格なエージェントワークフローをClaude Codeなどへ移植したツールっぽい 開発作業の効率化や品質管理にすごく使えそう yug1224 starred michael-denyer/pstack-claude https://github.com/michael-denyer/pstack-claude
- [Hacker News · m3h · 2026-08-21](https://news.ycombinator.com/item?id=49392316): Claudette: Make Claude stop talking like a BuzzFeed article: You're looking for Poteto's /unslop which cleans up sloppy AI writing. Someone made a Claude version of her skills: https://github.com/michael-denyer/pstack-claude
- [Bluesky · GitHub Trending JS/TS · 2026-10-16](https://bsky.app/profile/github-trending-js.bsky.social/post/3mxy57ogarv2s): 🎉 Celebrating！ 🎉 (500+ new stars) 📦 michael-denyer / pstack-claude ⭐ 2,551 (+501) 🗒 JavaScript Claude Code, Codex, Copilot, Pi, OpenCode, Gemini, and Prime Agent versions of Poteto's pstack. Rigorous agent workflows with Cursor primitives translated for other harnesses.
- [Bluesky · GitHub Trending · 2026-10-04](https://bsky.app/profile/github-trending.bsky.social/post/3mx2iezvenj2u): 🚀 Skyrocketing！ 🚀 (200+ new stars) 📦 michael-denyer / pstack-claude ⭐ 1,073 (+242) 🗒 JavaScript Claude Code, Codex, Pi, OpenCode, Gemini, and Prime Agent versions of Poteto's pstack. Rigorous agent workflows with Cursor primitives translated for other harnesses.
- [Bluesky · GitHub Trending JS/TS · 2026-11-04](https://bsky.app/profile/github-trending-js.bsky.social/post/3mzjbntpw442f): 🔥 Hot Repo！ 🔥 (100+ new stars) 📦 michael-denyer / pstack-claude ⭐ 3,946 (+103) 🗒 JavaScript Claude Code, Codex, Copilot, Pi, OpenCode, Muse, Gemini, and Prime Agent versions of Poteto's pstack. Rigorous agent workflows with Cursor primitives translated for other harnesses.
- [Bluesky · GitHub Trending JS/TS · 2026-10-20](https://bsky.app/profile/github-trending-js.bsky.social/post/3mycfs3axtg22): 🔥 Hot Repo！ 🔥 (100+ new stars) 📦 michael-denyer / pstack-claude ⭐ 3,131 (+119) 🗒 JavaScript Claude Code, Codex, Copilot, Pi, OpenCode, Gemini, and Prime Agent versions of Poteto's pstack. Rigorous agent workflows with Cursor primitives translated for other harnesses.
- [Bluesky · technews4869 · 2026-10-10](https://bsky.app/profile/technews4869.bsky.social/post/3mxjq3hu3z72m): github.com/michael-denyer/... GitHub - michael-denyer/pstack-claude: Claude Code, Codex, Copilot, Pi, OpenCode, Gemini, and Pr...
- [Bluesky · GitHub Trending JS/TS · 2026-10-04](https://bsky.app/profile/github-trending-js.bsky.social/post/3mx37tw4kum2x): 🚀 Skyrocketing！ 🚀 (200+ new stars) 📦 michael-denyer / pstack-claude ⭐ 1,073 (+242) 🗒 JavaScript Claude Code, Codex, Pi, OpenCode, Gemini, and Prime Agent versions of Poteto's pstack. Rigorous agent workflows with Cursor primitives translated for other harnesses.

## Get it

- [Open michael-denyer/pstack-claude on GitHub](https://github.com/michael-denyer/pstack-claude)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/47058551-eb9e-481a-9b62-96fba4123f24)
- [Its page on Mindket](https://mindket.com/p/47058551-eb9e-481a-9b62-96fba4123f24)
