pstack in Claude Code: I Ran the Same Bug Fix With and Without It

Same fix, 67% more cost: plain Claude Code took 5 steps, 16 s and $0.20; with pstack 7 steps, 25 s and $0.34

pstack is a set of skills that changes how Claude Code works on a task. I loaded pstack in Claude Code and ran the same bug fix with and without it, three times each. The code fix came out the same every time. The pstack runs cost about 67% more.

Quick answer: pstack is Lauren Tan’s skill stack for coding agents, ported to Claude Code as a plugin. On a small bug fix it gave me the same two-line change as plain Claude Code, in 7 steps for $0.34 against 5 steps for $0.20. It is built for bigger, multi-step work, so skip it for small fixes.

  1. Install it inside Claude Code: /plugin marketplace add michael-denyer/pstack-claude
  2. Then run: /plugin install pstack@pstack-claude
  3. Start a new session. A startup hook now routes tasks to the main skill.
  4. Or call it yourself with /pstack:poteto-mode and your goal.
  5. Try it without installing: clone the repo and start Claude Code with --plugin-dir, as I did below.

Tested on: Claude Code 2.1.329 with Opus 5.5, macOS 26.7.1 (Apple M4), 20 November 2026. pstack-claude 0.9.143, loaded with --plugin-dir. Six runs in total; the numbers below are copied from those runs. I did not run the two /plugin install commands. Drafted with AI assistance (Claude). See how we test.

What is pstack?

pstack is a bundle of agent skills and rules written by Lauren Tan, who goes by poteto. The original lives in Cursor’s plugins repo. It tells a coding agent how to plan, write, check and report its work.

The version I tested is pstack-claude, a port by Michael Denyer. It had about 4,600 GitHub stars on 20 November 2026 and an MIT licence. The port also covers Codex, Pi, GitHub Copilot and other tools.

The plugin folder holds 67 skill folders. The main one is poteto-mode. Its own description reads: “concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work”.

If skills are new to you, start with how to use skills in Claude Code.

How do you install pstack in Claude Code?

Run two commands inside Claude Code 2.1.292 or later. These come from the port’s README:

/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude

I did not install it that way. I wanted my own setup left alone, so I cloned the repo and loaded it for one session:

git clone --depth 1 https://github.com/michael-denyer/pstack-claude
claude --plugin-dir ./pstack-claude/plugins/pstack

The --plugin-dir flag loads a plugin for that session only. Nothing is written to your Claude Code settings.

What did I test?

One small bug, the same prompt, three runs on each side. I made a tiny Python billing project. One helper, parse_amount, cut a price at the first comma. So “$1,234.50” became 1.0, and one test failed.

The prompt was the same every time:

A test in tests/test_invoice.py is failing. Find out why and fix it.

Each run started from a fresh copy of the project. Both sides used the same model and the same allowed tools. I also kept three extra checks that the agent never saw. They test the refund code, which has the same bug and no test.

Does pstack make Claude Code better?

Not on this task. All six runs made the same fix: remove the commas in parse_amount. All six passed the visible tests and my three hidden checks.

Run Steps Time Cost Main skill used
Plain 1 6 20.2 s $0.219 n/a
Plain 2 4 14.0 s $0.192 n/a
Plain 3 5 16.2 s $0.204 n/a
pstack 1 7 25.0 s $0.341 yes
pstack 2 5 17.8 s $0.260 no
pstack 3 9 29.2 s $0.370 yes

The middle run on each side tells the story. Plain Claude Code took 5 steps, 16.2 seconds and $0.20. With pstack it took 7 steps, 25.0 seconds and $0.34.

“Cost” is Claude Code’s own total_cost_usd figure. It is an estimate at API prices, not a bill.

Why does pstack cost more?

It loads more into every session. A plain session started with 19 skills listed. With pstack loaded, the session listed 62. The agent reads that list on every turn.

The poteto-mode skill is also long. When the agent opened it, it read the rules before touching the code. That is one more step and more text to process.

In run 2 the agent never opened poteto-mode. It was still dearer than every plain run, at $0.26.

What did pstack do better?

One run checked code that had no test. In pstack run 1, the agent fixed the helper and then ran the refund function by hand:

python3 -c 'from billing.refund import refund_total; print(refund_total([{"amount":"$1,234.50","refundable":True},{"amount":"$5"}]))'

It also warned that the fix would misread prices like “12,50”, where the comma is the decimal point. The plain runs spotted the refund bug too, but they did not run that code.

That matches what pstack is for. Its rules push the agent to prove that work is done. On a two-line fix there is little left to prove.

What didn’t work

  • My first pair of runs was no good. My tool list allowed python3 but not python. The pstack run could not run the tests, and said so. I threw both runs away and started again.
  • The main skill did not always load. It ran in 2 of 3 pstack runs. The startup hook suggests it; the agent still chooses.
  • This is a small test. One bug, three runs per side, one model. It says nothing about large refactors or long sessions.

Should you use pstack?

Use it for big, multi-step work, and leave it off for small fixes. Its skills cover planning, parallel agents, reviews and proof that things work. Those matter when a task has many parts.

For a quick bug fix, plain Claude Code got to the same answer faster and cheaper in my runs. Loading pstack with --plugin-dir only when you need it is a fair middle path.

For another way to cut steps, see my test of Claude Code’s Code Mode.

FAQ

Is pstack free?

Yes. The pstack-claude port is open source under the MIT licence.

Who made pstack?

Lauren Tan wrote the original for Cursor. Michael Denyer maintains the Claude Code port I tested.

Does pstack work with Codex or Cursor?

The original is a Cursor plugin. The port’s README lists install steps for Codex, Pi, GitHub Copilot and more. I only tested Claude Code.

How do I turn pstack off?

If you load it with --plugin-dir, start Claude Code without that flag. If you installed it, open /plugin and disable or remove it there.

Sources

Similar Posts