setup-pstack

Configure per-role model assignments for pstack by writing a Cursor rule file.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/gmackie/agent-skills --skill setup-pstack-gmackie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup-pstack
Source: https://github.com/gmackie/agent-skills/tree/main/skills/setup-pstack
Command: npx skills add https://github.com/gmackie/agent-skills --skill setup-pstack-gmackie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Pstack delegates work to subagents across many roles, and each role needs an appropriate model. This Skill detects which models you actually have access to and writes a single always-applied Cursor rule that overrides the built-in defaults, so delegations never point at unavailable models. ## Core Features & Use Cases - Model Detection: Enumerates the model slugs available to Task subagents in the current session, falling back to asking the user when detection fails. - Role-to-Model Mapping: Shows every pstack role with its current model, supports panel lists for critics, arena runners, architect runners, and interrogate reviewers, and validates every real slug against the detected set. - Idempotent Rule Writing: Writes ~/.cursor/rules/pstack-models.mdc with alwaysApply: true, overwriting the whole file so re-runs stay consistent. - Use Case: You want pstack's bug-fix and hillclimb roles to run on a specific reasoning model while explorers use a faster one. Run this Skill, confirm the detected models, adjust the roles, and the override rule applies to all new sessions. ## Quick Start Ask the agent to configure pstack models by running /setup-pstack and confirm the detected model slugs for each role.

Frequently Asked Questions about setup-pstack

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

FAQPage Schema
How do I configure pstack models in Cursor?▼

Run /setup-pstack or ask to configure pstack models. The Skill detects the model slugs available in your session, shows each role with its current model, and writes your choices to ~/.cursor/rules/pstack-models.mdc as an always-applied rule.

How do I change the model for a specific pstack role?▼

During setup, each role is shown with its current model and you can change individual roles to any detected slug, inherit-parent, or auto. Panel roles accept a list of models, and one subagent runs per list entry.

What do inherit-parent and auto mean in pstack model configuration?▼

Both aliases mean the role runs on the parent chat model by omitting the Task model parameter. They are always valid even though they are not detected slugs, and alias entries in a panel list still count toward its fan-out.

What happens if I assign a model I do not have access to?▼

The Skill validates every real slug against the detected set and stops to ask again if a chosen slug is unavailable. A rule pointing at an unusable model would break every delegation that reads it.

Does the pstack model rule apply to existing sessions?▼

No, the written rule applies to new sessions. Re-running the Skill overwrites the whole file, so updates stay idempotent and deleting a line falls back to the skill default.