setup-pstack
Skill2 starsChanged 2 months 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.
14 other projects use a version of this, 10 of them edited.
Adopted by
Most recently taken up by
- backnotprop/pstackedited, first seen Oct 4, 2026
- creedants/pstack-t3their own version, first seen Oct 3, 2026
- adjohn/pstackedited, first seen Oct 2, 2026
- dhanji4U/skillsedited, first seen Oct 2, 2026
- thiskevinwang/skillsedited, first seen Sep 18, 2026
- JoshueOsuna/pstackedited, first seen Sep 12, 2026
Used with
Projects with it also use principle-attack-the-premise, principle-test-behavior-not-implementation and 1 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.
TheOnlyFusionCubeSkillprinciple-attack-the-premise
Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.
Also in 7 projects that use this
TheOnlyFusionCubeSkillprinciple-test-behavior-not-implementation
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Also in 7 projects that use this
jtarorehSkillPoteto Mode
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 10
- backnotprop/pstack★ 99119% same
- adjohn/pstack★ 422% same
- 0xrsydn/pstack-pi★ 316% same
- shiwenbin1617/pstack★ 313% same
- dhanji4U/skills★ 222% same
- JoshueOsuna/pstack★ 224% same
- ahmedbenaw/pstack★ 022% same
- ahmedgcompany-cyber/pstack-claude★ 021% same
- eryzerz/prime-pstack★ 018% same
- thiskevinwang/skills★ 023% same
Wrote their own version · 4
- shrimpwtf/oh-my-pstack★ 31same name
- TheOnlyFusionCube/potetos-for-everyone★ 6same name
- creedants/pstack-t3★ 3same name
- shishiv/pi-pstack★ 1same name
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 14 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 14 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.

