pstack
this is an unofficial fork of pstack, built for Claude Code and actively maintained. the original is Lauren Tan's Cursor plugin. ported from cursor lists what moved, and contributing says where to file issues and pull requests.
the introduction below is adapted from poteto's original readme. only the cursor references changed.
i'm poteto. i'm not a president or ceo, but i've worked with millions of lines of code at Meta, Netflix, and Cursor. i'm also on the react core team where i help build and maintain react compiler.
there's a growing sense that ai writes too much slop code. i agree. i don't want to ship like a team of twenty slop artists. throughput without quality is not a goal i aspire to. if you want to go fast, go deep first.
pstack is my answer. these are the same skills i use every day to ship high quality code at Cursor. this turns claude code into a real engineering team. the goal is not to maximize loc, in fact it's the opposite. pstack helps you write less, but higher quality code.
pstack gives you fearless parallelism. when you can go deep on one agent and trust it to write good, verifiable code, you can truly parallelize with confidence. start multiple agents up with poteto-mode and trust that they'll apply rigorous engineering principles to their work.
claude code gives you the best of all worlds. every claude model tier has its strengths and weaknesses. use any model with pstack. in fact, many of my skills use multi-tier workflows to take advantage of each tier's unique strengths.
fork it. improve it. make it yours. PRs are welcome!
ported from cursor
pstack was written by Lauren Tan as a Cursor IDE plugin. the original lives at cursor/plugins (MIT). this repository is that plugin ported for Claude Code: the workflows, playbooks, and principles are unchanged, and only the Cursor-specific plumbing moved.
| in the original (Cursor) | in this port (Claude Code) |
|---|
model config at ~/.cursor/rules/pstack-models.mdc (alwaysApply rule) | ~/.claude/pstack-models.md, always loaded via @~/.claude/pstack-models.md in ~/.claude/CLAUDE.md |
| multi-vendor model slugs (fable, opus, gemini) and a cross-vendor judge | claude tiers: fable, opus, sonnet, haiku; gemini seats run on sonnet, and the judge runs on another tier |
/setup-pstack budget rewrites the effort suffix of every slug | budget sets effortLevel in ~/.claude/settings.json |
per-spawn effort and speed in the slug (claude-opus-5-5-xhigh, -fast) | the agent tool's effort parameter; no per-spawn fast mode |
readonly: true subagents (ask mode, strips MCP) | read-only by instruction in the prompt; subagents keep MCP tools |
/poteto-mode as a Custom Mode (option+enter) | a skill stays in context once invoked; optional always-on import (below) |
Cursor Projects; cloud subagents (/in-cloud) | a long-lived or cloud (claude.ai/code) coordinator session; worktree-isolated subagents |
AskQuestion tool; Task subagent launcher | AskUserQuestion tool; Agent subagent launcher |
transcripts under ~/.cursor/projects/<slug>/agent-transcripts/ | ~/.claude/projects/<slug>/<session-uuid>.jsonl |
cursor-team-kit's /deslop, control-cli/control-ui | built-in /simplify; the project's verify-<app> skill |
cursor-agent headless CLI; Cursor Automations | claude -p; /schedule routines or GitHub Actions |
/make-bot-ui (Cursor webhook routines waking a Grok Bot) | not ported; no Claude Code counterpart |
docs/harness/claude-code.md, upstream's runtime name map for its own Claude Code build | not shipped; this port rewrites the names in place, so the map would contradict it |
syncing with upstream
the port tracks upstream as a vendor branch so git carries the Claude Code changes forward. to pick up a new upstream version:
scripts/sync-upstream.sh runs steps 1 to 3 and the tests, and leaves the merge staged for review. it exits 3 when upstream has nothing new, and 1 when something needs a person. by hand: