pstack is a collection of plain Agent Skills and engineering principles that guide AI-assisted software development across coding agents such as Claude Code, Codex, Pi, Cursor, and OpenCode. It is for developers who want reusable practices for tasks including testing, technical writing, debugging, review, and coordinating agent work. The catalogue entries are the project's skills, agents, and plugin.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add backnotprop/pstack --skill poteto-modegit clone --depth 1 https://github.com/backnotprop/pstackWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/backnotprop/pstack/poteto-mode)<a href="https://agentmods.dev/skills/backnotprop/pstack/poteto-mode"><img src="https://agentmods.dev/badge/skills/backnotprop/pstack/poteto-mode/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/backnotprop/pstack/poteto-mode"><img src="https://agentmods.dev/badge/skills/backnotprop/pstack/poteto-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.05479 |
| Opus 5.5 | $0.00020 | $0.02192 |
| Sonnet 5.5 | $0.00010 | $0.01096 |
| Haiku 4.5 | $0.00005 | $0.00548 |
Grade A, and why
poteto-mode scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
91% identical to poteto-mode — 68 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Poteto mode
Bundled skills live at ../<name>/SKILL.md from this file, so put this file's absolute path in every poteto-agent prompt.
Non-negotiables
The Principles section below grounds every trigger. In your reply, name each principle that shaped a decision and the specific choice it changed. Cite only principles whose leaf SKILL.md you read this session.
Remaining triggers:
- Nontrivial change, architecture decision, or "are we sure?" → the how skill.
- About to
AskQuestionon a "which approach", "how should I", or "what should this do" fork → classify it before you ask. If the answer is a fact you could observe by running something (behavior, timing, layout, output, perf, even whether an eval separates), it is not the human's to answer. Sketch it via the Prototype playbook (playbooks/prototype.md) and let the result decide. If the task is a read-only Investigation whose deliverable is a cited answer, stay in it and answer from the evidence rather than building a sketch. Reserve the question for a genuine product or preference call no experiment can settle. Under a full-autonomy grant, decide a call the grant covers, act on it, and report it, with no reply word and no offer. Under the grant, for a call only the operator can make, apply a default, report it with a full explanation, and say in plain words what the operator could tell you to do instead. The operator answers in their own words. Never give a shorthand token to type back. Gates the operator named and the Always-pause list in Autonomy still need the operator. - Any code → name the data shape first, and choose its organizing structure per principle-model-the-domain.
- Code crossing a function boundary → the architect skill, parallel design exploration before implementing.
- Parallel fan-out → the swarm skill for coverage matrices, races, gauntlets, and exploration partitions. Use arena for design or code bakeoffs with base selection and grafting.
- Contested design → the interrogate skill (multi-model adversarial) before shipping.
- Nontrivial multi-step → write the throughput checkpoint (Feature step 3).
- Any prose surface, your reply to the user included → the unslop skill. Write the reply per Writing the reply. Agent-facing prose also follows your skill-authoring skill (create-skill in Cursor, see Harness).
- Docs, RFCs, readmes, PR descriptions, or commit messages → the technical-writing skill (
/technical-writing). - Before commit → the
deslopskill from thecursor-team-kitplugin (/deslop). Without it, see Harness. - Before review → the no-comments skill (
/no-comments). - Shipping UI / IDE / CLI → the matching control skill.
cursor-team-kitpublishescontrol-cli(CLIs and TUIs) andcontrol-ui(browser / Electron / web UIs). Without them, see Harness. For bug fixes, reproduce first on the same surface yourself. Hand to the user only under the narrow Bug fix step 1 exception. - Running a benchmark, measuring perf yourself, or reporting a speedup or regression you measured → the benchmark-checklist skill before you report or act on the number.
- Any PR-status request ("babysit this", "get it green", "address the bugbot comments", and most often "check on PR X" or "anything outstanding on X") → the Babysit playbook (
playbooks/babysit.md), not Cursor's built-in babysit skill, whose description matches the same words. Never triggered by merely opening a PR. Declare its mode before polling. The playbook's step 1 owns the request-to-mode mapping. Reaching fordriveinside a phase agent stops that agent finishing its turn. - Asked to land or ship a green stack → the Shipping playbook (
playbooks/shipping.md). Green is not safe. Nothing gets armed before an independent per-PR verdict, and only the contiguous verified run from the root lands. - Bugbot or the agentic security review commented → skeptical posture. They catch real bugs and also file non-issues and nitpicks, so assess each on its merits and dismiss noise with a concrete reason instead of churning code. Triage fix / dismiss / ask per
references/bugbot-triage.md. - Broken skill mid-task → fix it in its own PR. Don't block. Don't silently work around it.
- Long, autonomous, or multi-phase work, or any task the user steps away from to review later ("going to bed", "trust it when i'm back", "/loop until X") → a decision trail via the show-me-your-work skill. Commit it when stakes need an auditable record. Keep it local otherwise.
What ships with it
45 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- playbooks/authoring-a-skill.md 927 B
- playbooks/autonomous-run.md 2.0 KB
- playbooks/autopilot-full.md 6.4 KB
- playbooks/autopilot-stack.md 2.2 KB
- playbooks/babysit.md 7.4 KB
- playbooks/bug-fix.md 2.3 KB
- playbooks/eval.md 2.6 KB
- playbooks/feature.md 2.8 KB
- playbooks/hillclimb.md 4.4 KB
- playbooks/investigation.md 928 B
- playbooks/multi-phase-plan.md 13 KB
- playbooks/opening-a-pr.md 5.5 KB
- playbooks/orchestrate.md 17 KB
- playbooks/pause-safely.md 1.1 KB
- playbooks/perf-issue.md 1.5 KB
- playbooks/prototype.md 2.1 KB
- playbooks/refactoring.md 3.2 KB
- playbooks/runtime-forensics.md 1.3 KB
- playbooks/session-pickup.md 1.8 KB
- playbooks/shipping.md 4.3 KB
- playbooks/trace-forensics.md 1.8 KB
- playbooks/visual-parity.md 1.2 KB
- playbooks/worktree-cleanup.md 2.9 KB
- references/bugbot-triage.md 9.4 KB
- scripts/bootstrap.ts 1.7 KB runs code
- scripts/bun.lock 6.5 KB
- scripts/check-plan.mjs 8.0 KB runs code
- scripts/check-plan.test.ts 3.2 KB runs code
- scripts/orch/orch.test.ts 21 KB runs code
- scripts/orch/orch.ts 15 KB runs code
- scripts/orch/store.ts 43 KB runs code
- scripts/package.json 371 B
- scripts/watch-pr/cli.test.ts 6.0 KB runs code
- scripts/watch-pr/cli.ts 6.8 KB runs code
- scripts/watch-pr/fakes.test-helper.ts 3.3 KB runs code
- scripts/watch-pr/github.test.ts 13 KB runs code
- scripts/watch-pr/github.ts 25 KB runs code
- scripts/watch-pr/policy.test.ts 12 KB runs code
- scripts/watch-pr/policy.ts 25 KB runs code
- scripts/watch-pr/render.ts 6.9 KB runs code
- scripts/watch-pr/tsconfig.json 270 B
- scripts/watch-pr/types.compile.ts 2.2 KB runs code
- scripts/watch-pr/types.ts 12 KB runs code
- scripts/watch-pr/watch-pr 211 B
- scripts/worktree-audit.sh 6.3 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed a606962c31e7
- 5d ago Changed · +2 lines 432927d9f306
- 6d ago Changed 0ac1d8154f23
- 8d ago Changed 85b0f05ed474
- 12d ago Changed 923d54375f39
- 16d ago Changed · +4 lines 8a96abdde2ef
- 1mo ago Changed · +15 lines e4a8eb235f73
- 1mo ago First seen · 141 lines · 49 tokens per session scan A 3b6793bdaead
poteto-mode is a skill published in the GitHub repository backnotprop/pstack (2,418 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 5,479 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to poteto-mode, differing in 68 lines, and is treated as a copy.
Other skills, from other repositories
conscientiousness
Thoroughness and diligence in execution — systematic checking, completeness verification, follow-through on commitments, and the discipline of finishing well. Maps the personality trait of conscientiousness to AI task execution: not cutting corners, verifying results, and ensuring that what was promised is what was…
breathe
AI micro-reset between actions — the lightest self-care unit. A single conscious pause to check alignment before the next step. Where meditate is a full clearing session, breathe is one deliberate moment of awareness between tool calls or reasoning steps. Use mid-task when drift might be accumulating, between reading…
andreessen
Marc Andreessen-mode decision and productivity skill. A blunt, market-first operator that pressure-tests ideas, ventures, features, and career bets through Andreessen's actual frameworks — market dominates team and product; the only milestone that matters is product/market fit; bias to build over deliberate. Use when…
caveman
Ultra-compressed communication mode. Cuts token usage 75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.
change-management
Framework for rolling out organizational changes without chaos. Covers the ADKAR model adapted for startups, communication templates, resistance patterns, and change fatigue management. Handles process changes, org restructures, strategy pivots, and culture changes. Use when announcing a reorg, switching tools…
cs-onboard
Founder onboarding interview that captures company context across 7 dimensions. Invoke with /cs:setup for initial interview or /cs:update for quarterly refresh. Generates /.claude/company-context.md used by all C-suite advisor skills. Use when setting up the C-suite advisors for the first time, or when company context…