---
name: elianiva-setup-pstack
description: "Configure the Pi models pstack delegates to by role. Use for /setup-pstack, \"configure pstack models\", or changing pstack's model choices."
disable-model-invocation: true
metadata:
  decimalai-skill-id: "bbed1734-3fba-4bcf-b682-f76caabe26d8"
  decimalai-version-id: "77c9d1a2-a524-490e-803a-f9751129dd64"
  decimalai-version: "1"
  decimalai-body-sha256: "931fb2173a8f86ef718952709c68969561a82a3fb71b9a4eb31131fa6934036a"
  decimalai-name: "elianiva/setup-pstack"
  decimalai-format: "1"
  decimalai-invocation: "user"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/elianiva-setup-pstack@1/SKILL.md"
---
# Set up pstack for Pi

Use `/setup-pstack` to open the Pi-native interactive model picker. It lists models configured for this Pi session and writes the chosen role mappings to `~/.pi/agent/pstack/models.json`.

If interactive UI is unavailable, call `pstack_config` with `action: "list-models"`, then set each needed role with `action: "set"`. Values use Pi's `provider/model` selector format. Set a role to `inherit-parent` to run that child with the parent session's selected model.

## Rules

- Never write an unlisted model selector.
- Start with `inherit-parent` for any role without a deliberate model choice.
- Panel roles can be configured as an array only by editing the JSON deliberately. Each entry means one subagent.
- Re-run `/setup-pstack` whenever models or provider access changes.

The config is user-level and applies to every later pstack session. It is not repository configuration and must not be committed.
