setup-pstack

Configure per-role model assignments for pstack skills in an always-loaded override file.

3|2|Updated Aug 28, 2026
One-click install
npx skills add https://github.com/adjohn/pstack --skill setup-pstack-adjohn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup-pstack
Source: https://github.com/adjohn/pstack/tree/main/skills/setup-pstack
Command: npx skills add https://github.com/adjohn/pstack --skill setup-pstack-adjohn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Pstack skills delegate work to subagents across different Claude model tiers, but the default role-to-model mapping may not match the models your account actually has. This Skill detects your available models and writes a single override file so every pstack skill uses models you can actually run. ## Core Features & Use Cases - Model Detection: Probes candidate model slugs (haiku, sonnet, opus, fable) via test subagents or user confirmation, never writing an unverified slug. - Override File Generation: Writes ~/.claude/pstack-models.md with one line per role and imports it into every session via ~/.claude/CLAUDE.md. - Validation and Idempotency: Rejects unavailable slugs, supports inherit-parent and auto aliases, and re-runs cleanly by overwriting the whole file. - Use Case: After installing pstack, run the setup to map roles like critics, arena runners, and swarm workers to the Claude tiers your account exposes, so multi-agent workflows never fail on an unavailable model. ## Quick Start Ask the assistant to run /setup-pstack to detect your available models and configure pstack's model assignments.

Frequently Asked Questions about setup-pstack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure which models pstack uses?▼

Run the /setup-pstack skill, which detects your available Claude models and writes ~/.claude/pstack-models.md with one role-to-model line per entry. The file is imported into every session via ~/.claude/CLAUDE.md, and re-running the skill updates it.

How does pstack detect which Claude models my account has?▼

There is no in-session API listing entitled models, so the skill either test-spawns a one-line background subagent per candidate slug and treats a rejection error as unavailable, or asks you directly which models your account exposes.

Can pstack roles run on the parent chat model instead of a fixed tier?▼

Yes. Setting a role's value to inherit-parent or auto makes that role run on the parent chat model by omitting the Agent model parameter. These aliases are always valid even though they are not detected slugs.

What happens if the override file lists a model I cannot use?▼

An override pointing at an unavailable model breaks every delegation that reads it, so the skill validates every real slug against the detected set before writing. If a chosen slug is unavailable, it stops and asks you to choose again.

How do panel roles with multiple models work in pstack?▼

Panel roles like critics, arena runners, and interrogate reviewers accept a comma-separated list of models, and one subagent runs per entry, so the list length sets the fan-out count. Alias entries in the list still count toward the total.