pstack
OpenCode port: this repository installs pstack skills, agents, and commands
for OpenCode. See INSTALL.md for paths, backups, and platform
differences. The upstream introduction and workflow examples below describe
Cursor; the installer converts the installed copies for OpenCode.
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 everyday to ship high quality code at Cursor. this turns cursor 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.
cursor gives you the best of all worlds. every frontier model has its strengths and weaknesses. use any model with pstack. in fact, many of my skills use multi-model workflows to take advantage of each model's unique strengths.
fork it. improve it. make it yours. PRs are welcome!
install
OpenCode: install or update in one line
curl -fsSL https://raw.githubusercontent.com/kyeshmz/opencode-pstack/main/bootstrap.sh | bash
Run it on each machine where you use OpenCode. It installs globally into
${XDG_CONFIG_HOME:-$HOME/.config}/opencode, backs up replaced pack files,
and preserves existing model choices, custom commands, and unrelated settings.
Git, Python 3, and Bash are required. Run the same command to update.
Start a new OpenCode session after installation, then run /setup-pstack to
choose models and /poteto-mode to begin a task. Generated project skills go
in the target repository's .opencode/skills/ directory, not the global pack.
For a local checkout, use ./install.sh. Explicit Claude Code and Cursor
compatibility targets are documented in INSTALL.md.
get started
two steps:
- run
/setup-pstack, pick a reasoning budget, and choose which models you want.
- use
/poteto-mode whenever you're doing anything that requires rigor.
new here? the pstack guide walks you through a first real task, from setup and prompting through verification and overnight runs. stuck, or unsure which skill fits? ask /poteto-help.
that's it. the other skills are situational; the mode skill uses them for you as needed. out of the box the mode splits work by model strength: code delegates (feature, refactoring, bug fix, perf, hillclimb) go to grok, while the hardest changes, prose, and judgment go to opus 5.5. the default panel is opus 5.5 / grok. /setup-pstack changes any of it.
usage
use /poteto-mode at the start of a task. it reads your request, picks from a set of playbooks, and runs the other skills as the steps need them.
this skill is the main shortcut. i use it whenever i need the agent to do rigorous engineering work. it comes with twenty-three playbooks:
/poteto-mode this pr has a subtle bug where the scroll drifts every 750ms even when idle. repro
first, then fix and verify.
/poteto-mode i'm going to bed. land the stack even if ci flakes. i want everything merged by
morning.
the twenty-three playbooks