npx claudepluginhub mhounslow/pstack-claude-codeUnofficial Claude Code port of pstack, poteto's rigorous agent workflows for Cursor. If you want to go fast, go deep first.
An unofficial Claude Code port of pstack, the skills Lauren Tan (poteto) uses to ship rigorous, verified code at Cursor. Upstream is a Cursor plugin. This repo converts it into a Claude Code plugin with a script, so it can follow upstream releases.
This project is not affiliated with or endorsed by Cursor or Lauren Tan. The skills are upstream's work. Report port bugs here, not upstream.
In Claude Code:
/plugin marketplace add mhounslow/pstack-claude-code
/plugin install pstack@pstack-claude-code
Or from a shell:
claude plugin marketplace add mhounslow/pstack-claude-code
claude plugin install pstack@pstack-claude-code
Then run /reload-plugins or start a new session.
/pstack:setup-pstack to choose the Claude model for each role. The defaults work without it./pstack:poteto-mode <task>. It picks a playbook and runs the other skills as its steps need them.Upstream's README and guide describe every skill, playbook, and principle. They're written for Cursor, so read /poteto-mode as /pstack:poteto-mode, /how as /pstack:how, and so on.
| Upstream (Cursor) | This port (Claude Code) |
|---|---|
/poteto-mode, /how, /interrogate | /pstack:poteto-mode, /pstack:how, /pstack:interrogate |
mode: true keeps poteto-mode on with a reminder each turn | A UserPromptSubmit hook adds the same reminder after you run /pstack:poteto-mode in a session |
Task tool, generalPurpose, readonly: true | Agent tool, general-purpose, and a read-only pstack:reader agent |
| Model panels across vendors (Opus, GPT, Grok) | Claude models only. Code roles default to sonnet, judgment and prose to opus, review panels to opus, opus, sonnet |
~/.cursor/rules/pstack-models.mdc | ~/.claude/rules/pstack-models.md |
Cursor transcripts under agent-transcripts/ | Claude Code transcripts at ~/.claude/projects/<slug>/<session-id>.jsonl |
Cloud agents (environment: "cloud") | Background subagents with isolation: "worktree", or "remote" where your plan has it |
Cursor's built-in create-skill | Anthropic's skill-creator skill (install it from the anthropics/skills marketplace) |
/deslop from cursor-team-kit | Claude Code's built-in /simplify |
Not ported:
make-bot-ui. Both run on Cursor Automations.control-ui and control-cli from cursor-team-kit. The playbooks point at the project's verify-* skill, Claude in Chrome, or a terminal driver instead.The biggest loss is model diversity. interrogate, arena, and architect get their adversarial signal from models that fail in different ways. Claude Code subagents run Claude models only, so the default panels pair two Opus runs with one Sonnet run. Separate samples still disagree usefully, but less than three vendors do. /pstack:setup-pstack can change any panel.
port/port.py rebuilds pstack/ from the upstream commit pinned in port/UPSTREAM. It needs only Python 3.12 or later.
python3 port/port.py --ref <upstream-commit> # port a newer upstream commit and pin it
python3 port/port.py --check # fail if pstack/ differs from a fresh rebuild
The port runs in layers:
port/overlay/ replace or add files: the manifest pieces, the hook, the reader agent, and setup-pstack.When upstream rewrites a passage the port edits, its anchor stops matching and the run fails with the file and the anchor. Port the new text by hand, then update the edit. Don't edit pstack/ directly. The next rebuild overwrites it.
.claude-plugin/marketplace.json makes this repo a Claude Code marketplace.pstack/ is the generated plugin.port/ holds the converter, the upstream pin, and the overlay files.MIT. The skills are Lauren Tan's work under upstream's license. The port tooling uses the same license. See LICENSE.
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows