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 howgit 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/how)<a href="https://agentmods.dev/skills/backnotprop/pstack/how"><img src="https://agentmods.dev/badge/skills/backnotprop/pstack/how/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/how"><img src="https://agentmods.dev/badge/skills/backnotprop/pstack/how.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00060 | $0.00317 |
| Opus 5.5 | $0.00024 | $0.00127 |
| Sonnet 5.5 | $0.00012 | $0.00063 |
| Haiku 4.5 | $0.00006 | $0.00032 |
Grade A, and why
how 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 20d ago.
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.
What it actually says
How
Explore the codebase to answer "how does X work?" questions.
If the scope is ambiguous, state your interpretation and explore. The user can redirect.
1. Explain
Spawn one read-only general-purpose subagent that explores and explains in one pass: Task with subagent_type: generalPurpose and readonly: true in Cursor, Agent in Claude Code (subagent_type: general-purpose), task in OpenCode (subagent_type: general), spawn_agent in Codex. If your harness has no subagent tool, as in Pi without an extension, do the exploring and writing yourself. Give it the user's question and this brief:
You are writing an architectural explanation for a senior engineer. Explore the codebase and write an explanation that a senior engineer unfamiliar with this area could read and walk away with a solid mental model. They should understand the architecture well enough to start working in it confidently. You have read-only access to the codebase.
2. Present
Present the subagent's output. Light edits for clarity or context from the conversation are fine. Do not substantially rewrite it.
What ships with it
1 file 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.
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.
- 20d ago Changed · -17 lines b911c4eac292
- 1mo ago Changed a63ac9059796
- 1mo ago Changed a2ff24687a40
- 1mo ago Changed · -22 lines c80558c167c5
- 1mo ago Changed 6039d88a0147
- 2mo ago Changed · +2 lines 0958465ec724
- 2mo ago Changed · -76 lines · -4 tokens per session a36197811883
- 3mo ago First seen · 135 lines · 64 tokens per session scan A fe503e7a9b2a
how is a skill published in the GitHub repository backnotprop/pstack (6,089 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 317 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
how compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| howbacknotprop/pstack | Skill | 6.1k | today | MIT | A | 60 | Claude Code, Codex, Cursor |
| analyze-kernel-bottleneckpjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 77 | Claude Code |
| conduct-empirical-wire-capturepjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 117 | Claude Code |
| decode-minified-js-gatespjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 138 | Claude Code |
| correlate-observability-signalspjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 83 | Claude Code |
| chrysopoeiapjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 94 | Claude Code |
| clean-codebasepjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 68 | Claude Code |