setup-pstack
Skill3 starsChanged 57 days agoMITView on GitHub
Configure which T3 providers and models pstack uses per role and at what reasoning budget. Reads the live T3 catalog and writes a roles file that every pstack skill reads. 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
- adjohn/pstackedited, first seen Oct 2, 2026
- dhanji4U/skillsedited, first seen Oct 2, 2026
- EvanBatten/pstack-for-ccedited, first seen Sep 27, 2026
- thiskevinwang/skillsedited, first seen Sep 18, 2026
- JoshueOsuna/pstackedited, first seen Sep 12, 2026
Used with
Projects with it also use Poteto Mode.
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.
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★ 99111% same
- adjohn/pstack★ 411% same
- 0xrsydn/pstack-pi★ 311% same
- dhanji4U/skills★ 211% same
- EvanBatten/pstack-for-cc★ 210% same
- JoshueOsuna/pstack★ 213% same
- ahmedbenaw/pstack★ 011% same
- ahmedgcompany-cyber/pstack-claude★ 011% same
- eryzerz/prime-pstack★ 012% same
- thiskevinwang/skills★ 012% same
Wrote their own version · 4
- shrimpwtf/oh-my-pstack★ 31same name
- TheOnlyFusionCube/potetos-for-everyone★ 6same name
- shiwenbin1617/pstack★ 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 repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- brigadeSkill
- broSkill
- correctSkill
- create-verification-skillSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- landingSkill
- maintain-verification-skillSkill
- make-bot-uiSkill
- no-commentsSkill
- poteto-helpSkill
- poteto-modeSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- pstack-author-skillSkill
- pstack-runtimeSkill
- recallSkill
- reflectSkill
- show-me-your-workSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- typescript-best-practicesSkill
- unslopSkill
- whySkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
1
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
Read the pstack-t3 runtime before spawning workers, choosing models, scheduling, or isolating work.
- Very specific: line 10
Write ~/.config/pstack-t3/roles.json, the per-role seat table that every pstack-t3 skill reads through the runtime.
- Distinctive: line 36
(a) Ask for a budget: Use the host's question tool if it has one.
- Very specific: line 65
Add --project to write .pstack/t3-roles.json for this repository instead.
“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
Read the pstack-t3 runtime before spawning workers, choosing models, scheduling, or isolating work. It maps those steps onto T3's orchestrator tools.
Write ~/.config/pstack-t3/roles.json, the per-role seat table that every pstack-t3 skill reads through the runtime. A project can override roles in .pstack/t3-roles.json.
<runtime> below is the pstack-runtime skill directory next to this one.
Steps
1. Check the host and read the catalog
Check the host's tool list for watch_pull_request. Accept the T3 harness prefixes described in the runtime. A tool listed by name counts as present, including a harness prefix. A deferred watch_pull_request counts as present and does not fail this gate. If tools load lazily, use the host's tool discovery and make one bounded orchestrator_capabilities call before checking again. A provider catalog does not prove that the watch tool exists. Do not call watch_pull_request with a dummy PR to test it.
If watch_pull_request is absent, stop setup before writing roles or a saved catalog. Say "Setup cannot finish. T3 Code 0.0.46-nightly.20261005.2702 or later is required because this host does not expose watch_pull_request." Ask the user to update T3 Code and rerun setup. Do not report setup complete.
Call orchestrator_capabilities. Save its JSON result verbatim to a temporary file, for example /tmp/pstack-t3-catalog.json. That file is the only source of valid providers, models, and options. Never write a seat that is not in it. Keep the file for the commands in this skill. show and write both read it, and a user-level write saves a copy as the snapshot. A skill that only resolves a role from a tool result uses the quoted heredoc in Where roles live instead of a file.
List the runnable providers (canRunChildTask: true) with their first three models. List the providers that are not runnable with their constraints, such as "Provider is not authenticated", so the user knows what to fix in T3 settings.
2. Load current state
python3 <runtime>/scripts/roles.py show --cwd "$PWD" --catalog /tmp/pstack-t3-catalog.jsonThis prints every role with its seats and source (default, the user file, or the project file), already resolved against the catalog. notes name seats that no longer match, such as a model T3 dropped.
3. Budget, map, and confirm
(a) Ask for a budget. Use the host's question tool if it has one. Offer these labels, and name the current budget.
default — built-in role reasoning or configured seat optionsunlimited — max reasoninglarge — xhigh reasoningmedium — high reasoningsmall — medium reasoning
The budget caps the reasoning option (effort, reasoningEffort, reasoning_effort, or reasoning). A seat at or below the cap keeps its level. A seat above the cap drops to the cap, or the closest lower level the model offers. A seat that names no level receives the cap. default leaves a built-in or configured level as it is. The ladder stops at max. unlimited raises a built-in preferred seat to the model's highest level at or below max. The default Opus seat moves from xhigh to max. Grok's ladder tops out at xhigh, so the default Grok seat stays at xhigh. unlimited lowers a configured ultra seat to max when the model offers a level at or below max. default keeps a configured ultra seat. When every offered level is above the cap, the seat gets the lowest level. A configured seat that names its own level keeps that level when it is at or below the cap. A model without such an option is unaffected. ultracode and ultrathink are never set by a budget.
(b) Propose roles. The built-in defaults are Claude Opus (claude-opus-5-5) at xhigh for judgment roles and Grok (grok-4.7) at xhigh for code roles. Under unlimited, those seats rise as step 3(a) describes. Opus moves to max, and Grok stays at xhigh. arena runners, arena cross-judge pool, architect runners, and interrogate reviewers use those two seats, judgment first. skill tests and verifiers stay on their catalog rules. Start from roles.py show in step 2. Keep configured roles unless the user changes them. Use the built-in seats for roles with source: "default". Offer large for a new setup. It matches the built-in xhigh ceiling. Show each fallback note beside its role and seat. Codex and every other runnable configured provider remain available as user choices. Leave skill tests unset so its adaptive default stays.
(c) Confirm. Show every role with its seats. Ask whether to accept as-is or change specific roles. For panel roles the seat count is the panel size.
4. Write
Build one --set per role you are writing. A seat is inherit or provider/model, with options as a query string. Separate panel seats with ;.
python3 <runtime>/scripts/roles.py write --catalog /tmp/pstack-t3-catalog.json --budget large \
--set "judgment and prose=claudeAgent/claude-opus-5-5?effort=xhigh" \
--set "swarm workers=grok/grok-4.7?reasoningEffort=xhigh" \
--set "interrogate reviewers=claudeAgent/claude-opus-5-5?effort=xhigh;grok/grok-4.7?reasoningEffort=xhigh"The provider, model, and option IDs above are examples. Use IDs from step 1. Add fastMode only when the chosen model is in the grok family and declares that boolean option. A fallback to another family does not set it.
- The command overwrites the whole file, so re-runs are idempotent. Add
--keepto keep roles you did not pass. - It refuses to write a seat that does not match the catalog and prints why. Fix the seat and rerun. Do not pass
--forceunless the user asks. - Add
--projectto write.pstack/t3-roles.jsonfor this repository instead. - A user-level write also saves the catalog snapshot to
~/.config/pstack-t3/catalog.json, whichroles.py showuses later to resolve fallbacks.
5. Verify
Run python3 <runtime>/scripts/roles.py show --cwd "$PWD" --parent "<inheritedProviderInstanceId>/<inheritedModel>". Check that configured seats resolve with no mismatch notes. For unset roles, review and report each default fallback note. A default fallback does not invalidate an otherwise runnable setup. info lines, such as an inherit seat made explicit for the budget, are expected. Then run one smoke delegation to each distinct provider in the table: delegate_task with mode: "wait", timeoutMs: 120000, the seat's target, and the task "Reply with the single word ready." A seat that fails here is not usable. Fix it and rerun step 4.
6. Confirm
Do this only after step 1 found watch_pull_request and step 5's smoke delegations succeeded. Tell the user which file was written, the budget, any provider they could enable in T3 settings to widen verifiers, and that new sessions pick it up immediately. 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, such as 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, invoke create-verification-skill. On no, move on.
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.

