pstack (multi-harness port)
A port of Lauren Tan's Cursor skill stack to Claude Code, Codex, Copilot and a dozen other agent harnesses, routing each task to a strict workflow.
- Source repo
- michael-denyer/pstack-claude
- Stars
- ★ 4.8k
- Last updated
- today
- FARS reviewed
- Oct 06, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 67/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeChatGPT (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers already on Claude Code or Codex who want upstream's Cursor pstack workflow without making the agent translate skill names on every run.
- Not a fit if
- Teams without any of the supported agent harnesses installed
- Anyone on OpenCode 1 or Copilot CLI later than 1.0.92
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24+53.7 ★/day over 7 days
- Source review
- 67/100 · Some gaps
What does this agent do, and when should you use it?
pstack is Michael Denyer's port of Lauren Tan's opinionated Cursor skill stack, bringing the same workflow to Claude Code, Codex, Pi, GitHub Copilot, Muse, OMP, Kimi Code CLI, OpenCode 2, Antigravity, MiniMax Code, Grok Build, and skills-only installs for Gemini CLI, Prime Agent and DeepSeek Harness. The entry point is the poteto-mode skill: it takes a goal, picks a playbook (bug fix, planning, feature, refactoring, performance, investigation, prototype, PR maintenance, shipping, longer projects), and works with supporting skills such as architect, arena, swarm, how, why, interrogate and unslop to plan, delegate, review and verify. The port's key move is translating upstream's Cursor skill names before installation rather than asking the model to map them at runtime, plus a SessionStart hook that routes tasks to poteto-mode on runtimes that support it. A separate /create-formal-verification-skill targets concurrency bugs and invariants tests cannot reach, verifying the riskiest property and leaving a project skill the next agent reruns. Installation is driven by npx open-pstack (or Homebrew), which detects harnesses on your PATH and dispatches to each native plugin mechanism; there is no server or telemetry, but whatever the skills read, including session transcripts, goes to your model provider.
During install, open-pstack probes the PATH for harnesses and honors --only, --yes, --dry-run and --list, then calls each harness's native path: Claude Code via /plugin marketplace add michael-denyer/pstack-claude and /plugin install pstack@pstack-claude; Codex via codex plugin marketplace add and codex plugin add; Pi via pi install git:github.com/michael-denyer/pstack-claude, which also loads the pstack Pi extension adding subagent, question and wake-up tools plus /loop; Copilot via copilot plugin marketplace add and copilot plugin install; Muse via muse plugins install ./plugins/pstack and muse plugins approve pstack; OMP via omp plugin marketplace add and omp plugin install --scope user; Antigravity via agy plugin install ./plugins/pstack; MiniMax Code by copying plugins/pstack into ${MINIMAX_DATA_DIR:-$HOME/.minimax}/plugins/. Muse, Grok Build, MiniMax Code, Antigravity and the shared skills directory install from a staged local copy at ~/.local/share/open-pstack/pstack. At runtime, poteto-mode takes a plain-language goal and selects a playbook: for a bug it reproduces the failure, investigates with how and why, delegates the fix, then reruns the failing case, pulling in architect when the change crosses a function boundary; longer or unattended flows also invoke show-me-your-work for a local decision trail that stays uncommitted by default. setup-pstack turns automatic routing on or off, changes model defaults, and sets reasoning effort per role (for example arena runners: opus @xhigh, fable @max); Copilot runs it on first model need to pick from your account's models.
- Developers already on Claude Code or Codex who want upstream's Cursor pstack workflow without making the agent translate skill names on every run.
- Teams that move between harnesses — Claude Code by day, Codex in CI, Pi locally — and want one fix-and-review process across them.
- Engineers facing a concurrency bug or untestable invariant who need the riskiest property verified and a rerunnable project skill left behind.
- Reviewers and tech leads who want 'reproduce first, fix, then show passing evidence' enforced before a bug fix lands.
- GitHub Copilot CLI or OpenCode 2 users who want skills, subagents and the routing hook installed as a native plugin.
- Gemini CLI, Prime Agent or DeepSeek Harness users who only need the skill directories linked, with no hooks or extensions.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx open-pstacknpm install -g open-pstackbrew install michael-denyer/tap/open-pstack
- Config files
~/.agents/skills- Runtime
- Node.js 20
- Install notes cover
- macOS
How do you install or deploy this agent?
General path, requires Node 20 or later:
npx open-pstackOr install once and run by name, or use Homebrew:
npm install -g open-pstack
open-pstackbrew install michael-denyer/tap/open-pstackUseful flags:
open-pstack --only claude,pi
open-pstack --yes
open-pstack --dry-run
open-pstack --listSingle harness, Claude Code (2.1.292 or later):
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claudeCodex:
codex plugin marketplace add michael-denyer/pstack-claude
codex plugin add pstack@pstack-claudePi (1.5.1 or later):
pi install git:github.com/michael-denyer/pstack-claudeGitHub Copilot:
copilot plugin marketplace add michael-denyer/pstack-claude
copilot plugin install pstack@pstack-claudeSkills-only linking for Gemini CLI, Prime Agent and DeepSeek Harness:
git clone https://github.com/michael-denyer/pstack-claude
cd pstack-claude
mkdir -p ~/.agents/skills
for s in plugins/pstack/skills/*/; do
target=~/.agents/skills/"$(basename "$s")"
test -e "$target" || test -L "$target" || ln -s "$(pwd)/$s" "$target"
doneHow do you use this agent?
Start a new session and invoke poteto-mode in plain language:
Use poteto-mode to fix the search filter resetting when I change pages.Skill invocation differs per harness: Codex uses $ and inserts $pstack:<name>; Pi uses /skill:<name>; Muse, Grok Build and Antigravity use /poteto-mode; Kimi uses /skill:pstack:poteto-mode; OpenCode registers pstack- prefixed skill IDs.
Adjust routing and models:
setup-pstackSet reasoning effort per role:
arena runners: opus @xhigh, fable @maxFor concurrency risks tests cannot reach:
/create-formal-verification-skillSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- dependency security
- verifiable attribution
What are this agent's strengths and limitations?
- Names are translated at install time, so no runtime token cost or mapping errors compared with upstream's Cursor-name translation approach.
- One installer,
open-pstack, covers a dozen harnesses with--dry-run,--listand--onlyfor controlled rollouts. poteto-modepicks a playbook per task, and the bug flow insists on reproduction, investigation, delegation and rerunning the failing case.setup-pstacksets model and reasoning effort per role (e.g. arena runners) rather than one global default./create-formal-verification-skillturns formal verification of the riskiest property into a reusable project skill.- No server and no telemetry; scripts run locally and PR tools reuse your existing GitHub CLI login.
- MIT-licensed, with upstream policy forks declared explicitly in
tools/forks.json.
- Install and update paths differ widely per harness; Kimi, Grok Build and MiniMax Code require closing sessions, reinstalling or moving directories by hand.
- The shared
~/.agents/skillsdirectory is never default-selected because Codex and OpenCode would load each skill twice; you must pick it deliberately. - Copilot needs a first
setup-pstackmodel choice, and the README documents that on 1.0.92copilot -psessions list no plugin skills and return "Skill not found". - OMP 18.16.0 shares one plugin cache across scopes, so upgrading or removing can affect other installations.
- Grok Build only hints at routing through a skill description; Gemini CLI, Prime Agent and DeepSeek Harness have no automatic routing at all.
- Content the skills read, including session transcripts, is sent to your model provider, so data boundaries are your call.
How does this agent compare with similar options?
Upstream Lauren Tan's Cursor pstack is the one named alternative: it targets Cursor, and its Claude Code install asks agents to map Cursor names at runtime, whereas this port does the translation before installation and adds a SessionStart routing hook. The author's separate agent-formal-verify plugin goes deeper on formal methods with guided TLA+ model checking, Lean proofs and Kani for Rust.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| pstack (multi-harness port) This agent | 67 · Some gaps | Agent plugin / skillFree + model costs | ★ 4.8k | today | JavaScript | Codex · Claude Code |
| Spec Kit Skills for Coding Runtimes | 53 · Major gaps | Agent plugin / skill | ★ 175 | 1d ago | Shell | Codex · Claude Code |
| Delegatus Agent Workbench | 79 · Good | CLI | ★ 42 | today | TypeScript | Codex · Claude Code |
| Claudexor | 76 · Good | CLIFree + model costs | ★ 528 | today | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows: all CI workflows pin actions by commit SHA with persist-credentials: false and permissions: contents: read; security.yml runs OSV lockfile scanning and zizmor in pedantic mode; README states there is no server or telemetry, scripts run locally, and PR tools use the user's own GitHub CLI login; SECURITY.md defines a private vulnerability reporting channel and scope. Deductions: the README Data handling section is a single sentence and does not specify the scope or retention of session transcripts that skills may read and send to the model provider, so sensitive_data_handling is thin; the repository provides no rollback, uninstall, or revert guidance for hooks that modify configuration, so rollback scores 1; external effects are only partially documented (session hook: off and setup-pstack can disable routing) with no complete list of automatic behaviors, so external_effects scores 1. Dependency security and source attribution are well evidenced (upstream pstack, Cursor team kit, fork registry, NOTICE/LICENSE-cursor-team-kit), hence 3.
Evidence shows: CI covers generated-file consistency, Windows hooks, worktree audit, fork registry, skills-only install, Pi typecheck, shellcheck, actionlint, markdownlint, and link checks; failure messages in smoke scripts distinguish pass/fail and retain temp dirs; hook context injects 'sheet invalid' and setup-first lines for invalid sheets, making failures diagnosable. Deductions: package.json peerDependencies use '*' wildcards (@earendil-works/pi-coding-agent, typebox), so dependency availability is not pinned; CI installs Pi at a fixed 1.0.0 but the peer range remains open, risking version drift; no CHANGES file content is provided (README references CHANGES 0.9.13), so version and change claims cannot be cross-verified, hence dependency_availability scores 1.
Evidence shows: README and package.json explicitly support Claude Code, Codex, Pi, GitHub Copilot, OpenCode, Gemini CLI, and Prime Agent, with per-harness install commands; Copilot compatibility (1.0.87-1.0.92) and a known regression (1.0.92 cached experiment drops plugin skills in -p sessions) are stated concretely. Deductions: capability boundaries are narrative rather than a checklist of what skills can and cannot do; trigger precision depends on hook-injected routing instructions, and the README does not describe degraded behavior when hooks are disabled or absent, so both score 2.
Evidence shows: README is well structured with per-harness install sections and concrete known limitations (Copilot versions, -p session skill loss, hook trust flow); the MIT license is complete and distinguishes this port, original pstack, and Cursor team kit attribution. Deductions: no CHANGES/CHANGELOG file is provided, so version history is only inferable from README and script comments, giving versioning_changelog 1; naming stability is partial because skill and command names differ across harnesses (/skill:<name> vs /pstack:setup-pstack) without a consolidated mapping table, hence 2; maintenance responsibility is stated (latest release only, no maintained branches) but without response-time or deprecation policy, hence 2.
Evidence shows: README gives a concrete usage example (use poteto-mode to fix a paginated search filter reset) and states the output includes the fix plus failing and passing evidence; the skill stack covers planning, features, refactoring, performance, investigation, prototypes, PR maintenance, and shipping, so marginal value for multi-harness users is plausible. Deductions: no cost data is provided (token usage, model calls, parallel-agent billing impact); the smoke script mentions about 25 premium requests but that is test cost, not usage cost, so cost_benefit scores 1; output usability scores 2 because no actual output samples or artifact formats are shown.
Evidence shows: README claims (no telemetry, local scripts, GitHub CLI for PR tools) are corroborated by SECURITY.md and CI configuration; CI fork-registry checks, pinned upstream SHAs, and generated-file validation make claims traceable; test script comments clearly separate what runs in CI from what must run locally (copilot-smoke.sh and skill-collision-repro.sh both note CI does not run them), so fact and inference are reasonably separated. Deductions: README claims about Copilot version compatibility and regressions lack corresponding test evidence in the provided files (copilot-smoke.sh is truncated), so claim_traceability and cross_source_corroboration are each reduced to 2; the missing CHANGES file leaves some version claims unverifiable.
- The README Data handling section is a single sentence and does not specify the scope or retention of session transcripts that skills read and send to the model provider; assess data-egress boundaries before use on sensitive codebases.
- No rollback, uninstall, or revert guidance is provided; hooks inject context and intercept specific bash invocations, so confirm how to safely remove them and restore modified configuration before installing.
- package.json peerDependencies use '*' wildcards, so dependency versions are not pinned; CI installs Pi at a fixed version while the peer range stays open, risking version drift.
- No CHANGES/CHANGELOG file is provided, so version changes referenced in the README (e.g., CHANGES 0.9.13) cannot be verified from the source files.
- copilot-smoke.sh and skill-collision-repro.sh explicitly state CI does not run them and they must be run locally; this static review cannot confirm they actually pass.
- Publisher identity is not verified by the FollowAgents curated enterprise registry; maintenance responsibility and update path rest on repository self-description and should not be used to infer reliability.
FAQ
Does it cost anything beyond the model?
setup-pstack runs on first need to pick from the models your account lists.I have several harnesses installed. Will skills load twice?
open-pstack never selects the shared ~/.agents/skills directory by default, because Codex and OpenCode read it in addition to their own plugin and would load each skill twice. Choose it only when you need it for Gemini CLI, Prime Agent or DeepSeek Harness.Does automatic routing work everywhere?
/hooks and Muse needs muse plugins approve pstack. Grok Build offers only a description-level hint, and the remaining harnesses have no automatic routing.How do I update an existing install?
npm update -g open-pstack or brew upgrade open-pstack and run open-pstack again to refresh the staged copy and shared skill links. Plugins a harness installed itself update through that harness, e.g. claude plugin update pstack@pstack-claude. For Grok Build, grok plugin update does not refresh a local install.What data leaves my machine?
show-me-your-work trail stays uncommitted by default, but once committed and pushed to a shared PR anyone with PR access can read it.Is pstack (multi-harness port) open source?
Is pstack (multi-harness port) safe to use?
Is pstack (multi-harness port) still maintained?
Who makes pstack (multi-harness port)?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.