setup-pstack

Configure per-role model assignments for pstack by writing an always-applied Cursor rule.

6.6k|542|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cursor/plugins --skill setup-pstack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-pstack
Source: https://github.com/cursor/plugins/tree/main/pstack/skills/setup-pstack
Command: npx skills add https://github.com/cursor/plugins --skill setup-pstack

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 override rule so every pstack delegation uses the models you choose instead of the built-in defaults.

Core Features & Use Cases

  • Model Detection: Enumerates the model slugs available to Task subagents in your session, falling back to asking you to paste slugs when detection fails.
  • Role-to-Model Mapping: Shows every pstack role (critics, arena runners, swarm workers, interrogate reviewers, and more) with its current model and lets you confirm or change each one, including list-valued panel roles.
  • 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 code critics to run on a reasoning-heavy model while swarm workers use a faster one. Run this Skill, pick models per role from your detected set, and the rule applies to all future sessions.

Quick Start

Ask the agent to run /setup-pstack to configure which models pstack uses 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 which models pstack uses per role?

Run the setup-pstack skill, which detects your available model slugs, 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 pstack model choices after initial setup?

Re-run the setup-pstack skill at any time. It reads the existing pstack-models.mdc rule as the current state, lets you adjust specific roles, and overwrites the whole file so re-runs stay idempotent.

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

Both aliases tell a role to run on the parent chat model instead of a specific slug, which is how Auto users stay on Auto. They are always valid values even though they are not detected model slugs.

What happens if pstack is configured with a model I cannot access?

A rule pointing at an unavailable model breaks every delegation that reads it. The skill prevents this by validating that every real slug written is in the detected available set and asking again if one is not.

Can pstack panel roles use multiple models at once?

Yes. Panel roles such as critics, arena runners, and interrogate reviewers accept a list of models, and one subagent runs per entry, so the list length sets the fan-out count.