/t3-pstack:setup-pstackfrom t3-pstack (pstack for T3 Code)
Configures T3 provider and model per role for pstack, detects available models, and writes the model sheet that overrides skill defaults.
Ships in t3-pstack (pstack for T3 Code). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Write the model sheet, ~/.config/t3-pstack/models.md ($XDG_CONFIG_HOME/t3-pstack/models.md when that is set), one per machine. It sets pstack's T3 provider and model per role, and every pstack skill reads it before it dispatches.
Call orchestrator_capabilities, or acp-mcp-call orchestrator_capabilities '{}' where the T3 tools are not exposed. Its provider instances and their models are the dependable source. A target is valid only when its provider instance can run a child task and lists the model. Note each provider's own option IDs and values, such as effort on Claude, reasoningEffort on Codex and Grok, and thought_level on Antigravity. Never write a target you have not seen there. The aliases inherit-parent and auto are always valid.
The default role-to-target mapping is the sheet shape in step 5 below. If the sheet already exists, read it and treat its # budget line and its role values as the current choices. If it does not, read t3-pstack-models.md in the host's config directory ($CLAUDE_CONFIG_DIR or ~/.claude on Claude Code, $CODEX_HOME or ~/.codex on Codex), where releases before 2.0.0-rc.3 kept the sheet, the same way. Otherwise start from those defaults. A line whose role is not in step 5, such as hardest tasks, architect runners, reflect tooling, or why investigators, is from a retired role. Drop it. Also drop any value that is not a T3 entry, such as a bare family name, a claude- slug, or an @<level> suffix, and a default effort line. An Antigravity entry's thinking_level option becomes thought_level, at the same value, where orchestrator_capabilities lists thought_level for its model.
Older defaults put another Gemini model, then Gemini 4 Neon at a high reasoning level, in the panel seat. So in any sheet, a Gemini 4 Neon entry at high, or an entry whose model ID's last / part matches gemini-4-* other than Gemini 4 Neon, in a panel role (arena runners, arena cross-judge pool, interrogate reviewers) is an old default. Each one becomes Gemini 4 Neon at xhigh on the same provider instance, such as antigravity/gemini-4-neon thought_level=xhigh, if orchestrator_capabilities with search: "gemini-4-neon" lists it there. A Gemini 4 Neon entry at any other level is the user's choice and stays. Tell the user which entries you replaced.
A sheet without the # defaults: 3 line comes from an older setup. That setup wrote a line for every role, so some of its values are old defaults, not choices. Before step 3, replace these values:
arena cross-judge pool list of exactly one Fable entry (claude-fable-*), one Opus entry (claude-opus-*), and one Gemini entry (gemini-*), with any provider instance and options, in any order, takes the role's step 5 list. Fable and Opus are one vendor, so the Fable entry could judge only where the Opus entry also could.# budget: unlimited line becomes large, because no role runs above xhigh.# defaults: 2 line either, each of these values takes the role's step 5 default:
claudeAgent/claude-fable-5-1, with any options, in bug-fix, perf-issue, or hillclimb.claudeAgent/claude-opus-5-5, with any options, in swarm workers.arena runners, arena cross-judge pool, interrogate reviewers), a list of exactly claudeAgent/claude-opus-5-5, codex/gpt-6.1-sol, and grok/grok-4.7, with any options, in any order.Every other value is the user's choice and stays, including every inherit-parent or auto value. Tell the user which values you replaced.
(a) Ask for a budget. Ask a structured multiple-choice question (AskUserQuestion on Claude Code, numbered options in plain text elsewhere). Offer these three options with these exact labels, and name the current budget when the sheet records one. With no sheet, say that large matches the skill defaults.
large - xhigh reasoningmedium - high reasoningsmall - medium reasoning(b) Apply it. Build the working table from the defaults, and on a re-run keep any role you changed by provider, family, list, or alias (inherit-parent, auto). Families are the ones Phase A of the arena skill defines, so Fable is its own family. Each role has a target effort, which is its default's effort moved by the budget. large keeps it, medium lowers it one step, and small lowers it two steps, on the ladder xhigh > high > medium > low. No role runs above xhigh, and a target at the bottom of the ladder stays there. Most defaults are at xhigh, and each budget label names where those land. Set the reasoning option of every entry in the role, panel entries included, to the role's target, using the option ID that provider lists. If the provider does not offer that value, use its highest value at or below the target, else mark the role as needing a choice. inherit-parent and auto do not change. So medium turns effort=xhigh into effort=high and effort=high into effort=medium, and small turns them into effort=medium and effort=low. Opus 5.5 runs at standard speed, so never write fastMode, which on T3 is a priced fast mode. Claude lists no fastMode for Fable 5.2, and no provider lists a speed option for a Gemini model, so never write one. Gemini 4 Neon's reasoning levels run from low to xhigh with no max, so its seat runs at xhigh, its top level. A Gemini 4 Neon entry in a panel role takes its own target, xhigh moved by the budget, so large keeps thought_level=xhigh on Antigravity, medium writes thought_level=high, and small writes thought_level=medium.
(c) Show the roles and confirm. Show every role with its entry, marking any target not in the detected set as needing a choice. Also list each line step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected targets at xhigh or below plus inherit-parent and auto (both mean: this role runs on the parent chat's model) as the options. For panel roles (arena runners, interrogate reviewers) the value is a list, and one subagent runs per entry, alias entries included, so the list length sets the count. Each panel list, and the cross-judge pool, needs at least two model families among its targets. A model's family is the first segment of its ID's last / part, such as claude, gpt, or gemini, except that Fable (claude-fable-*) is its own family. arena cross-judge pool is also a list, but Arena runs one judge. It tries only values from a vendor other than the parent's, in list order, so order it by preference. Fable and the other Claude models are one vendor. An inherit-parent or auto value never judges. swarm workers is the default target for every worker unless a race or comparison assigns another per arm.
(d) Ask about the session-start hook. Ask whether t3-pstack's session-start hook should keep telling new chats when to enter /poteto-mode. Write session hook: on or session hook: off.
Write the candidate to a temp file. Call orchestrator_capabilities again and save its result to a temp file as {"providers": [...]}, copying verbatim the entry of every provider instance the candidate or the defaults name. Its list is short, so add to each provider's models every model the candidate or the defaults name that it omits, as search with that model's ID returns it. Run node <plugin root>/skills/setup-pstack/scripts/t3-sheet.mjs <candidate> <catalog.json>, where <plugin root> is the directory that holds this plugin's skills/, and fix every line it prints. Every entry's reasoning option must be at xhigh or below. If node is missing, check each entry against the catalog by reading, and say so. A role with no line runs on its default, so add a line for any role whose default this machine cannot run.
Overwrite the sheet with the candidate, creating its directory and writing through any symlink at its path (resolve it with realpath). The candidate carries the # defaults: 3 line and a # budget line with the chosen label and the effort that label names. If a different file is already there, run the checker on it and ask before you replace it. Overwrite the whole file so re-runs stay idempotent. Then replace t3-pstack-models.md in the host's config directory with a link to the sheet (ln -sf), so an older t3-pstack reads the same sheet. Step 2 already read what it held. On Codex, remove any pstack model rows an earlier setup pasted into <codex-home>/AGENTS.md. With every default kept, the sheet reads:
# pstack model configuration (T3). One line per role. Delete a line to fall back to the skill default.
# `inherit-parent` or `auto` as a value: the role runs on the parent chat's model (`delegate_task` omits `target`). Alias entries in a panel list still count toward its fan-out.
# defaults: 3
# budget: large (xhigh)
feature, refactoring: claudeAgent/claude-opus-5-5 effort=xhigh
bug-fix: claudeAgent/claude-opus-5-5 effort=xhigh
perf-issue: claudeAgent/claude-opus-5-5 effort=xhigh
hillclimb: claudeAgent/claude-opus-5-5 effort=xhigh
judgment and prose: claudeAgent/claude-opus-5-5 effort=xhigh
arena runners: claudeAgent/claude-fable-5-2 effort=high, claudeAgent/claude-opus-5-5 effort=high, antigravity/gemini-4-neon thought_level=xhigh
arena cross-judge pool: claudeAgent/claude-opus-5-5 effort=high, antigravity/gemini-4-neon thought_level=xhigh
swarm workers: claudeAgent/claude-opus-5-5 effort=high
interrogate reviewers: claudeAgent/claude-fable-5-2 effort=high, claudeAgent/claude-opus-5-5 effort=high, antigravity/gemini-4-neon thought_level=xhigh
session hook: on
Tell the user the sheet was written and that it applies to new sessions. Re-running this skill updates it.
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, read ../create-verification-skill/SKILL.md from this file and follow it. Do not call the Skill tool for it, since that tool refuses a skill only the user may invoke. On no, move on without pushing.
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, read ../create-formal-verification-skill/SKILL.md from this file and follow it. Do not call the Skill tool for it, since that tool refuses a skill only the user may invoke. On no, move on without pushing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chhoumann/t3-pstack --plugin t3-pstack67 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via skill-creator + unslop, optionally pulling fresh evidence from recent transcripts./benchmark-checklistVet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you run a benchmark or report a speedup or regression you measured./blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust./broRestate the last message in plain human language, with no jargon.Other plugins' skills for the same job