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 fail
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.03649 |
| Opus 5.5 | $0.00020 | $0.01460 |
| Sonnet 5.5 | $0.00010 | $0.00730 |
| Haiku 4.5 | $0.00005 | $0.00365 |
Grade B, and why
poteto-mode scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Skill folders.** Project: `.cursor/skills/` (Cursor), `.claude/skills/` (Claude Code), `.pi/skills/` (Pi), `.agents/skills/` (Codex, OpenCode, and others). User: `~/.cursor/skills/`, `~/.claude/skills/`, `~/.pi/agent Copies of this mod
5 near-identical copies found in the catalogue:
- poteto-mode — 95% identical, 153 lines differ
- poteto-mode — 91% identical, 74 lines differ
- Poteto Mode — 89% identical, 116 lines differ
- poteto-mode — 88% identical, 132 lines differ
- poteto-mode — 86% identical, 39 lines differ
How it starts
The opening of the file, as written. The whole thing — 123 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.
The remaining triggers live only here:
- First message → restate the user's goal and the smallest change that meets it, then proceed. Open each subagent brief, PR
## Why, and final report with the goal. - Starting any agent, whether a Task subagent or a Project worker → the first line of its kickoff is
Read <path>/worker.md before anything else., with<path>the absolute path of this skill's folder. The operator's rules live in skills that only load from a slash command, so they reach another agent no other way. Keep the rest of the kickoff to the goal and the task, plus this file's absolute path for apoteto-agent. - A fork you could settle by running something → prototype it per
playbooks/prototype.mdinstead of asking. - Code → name the data shape first. Across a function boundary → architect. Fan-out → swarm. Bakeoff → arena. Contested design → interrogate.
- Prose, your reply included → unslop. Docs, PR descriptions, commit messages → technical-writing.
- Before commit →
/deslopfrom thecursor-team-kitplugin. Without it, see Harness. Before review → no-comments. - Shipping UI / IDE / CLI →
control-uiorcontrol-clifromcursor-team-kit. Without them, see Harness. - A number you measured → benchmark-checklist.
- PR status → the Babysit playbook, not Cursor's built-in babysit skill. Landing a green stack → the Shipping playbook.
- Bot review comments → judge each on its merits.
- Long or unattended work → show-me-your-work.
Principles
Read the leaf skill in full for any principle you apply. Each entry names when it applies. Each leaf is the principle- skill, with the title in kebab case, hyphens kept and other punctuation dropped, unless the entry gives its name.
What ships with it
41 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.
- agents/openai.yaml 142 B
- playbooks/authoring-a-skill.md 927 B
- playbooks/autonomous-run.md 2.0 KB
- playbooks/autopilot-full.md 6.7 KB
- playbooks/autopilot-stack.md 854 B
- playbooks/babysit.md 1.8 KB
- playbooks/bug-fix.md 2.3 KB
- playbooks/eval.md 4.2 KB
- playbooks/feature.md 2.7 KB
- playbooks/hillclimb.md 4.4 KB
- playbooks/investigation.md 920 B
- playbooks/multi-phase-plan.md 1.5 KB
- playbooks/opening-a-pr.md 845 B
- 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/package.json 347 B
- scripts/watch-pr/cli.test.ts 7.2 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 16 KB runs code
- scripts/watch-pr/github.ts 25 KB runs code
- scripts/watch-pr/policy.test.ts 14 KB runs code
- scripts/watch-pr/policy.ts 25 KB runs code
- scripts/watch-pr/render.ts 7.3 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.6 KB runs code
- worker.md 1.3 KB
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 scan A → B 553fb8d5f876
- 15d ago Changed 322e472932a3
- 16d ago Changed 0afb3199671c
- 18d ago Changed · -39 lines bb74711b052d
- 20d ago Changed · -1 lines 76f3c11221ae
- 1mo ago Changed · +1 lines 70faeea64f15
- 1mo ago Changed a606962c31e7
- 1mo ago Changed · +2 lines 432927d9f306
- 1mo ago Changed 0ac1d8154f23
- 1mo ago First seen · 160 lines · 49 tokens per session scan A 85b0f05ed474
poteto-mode is a skill published in the GitHub repository backnotprop/pstack (6,089 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 3,649 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
poteto-mode compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| poteto-modebacknotprop/pstack | Skill | 6.1k | today | MIT | B | 49 | Claude Code, Codex, Cursor |
| conscientiousnesspjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 108 | Claude Code |
| breathepjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 89 | Claude Code |
| self-documenting-cligtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 52 | Claude Code |
| andreessenbestagentkits/agency-skills | Skill | 28 | 5mo ago | MIT | A | 213 | Codex |
| cavemanbestagentkits/agency-skills | Skill | 28 | 5mo ago | MIT | A | 68 | Codex |
| change-managementbestagentkits/agency-skills | Skill | 28 | 5mo ago | MIT | A | 93 | Codex |