pstack for Claude Code
pstack is a plugin of rigorous agent workflows—playbooks, multi-model panels, and subagents—for serious engineering work in the IDE. This repository is the Claude Code distribution: same skills and agents as upstream, adapted for the claude CLI and Agent tool.
Using Cursor? Install pstack from the Cursor marketplace (/add-plugin pstack). This README is for Claude Code only.
Prerequisites
- Claude Code installed (
claude on your PATH)
- Signed in:
claude auth status should show loggedIn: true
Install with the claude CLI
1. Add this repository as a marketplace
Register yu-iskw/pstack-plugin from GitHub (no clone required):
claude plugin marketplace add https://github.com/yu-iskw/pstack-plugin
Shorthand also works: claude plugin marketplace add yu-iskw/pstack-plugin.
Contributors working in a git clone can use a directory marketplace instead: claude plugin marketplace add "$(pwd)" from the repo root (use an absolute path; a bare . often fails).
2. Install the pstack plugin
Pick a scope:
| Scope | Command | Use when |
|---|
| User (all projects) | claude plugin install -s user pstack@pstack-plugin | You want pstack everywhere |
| Local (this machine) | claude plugin install -s local pstack@pstack-plugin | Project-local install from the marketplace |
Enable if it is not already on:
claude plugin enable pstack@pstack-plugin
3. Confirm install
After plugin install, you do not use --plugin-dir. Check the installed plugin:
claude plugin list
You should see pstack@pstack-plugin. From a project where the plugin is enabled:
claude agents
Expect plugin agents such as pstack:poteto-agent and pstack:Comment Sicko.
Ephemeral load (repo clone only — not the normal install path)
If you are inside a git clone of yu-iskw/pstack-plugin and want to try the plugin without plugin install (maintainers, CI, quick smoke):
cd /path/to/pstack-plugin # repo root; plugins/pstack exists only in this tree
claude --plugin-dir=plugins/pstack plugin list
Use --plugin-dir= with equals; a space before plugin breaks the command. End users who installed via marketplace in step 2 should use claude plugin list instead.
Get started after install
-
Configure models (recommended once) — In Claude Code, run /pstack:setup-pstack (or /setup-pstack if your CLI shows the short name). It writes ~/.claude/pstack-models.mdc with per-role model choices and a reasoning budget. See setup-pstack.
-
Rigorous work — Use /pstack:poteto-mode (or /poteto-mode) at the start of a task. See poteto-mode.
-
Not sure which skill to use? — /pstack:poteto-help with your question. See poteto-help.
-
Deeper walkthrough — pstack guide in plugins/pstack/docs/guide/.
Start a session from your project (with project settings if you use a local-scope install):
claude --setting-sources project,local,user
What you get
- Skills —
/poteto-mode, /poteto-help, /setup-pstack, how, why, arena, swarm, reflect, interrogate, architect, and more under plugins/pstack/skills/.
- Subagents — e.g.
pstack:poteto-agent, pstack:Comment Sicko (spawn via the Agent tool in Claude Code).
Full skill list and philosophy: plugins/pstack/README.md (content below the Claude install header is shared with upstream).
Troubleshooting