/skillbook-skills:setup-pstackfrom skillbook-skills
Configure which models pstack uses per role. Detects your available models and writes an always-applied rule that overrides the skill defaults. Use for "configure pstack models" or changing pstack's model choices.
Ships in skillbook-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write ~/.agents/rules/pstack-models.md, an always-applied rule that sets pstack's model per role. The legacy ~/.cursor/rules/pstack-models.mdc path still works as a fallback.
Enumerate the model identifiers your harness lets you pass to a subagent; if your harness offers no model choice, skip the rule and roles fall back to the parent model. That enumeration is the dependable source, and if your harness also exposes a models API or CLI that lists the user's entitled models, prefer it for completeness. If you cannot detect any, ask the user to paste the identifiers they have access to. Never write a real identifier you have not confirmed is available. The aliases inherit-parent and auto are always valid even though they are not detected identifiers.
The default role-to-model mapping is the rule shape shown in step 5 below. If ~/.agents/rules/pstack-models.md already exists, read it and treat its values as the current choices; when that portable path is absent, read the legacy ~/.cursor/rules/pstack-models.mdc as a fallback. Otherwise start from those defaults.
Show every role with its current model, marking any real slug not in the detected set as needing a choice. Ask whether to accept as-is or change specific roles, offering the detected models plus inherit-parent and auto (both mean: this role runs on the parent chat model, which is how Auto users stay on Auto) as the options. Prefer your harness's structured question tool over free text, if it has one (for example AskQuestion); otherwise ask in plain text. For panel roles (arena runners, architect runners, interrogate reviewers, multi-phase lanes) the value is a list, and one subagent runs per entry, alias entries included, so the list length sets the count. arena cross-judge pool is also a list, but Arena selects one value from it whose model family differs from the parent's when possible. swarm workers is the default model for every worker unless a race or comparison assigns another model per arm.
Every real slug written must be in the detected set. inherit-parent and auto always pass. If a chosen real slug is not available, stop and ask again.
Write ~/.agents/rules/pstack-models.md with alwaysApply: true and one line per role, using the same labels poteto-mode uses. Overwrite the whole file so re-runs stay idempotent. On older Cursor setups the legacy ~/.cursor/rules/pstack-models.mdc path works as a fallback. Shape:
---
description: pstack per-role model choices (overrides skill defaults)
alwaysApply: true
---
# pstack model configuration. One line per role. Delete a line to fall back to the skill default.
# `inherit-parent` or `auto` as a value: the role runs on the parent chat model (omit the subagent's model). Alias entries in a panel list still count toward its fan-out.
feature, refactoring: inherit-parent
bug-fix: inherit-parent
perf-issue: inherit-parent
hillclimb: inherit-parent
judgment and prose: inherit-parent
hardest tasks: inherit-parent
how explorer: inherit-parent
how explainer: inherit-parent
why investigators: inherit-parent
why synthesizer: inherit-parent
reflect tooling: inherit-parent
reflect judgment, divergent, synthesizer: inherit-parent
arena runners: inherit-parent, inherit-parent, inherit-parent, inherit-parent
arena cross-judge pool: inherit-parent, inherit-parent, inherit-parent, inherit-parent
swarm workers: inherit-parent
architect runners: inherit-parent, inherit-parent, inherit-parent, inherit-parent
interrogate reviewers: inherit-parent, inherit-parent, inherit-parent, inherit-parent
multi-phase lanes: inherit-parent
Tell the user the rule was written and that it applies to new sessions. Re-running this skill updates it.
Check whether the project has a way to drive the real app for proof (a verify-* skill, or an existing harness). If not, offer once: "want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with the create-verification-skill skill." On yes, invoke the create-verification-skill skill (resolves wherever pstack is installed: workspace, user, or plugin). On no, move on without pushing.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
52 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for "architect this", "design this", or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for "arena this", "throw it in the arena", or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts./blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust./broRestate the last message in plain human language, with no jargon./code-review-loopSoftware-factory chain stage: two-axis code review of the integration branch against the merge-base with origin/main, written to an untracked local report, then routed — normal findings to dev-flow, a clean review to create-pr, decision-forcing findings to grill-with-spec, which pauses the chain on the maintainer. Use for /code-review-loop or any independent review that must pick the next stage.npx claudepluginhub dyegolara/skillbook --plugin skillbook-skills