setup-pstack
Skill2 starsChanged 46 days agoMITView on GitHub
Configure which models pstack uses per role and at what budget. Writes the model configuration the pstack session hook loads into every session, overriding the skill defaults. Use for /setup-pstack, "configure pstack models", "pstack budget", or changing pstack's model choices.
25 other projects use a version of this, 12 of them edited.
Adopted by
Most recently taken up by
- paramcodes/skillsedited, first seen Nov 8, 2026
- creedants/pstack-t3their own version, first seen Nov 3, 2026
- dsebban/skillstheir own version, first seen Nov 1, 2026
- DarthJonathan/guac-skillstheir own version, first seen Nov 1, 2026
- anhermon/pstack-claudeedited, first seen Nov 1, 2026
- adjohn/pstackedited, first seen Oct 29, 2026
Used with
Projects with it also use poteto-help, principle-explain-the-number and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ianclearySkillpoteto-help
Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.
Also in 13 projects that use this
ianclearySkillprinciple-explain-the-number
Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.
Also in 16 projects that use this
jaydubya818Skillprinciple-attack-the-premise
Apply when repeated fixes fail and a shared assumption may be wrong.
Also in 19 projects that use this
jaydubya818Skillprinciple-test-behavior-not-implementation
Apply when tests mirror internals instead of asserting observable outcomes.
Also in 19 projects that use this
tristanphvnSkillketchup-video
Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.
Also in 6 projects that use this
TheOnlyFusionCubeSkillstatechart
Draw what an app's user sees as a Mermaid statechart from a TLA+ model. States are gray if they work, red if still wrong, and green if fixed. Each bug TLC finds is a numbered path. Use for /statechart, \"show the PM the bug\", or to turn an agreed chart into a TLA+ skeleton.
Also in 8 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 12
- backnotprop/pstack★ 3.8k16% same
- mariusflorescu/pstack-t3★ 1320% same
- adjohn/pstack★ 919% same
- dhanji4U/skills★ 222% same
- JoshueOsuna/pstack★ 224% same
- lengjingxu/pstack-for-codex★ 122% same
- ngcto/oh-my-pstack★ 112% same
- ahmedbenaw/pstack★ 022% same
- ahmedgcompany-cyber/pstack-claude★ 021% same
- anhermon/pstack-claude★ 012% same
2 more not listed
Wrote their own version · 13
- dsebban/skills★ 71same name
- TheOnlyFusionCube/potetos-for-everyone★ 21same name
- creedants/pstack-t3★ 18same name
- kkgogogo17/pi-pstack★ 9same name
- 0xrsydn/pstack-pi★ 6same name
- bnema/pi-pstack★ 2same name
- jmporchet/pstack-hermes★ 2same name
- iancleary/skills★ 1same name
- azzz9/pi-pstack★ 0same name
- DarthJonathan/guac-skills★ 0same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectSkill
- arenaSkill
- automate-meSkill
- blast-radiusSkill
- broSkill
- control-cliSkill
- control-uiSkill
- create-verification-skillSkill
- deslopSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- maintain-verification-skillSkill
- make-bot-uiSkill
- no-commentsSkill
- poteto-modeSkill
- recallSkill
- reflectSkill
- show-me-your-workSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- typescript-best-practicesSkill
- unslopSkill
- verify-pstackSkill
- verify-thisSkill
- whySkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Write ~/.claude/pstack-models.md.
- Very specific: line 20
If ~/.claude/pstack-models.md exists, read it and treat its # budget line and its role values as the current choices.
- Distinctive: line 24
(a) Ask for a budget: Prefer AskUserQuestion over free text.
- Distinctive: line 39
No runner panel or reviewer list drops below two entries.
- Very specific: line 51
Write ~/.claude/pstack-models.md in the same shape as ~/.claude/skills/poteto-mode/pstack-models.md: the comment header, a # budget: line …
“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup pstack
Write ~/.claude/pstack-models.md. The pstack SessionStart hook loads it into every session and subagent, and it overrides the skill defaults. When the file is missing the hook falls back to ~/.claude/skills/poteto-mode/pstack-models.md. PSTACK_MODELS_FILE overrides both for one run.
This skill is rewritten for Claude Code. Upstream detects the editor's model slugs and lowers the reasoning-effort token per budget. The Agent tool takes a model alias and has no per-subagent effort, so here a budget picks the tier per role and the length of each panel.
Steps
1. Detect available models
Any alias the Agent tool's schema lists is a valid Agent model value, and so are inherit-parent and auto. The session context lists pstack's tiers strongest first, from MODEL_TIERS in ~/.claude/skills/poteto-mode/hooks/kinds.mjs. Recommend the top tier for judgment roles.
2. Load current state
If ~/.claude/pstack-models.md exists, read it and treat its # budget line and its role values as the current choices. Otherwise start from ~/.claude/skills/poteto-mode/pstack-models.md.
3. Budget, map, and confirm
(a) Ask for a budget. Prefer AskUserQuestion over free text. Offer these four options, and name the current budget when the file records one.
| Budget | Judgment roles | Code roles | Runner panels | Cross-judge pool | Interrogate reviewers |
unlimited | tier 1 | tier 2 | tier 1, tier 1, tier 2 | tier 1 | tier 1, inherit-parent |
large | inherit-parent | tier 2 | inherit-parent, tier 1, tier 2 | inherit-parent | inherit-parent, tier 1 |
medium | inherit-parent | tier 2 | inherit-parent, tier 2 | inherit-parent | inherit-parent, inherit-parent |
small | inherit-parent | tier 3 | inherit-parent, tier 2 | inherit-parent | inherit-parent, inherit-parent |
tier 1 is the first alias of the tier list in the session context, tier 2 the second and tier 3 the third. Write the alias, never the label.
Judgment roles are judgment and prose, hardest tasks, how explainer, why synthesizer, reflect tooling and the reflect judgment line. Code roles are feature, refactoring, bug-fix, perf-issue, hillclimb, how explorer, why investigators, swarm workers. Runner panels are arena runners and architect runners.
A judge never runs below the parent model, so every judgment role, the cross-judge pool and the interrogate reviewers take only inherit-parent, auto or the top tier. Budget lowers the tier of the roles that produce work, never a judge. Runner panels may include tier 2, because runners produce candidates and a judge grades them.
No runner panel or reviewer list drops below two entries. The principle-exhaust-the-design-space principle needs two structurally distinct candidates. The cross-judge pool is exempt, because Arena spawns one judge from it.
(b) Apply it. Build the working table from the budget row. On a re-run keep any role the user changed by hand.
(c) Show the roles and confirm. Show every role with its model. Ask whether to accept as-is or change specific roles. For panel roles the value is a list, and one subagent runs per entry, alias entries included, so the list length sets the count. arena cross-judge pool is also a list, but Arena selects one value from it.
4. Validate
Every alias written must be in the Agent tool's schema. inherit-parent and auto always pass. Every entry of a judgment role (the JUDGMENT_ROLES set in ~/.claude/skills/poteto-mode/hooks/catalog.mjs) must be inherit-parent, auto or the top tier. A role the user set below that goes back to the budget row, and you tell them why.
5. Write the file
Write ~/.claude/pstack-models.md in the same shape as ~/.claude/skills/poteto-mode/pstack-models.md: the comment header, a # budget: line with the chosen label, and one line per role using the same labels poteto-mode uses. Overwrite the whole file so re-runs stay idempotent.
6. Confirm
Tell the user the file was written and that it applies to new sessions. Re-running this skill updates it.
7. Offer a verification skill (optional)
Check whether the project has a way to drive the real app for proof (a verify-* skill, or an existing harness). If not, offer once: "want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with /create-verification-skill." On yes, open the create-verification-skill skill and follow it. On no, move on without pushing.
Standing skips
To waive a writing convention in every session, the user writes skip <name>: <reason> lines to ~/.claude/pstack-skips.md, as in skip technical-writing: commit messages follow the team's guide. A standing skip may name only technical-writing, unslop, docs-prose, pr-prose or pr-draft. A skill name counts as that skill read for every ask, and a rule name drops that ask. The hook ignores a line that names anything else, such as ledger, design, deslop or a playbook, and counts only the name of a line it honors, never its reason.
A .claude/pstack-skips.md in the directory a session starts in counts for that project only after the user trusts it. Trust is a line trust <project root> <sha256 of the file> in ~/.claude/pstack-skips.md. A changed file needs a new trust line. At the start of each session the hook shows the user every active, ignored and untrusted standing skip, and for an untrusted file it prints the exact trust line to add.
The hook refuses an agent's write to either file. When the user asks to opt out of a convention for good, give them the exact line to add.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

