pstack-claude is a set of opinionated coding-agent skills and workflows ported from Cursor to Claude Code, Codex, Pi, and other agent harnesses. It guides agents toward concise, simple, and verified code by routing goals to suitable workflows and supporting subagent tools. The catalogue entries are the project's skills, agents, hook, and plugin implementations for these agent environments.
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 michael-denyer/pstack-claude --skill swarmgit clone --depth 1 https://github.com/michael-denyer/pstack-claudeWrote 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/michael-denyer/pstack-claude/swarm)<a href="https://agentmods.dev/skills/michael-denyer/pstack-claude/swarm"><img src="https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/swarm/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/michael-denyer/pstack-claude/swarm"><img src="https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/swarm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
- 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.00041 | $0.01123 |
| Opus 5.5 | $0.00016 | $0.00449 |
| Sonnet 5.5 | $0.00008 | $0.00225 |
| Haiku 4.5 | $0.00004 | $0.00112 |
Grade A, and why
swarm 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swarm
On Codex, read the platform mapping, including its per-skill notes, before following this skill.
On GitHub Copilot, read the platform mapping, including its per-skill notes, before following this skill.
On Muse, read the platform mapping, including its per-skill notes, before following this skill.
On Antigravity, read the platform mapping, including its per-skill notes, before following this skill.
Start
Open a todolist with one entry per phase before launching anything.
- Frame
- Fan out
- Aggregate
- Report
Phase A: Frame
- State the done predicate and the artifact or report the swarm must return.
- Choose the shape. Partition into slices, race N workers on identical briefs, or mix both. For a race or mixed shape, declare
first pass,rank all, orbest-ofbefore spawning. - Pick the worker model from the
swarm workersline inpstack-models.md. If the sheet or that line is missing, use the default in Models. Forautoorinherit-parent, omitmodelso the workers run on the parent model. If theAgenttool rejects a slug, use the default and say so. If it rejects the default, use the closest valid slug of the same family from its error message. For a model race, name each arm's model up front. Pick each subagent's reasoning level for the job, per the Subagents section of the poteto-mode skill. - Give each worker its own writable output when it writes. When workers verify or measure commits, each brief names the exact SHAs. A measurement brief also names the method (sample count, what one sample is, order). The worker records both in its result.
Phase B: Fan out
Spawn all N workers in one message with subagent_type: "general-purpose", run_in_background: true, and the step 3 model, left unset for auto or inherit-parent. Claude Code subagents all run on this machine, so isolation comes from the worktree or output directory assigned in Phase A, not from a remote environment.
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.
- 5d ago Changed 54f7b5f9ff50
- 26d ago Changed · +2 lines 743f76bf4589
- 1mo ago Changed 1d74070322e2
- 1mo ago Changed d9f08647b338
- 1mo ago Changed · +2 lines 4a905214ac13
- 1mo ago Changed · -5 lines f865e75ebb1e
- 1mo ago Changed · +2 lines 4f6163d77992
- 1mo ago Changed 3c9b09bc625d
- 2mo ago Changed · +4 lines 50b6ec27bc3a
- 2mo ago First seen · 54 lines · 41 tokens per session scan A b7449208f45b
swarm is a skill published in the GitHub repository michael-denyer/pstack-claude (5,058 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,123 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.
swarm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swarmmichael-denyer/pstack-claude | Skill | 5.1k | today | MIT | A | 41 | Claude Code |
| postgresql-table-designwshobson/agents | Skill | 43k | yesterday | MIT | A | 37 | Claude Code |
| istio-traffic-managementwshobson/agents | Skill | 43k | yesterday | MIT | A | 40 | Claude Code |
| event-store-designwshobson/agents | Skill | 43k | yesterday | MIT | A | 33 | Claude Code |
| chief-data-officer-advisoralirezarezvani/claude-skills | Skill | 31k | today | MIT | A | 61 | Claude Code |
| strategic-alignmentalirezarezvani/claude-skills | Skill | 31k | today | MIT | A | 38 | Claude Code |
| general-counsel-advisoralirezarezvani/claude-skills | Skill | 31k | today | MIT | A | 68 | Claude Code |