Set up pstack on Claude Code
Write the optional model configuration at ~/.claude/pstack-models.md. Other pstack skills use it as an override and keep their inline tier defaults when a role is absent.
Configure
- Read the
Agenttool's currentmodelenum. It is the source of truth for accepted values. Never guess a model slug. - Read the existing configuration when present and preserve valid choices.
- Bind the fast-code, precise-execution, and judgment tiers first. Then bind role and panel entries. A panel contains one model per seat.
inherit-parentmeans omit the model argument. - Use the host's structured-question tool for choices the user must make.
- Overwrite the complete file idempotently after validating every value against the current enum.
Use this shape:
# pstack model configuration for Claude Code
fast code model: <model>
precise-execution model: <model>
judgment model: <model>
how explorer: <model>
how explainer: <model>
how critics: <comma-separated-models>
why investigators: <model>
why synthesizer: <model>
reflect tooling: <model>
reflect judgment, divergent, synthesizer: <model>
arena runners: <comma-separated-models>
arena cross-judge pool: <comma-separated-models>
swarm workers: <model>
architect runners: <comma-separated-models>
interrogate reviewers: <comma-separated-models>
Offer to append this exact line to ~/.claude/CLAUDE.md, after checking it is not already present:
When a pstack skill asks for a per-role model, read ~/.claude/pstack-models.md.
That file affects every project, so write the pointer only after explicit approval. Report the configuration path and note that it applies to new sessions.