setup-pstack
Skill8 starsChanged yesterdayMITView on GitHub
Configure which models pstack uses per role and at what reasoning budget. Detects available models, takes an approved pool first, then recommends the 17-role map and writes an always-applied rule. Use for /setup-pstack, "configure pstack models", "pstack budget", or changing pstack's model choices.
39 other projects use a version of this, 21 of them edited.
Adopted by
Most recently taken up by
- MondayNotAGoodDay/skillstheir own version, first seen Nov 29, 2026
- karanmrn/karanagentskillsedited, first seen Nov 29, 2026
- The-Utopia-Studio/skillsedited, first seen Nov 29, 2026
- karanmrn/kstackedited, first seen Nov 29, 2026
- SurachatMa/claude-skillstheir own version, first seen Nov 29, 2026
- bajor/skillsedited, first seen Nov 29, 2026
Used with
Projects with it also use pstack-tdd and control-cli.
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.
rockcookiesSkillpstack-tdd
Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
Also in 3 projects that use this
ElyzeSolutionsSkillcontrol-cli
Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.
Also in 4 projects that use this
Other versions39 projects use a version of this.
Word for word · 0
None found.
Edited · 21
- backnotprop/pstack★ 5.4k11% same
- TencentBlueKing/bk-lite★ 7718% same
- mariusflorescu/pstack-t3★ 1315% same
- adjohn/pstack★ 1214% same
- karanmrn/karanagentskills★ 1111% same
- karanmrn/kstack★ 1111% same
- 0xrsydn/pstack-pi★ 715% same
- shiwenbin1617/pstack★ 418% same
- dhanji4U/skills★ 213% same
- JoshueOsuna/pstack★ 215% same
11 more not listed
Wrote their own version · 18
- dsebban/skills★ 82same name
- TheOnlyFusionCube/potetos-for-everyone★ 21same name
- creedants/pstack-t3★ 19same name
- kkgogogo17/pi-pstack★ 9same name
- mdsmithaustin/pstack★ 9same name
- bnema/pi-pstack★ 2same name
- EvanBatten/pstack-for-cc★ 2same name
- jmporchet/pstack-hermes★ 2same name
- anhermon/pstack-claude★ 1same name
- iancleary/skills★ 1same name
8 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 repository59 other files it gives its agents.
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- broSkill
- correctSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- in-your-own-wordsSkill
- ketchupSkill
- ketchup-videoSkill
- maintain-formal-verification-skillSkill
- 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
- recallSkill
- reflectSkill
- reframeSkill
- session-reviewSkill
- sharpenSkill
- show-me-your-workSkill
- statechartSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- typescript-best-practicesSkill
- unslopSkill
- whySkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 37 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Ask for a budget: Use ask to offer these exact labels:
“Common” is measured: kept by at least 6 in 10 of the 37 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
Save the approved pool plus the role-to-model mapping with the pstack_models tool (action: "save"). It writes the plugin-managed rule rules/pstack-models.md in the active OMP profile directory (resolved with the SDK's getAgentDir()), as an always-applied rule. The skills read that rule for every dispatch. There are no built-in defaults: a role left unconfigured, or a model outside the approved pool, requires setup rather than a silent substitution.
Steps
1. Detect available models
Enumerate the models authenticated in this session with pstack_models (action: "list"). It returns the current pool and roles, plus each detected model's selector, name, family, reasoning, and efforts. Use that registry to decide what can dispatch. A model the user can access but has not authenticated cannot carry a role. If no model is detected, ask the user to name their available models. Never save a concrete selector without confirming its availability.
2. Select the approved pool (before any role map)
Ask the user to choose the pool of models pstack may dispatch. Present each detected model's name, family, reasoning support, and efforts. Use the user's access and preferences for cost, speed, reasoning depth, and diversity. Do not invent a brand set. Include inherit-parent or auto only with explicit permission. An alias used by a role must itself be in the pool. Keep approved models even if no role uses them yet. A model outside the pool cannot be assigned.
3. Choose the budget and recommend the 17-role map
Load the existing choices with pstack_models (action: "show") when a rule exists. Preserve every existing role's model identity, ordered panel list, and aliases unless the user asks to change them. Remove retired role lines, such as how critics, and report them before saving. If they prevent parsing, correct those lines in rules/pstack-models.md before using the managed save.
Ask for a budget. Use ask to offer these exact labels:
large — xhigh reasoningmedium — high reasoningsmall — medium reasoning
The offered budgets stop at xhigh. Keep a higher supported effort on an existing role only if the user explicitly asks. Do not import upstream model defaults or replace configured identities.
On a re-run, infer the current effective budget from existing concrete selectors' thinking suffixes. xhigh, high, and medium correspond to large, medium, and small. If suffixes differ, call the budget mixed and show the efforts. If the effort is outside those three, call it custom. If no suffix records an effort, call the budget unknown. Model caps can hide the original target. Do not claim a stored target or a default budget.
Recommend the map. Using only pool members, propose a value for each of the 17 roles (feature, refactoring, bug-fix, perf-issue, hillclimb, judgment and prose, hardest tasks, how explorer, how explainer, why investigators, why synthesizer, reflect tooling, reflect judgment, divergent, synthesizer, arena runners, arena cross-judge pool, swarm workers, architect runners, interrogate reviewers). Preserve existing choices on a re-run. State a short rationale based on detected capabilities and the user's preferences. Use the poteto kind for code-writing roles, general for judgment roles, and readonly for review panels. A role with no value is unconfigured. Do not silently fill it.
how explorer, reflect tooling, and reflect judgment, divergent, synthesizer are reserved for existing configurations and custom workflows. Built-in /how uses how explainer, and built-in /reflect works inline. Keep any existing assignments to reserved roles. Include their keys in the save, with empty values if no workflow uses them.
Apply the budget. large, medium, and small target xhigh, high, and medium. Set the :<effort> suffix on every concrete selector, including panel entries. Keep the exact provider and model id. Match the full registry identity before separating a suffix. Do not switch models to obtain an effort. If pstack_models list does not show the target effort for a model, use its highest supported effort at or below the target. If none qualifies, mark the role as needing a choice. A model without reasoning gets no suffix. Leave inherit-parent and auto unchanged.
Confirm the roles. Show all roles with their budget-adjusted selectors. Mark unavailable models and choices outside the pool as needing a choice. List any retired lines removed. Use ask to confirm the map or change specific roles. Offer only available approved models and explicitly approved aliases. Reapply the chosen budget to any changed concrete entries. swarm workers supplies each worker's model unless a race assigns an approved model per arm.
4. Confirm panel count and diversity
For panel roles (arena runners, architect runners, interrogate reviewers), one subagent runs per ordered entry, including aliases. The list length sets the fan-out count. arena cross-judge pool is also an ordered list, but Arena selects one concrete judge from another vendor than the parent's. Aliases cannot judge. Show each panel's proposed count and model spread. Use ask to confirm the count and diversity. Ordered duplicate entries count separately. Never deduplicate or silently shrink a list.
5. Validate
Every concrete role selector must resolve in the detected registry and belong to pool by base identity. A thinking suffix does not change pool membership. inherit-parent and auto pass only if the token itself is in pool. pstack_models refuses invalid choices before saving. A role without a line is unconfigured, not defaulted.
6. Write the rule
Save with pstack_models (action: "save", pool, and roles mapping each role label to its selector or ordered list). pool is required. The tool atomically replaces the managed body of rules/pstack-models.md. Comments outside that body survive. If the file is malformed, fix it before saving. OMP stores the budget in concrete selectors' thinking suffixes, not a separate # budget line. The values below illustrate the shape, not defaults:
---
description: pstack per-role model choices (approved pool plus per-role mapping)
alwaysApply: true
---
# pstack model configuration. `pool` lists the approved models pstack may dispatch. One line per role.
# A thinking suffix does not change pool membership.
# `inherit-parent` and `auto` use the parent model and require explicit pool permission.
# A missing role line is unconfigured. No default is substituted.
pool: <provider/id>, <provider/id>
feature, refactoring: <provider/id>:<effort>
bug-fix: <provider/id>:<effort>
perf-issue: <provider/id>:<effort>
hillclimb: <provider/id>:<effort>
judgment and prose: <provider/id>:<effort>
hardest tasks: <provider/id>:<effort>
how explorer: <provider/id>:<effort>
how explainer: <provider/id>:<effort>
why investigators: <provider/id>:<effort>
why synthesizer: <provider/id>:<effort>
reflect tooling: <provider/id>:<effort>
reflect judgment, divergent, synthesizer: <provider/id>:<effort>
arena runners: <provider/id>:<effort>, <provider/id>:<effort>
arena cross-judge pool: <provider/id>:<effort>, <provider/id>:<effort>
swarm workers: <provider/id>:<effort>
architect runners: <provider/id>:<effort>, <provider/id>:<effort>
interrogate reviewers: <provider/id>:<effort>, <provider/id>:<effort>7. Confirm
Tell the user the rule was written and name the chosen budget and any model-specific effort caps. It applies to new dispatches. Re-running this skill updates it. An unconfigured role or a model outside the pool fails closed. Rerun setup to fix it.
8. 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 from the project's, profile's, or plugin's installed skills. On no, move on without pushing.
9. Offer a formal verification skill (optional)
Check whether the project already has a formal verification skill (a project skill that runs a model checker, a proof, or another verifier against the code). If not, offer once: "want a formal verification skill, so agents can prove a key property of your code holds in every case in scope, not only the cases tests reach? I can generate one with /create-formal-verification-skill." On yes, invoke /create-formal-verification-skill from the project's, profile's, or plugin's installed skills. On no, move on without pushing.
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.

