setup-pstack

Installation
SKILL.md

Setup pstack

Write the pstack model config at ~/.config/pstack/<harness>/models. Resolve <harness> through the harness skill and use the exact Model config path from the active adapter. Use one line per role. Map each role to a model available in the active harness. The skills read this file and use adapter defaults for roles without a line.

Steps

1. Detect the harness

Run detection from the harness skill (../harness/SKILL.md). Read that harness's adapter. Model IDs, subagent options, and config mirrors vary by harness.

2. Detect available models

Use the active harness to list models that subagents can use. Check the adapter for the right operation. If the harness has a model API or CLI, use it to check availability. If you cannot list models, ask the user to provide the available model IDs. Never write an unconfirmed model ID. inherit-parent and auto are always valid aliases.

3. Load the current state

Read ~/.config/pstack/<harness>/models if it exists. Keep its role values and the recorded budget as the current choices. Otherwise use the role defaults in the harness skill and the active adapter. Ignore the old shared file at ~/.config/pstack/models; leave it and other harnesses' configs untouched.

The how critics role and the four how and why roles are no longer used. When the current config has those lines, report them as retired and omit them from the new config.

Installs
12
GitHub Stars
1
First Seen
Sep 28, 2026