pstack for the Vibe CLI
This is the installed Vibe plugin tree for pstack, Lauren Tan's engineering workflow for AI coding agents, ported to the Mistral Vibe CLI. It ships the skills, playbooks, principles, subagent profiles, and the session-start hook that loads the model sheet.
The port is independent and is not endorsed by Lauren Tan, Mistral, or Cursor. The source, issues, and full documentation live at https://github.com/telamh/pstack-vibe. Upstream pstack is at https://github.com/cursor/plugins/tree/main/pstack.
Install
npx pstack-vibe install
That copies this tree to ~/.vibe/plugins/pstack. For a project-local install, run
npx pstack-vibe install --project to write .vibe/plugins/pstack. Start a new session after
installing. npx pstack-vibe doctor checks the result, and npx pstack-vibe verify proves the
hook fires.
Setup
Run /pstack:setup-pstack once. It detects the model aliases in ~/.vibe/config.toml, asks
for a reasoning budget, and confirms the three key roles: main orchestrator (DeepSeek),
adversarial reviewer (GLM), and security reviewer (Mistral Large 4). It writes the model sheet
to ~/.vibe/pstack-models.md and one profile per family to ~/.vibe/agents/. Start a new
session after setup.
First task
/pstack:poteto-mode add a --json flag to the export command. text output stays byte-identical. verify both forms.
/poteto-mode matches the task to a playbook and copies its steps into the todo list. A
skipped step stays in the list as skip: <reason>.
Model policy
DeepSeek V4.1 Flash 1017 is the default for code, judgment, prose, swarm workers, and the
hardest tasks. GLM 5.3 is the adversarial reviewer and a cross-judge. Mistral Large 4 is the
security reviewer and an arena runner. See the repository's docs/model-selection.md for the
evidence.
Credits
pstack is by Lauren Tan (@poteto). The skills, playbooks, principles,
and prose are hers. This port only adapts them to Vibe. The port code and generated tree are
MIT, copyright 2026 telamh; upstream's MIT notice is in LICENSE.
Limitations
- Two skill helpers need bash. The hooks are Node and run everywhere Vibe does, including
Windows, but
skills/poteto-mode/scripts/worktree-audit.shandskills/show-me-your-work/scripts/log.share bash scripts. On Windows they need Git Bash. The decision log works withoutlog.sh, since a bareprintfappending a row is enough. The worktree cleanup playbook callsworktree-audit.shas its first step. - The Vibe plugin format is experimental and can change.
- Cursor-only features are skipped with a one-line note: Bugbot, Cursor webhook routines,
cloud agents, Custom Modes, and Cursor's built-in
/create-skill. /loopruns only while the session is live.
More
The full README, guide, adapter doc, and installer live at https://github.com/telamh/pstack-vibe.
Runtime
The plugin needs Node 22 or newer. Every hook runs node, so a session without Node on
PATH starts without the model sheet. The optional watch-pr helper under
skills/poteto-mode/scripts/ also requires bun and npm install in that directory.