
Setup pstack
Configures which AI models each pstack role uses and toggles its session hook
Setup pstack is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- shell
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5.1K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Setup pstack
This skill writes a per-role model override sheet for the pstack skill set. Each pstack skill names a default model, and the sheet lets the user swap those defaults for the models they have access to. On Claude Code the sheet can be kept in the user config folder for every project or committed as a project-level file, and it is loaded into context through an import line in CLAUDE.md.
The workflow detects the available model names, shows the current mapping with any unavailable choices flagged, and asks whether to accept or change individual roles. It also sets a default reasoning effort, optional per-role effort levels, and an on or off switch for the SessionStart hook that injects the pstack routing mandate. A PSTACK_SESSION_HOOK=off environment variable can override the sheet for the hook. Re-running the skill rewrites the sheet, and the skill can offer to chain into two companion skills that generate project verification or formal verification skills.
The skill is written for Claude Code and includes per-runtime references for Codex, GitHub Copilot, Muse, Antigravity and other runtimes. It expects the user to answer questions interactively and to have access to the chosen models.
When your agent uses it
Configure which models pstack uses per role. Detects available models and writes the current runtime's override sheet. Use for /setup-pstack, "configure pstack models", changing pstack's model choices, or turning the SessionStart hook on or off.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 7 files (39 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the pstack plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claudeOr copy only this skill to ~/.claude/skills/setup-pstack:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/setup-pstack &&
cp -R "$tmp/plugins/pstack/skills/setup-pstack" ~/.claude/skills/setup-pstack &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/setup-pstack inside it instead.
Copy the skill folder to ~/.agents/skills/setup-pstack to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/setup-pstack &&
cp -R "$tmp/plugins/pstack/skills/setup-pstack" ~/.agents/skills/setup-pstack &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/setup-pstack inside it instead.
Copy the skill folder to ~/.cursor/skills/setup-pstack to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/setup-pstack &&
cp -R "$tmp/plugins/pstack/skills/setup-pstack" ~/.cursor/skills/setup-pstack &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/setup-pstack inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/setup-pstackOr copy the folder to ~/.gemini/skills/setup-pstack yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/setup-pstack:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/setup-pstack &&
cp -R "$tmp/plugins/pstack/skills/setup-pstack" ~/.copilot/skills/setup-pstack &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/setup-pstack inside it instead.
Get the folder:
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.gitThen copy pstack-claude/plugins/pstack/skills/setup-pstack into your agent's skills folder as setup-pstack. Agents that support SKILL.md read one folder per skill.
What it does
- Per-role model mapping
- Sets which model each pstack role uses, such as features, bug fixes, and judgment tasks.
- Model availability detection
- Lists the model names accepted by the agent tool and flags any unavailable choices.
- Reasoning effort control
- Sets a default effort level and optional per-role effort overrides.
- Session hook toggle
- Turns the SessionStart routing hook on or off, with an environment variable override.
- Project or user sheet
- Saves the override sheet either for all projects or for a single repository.
- Verification skill offers
- Offers to generate project verification or formal verification skills after setup.
Good for
- Switch pstack's feature and refactoring tasks to a cheaper model
- Turn off the pstack session hook for a project
- Set a higher reasoning effort for judgment-heavy roles
- Commit a project-specific model configuration to a repository
- Generate a project verification skill after setup
Setup pstack FAQ
When does Setup pstack trigger?
It triggers on /setup-pstack, requests to configure pstack models, requests to change model choices, or requests to turn the SessionStart hook on or off.
Where does the override sheet get saved?
On Claude Code it goes to the user config folder as pstack-models.md, or to .claude/pstack-models.md at the repository root for a project sheet. The user adds an @ import line to CLAUDE.md so it loads every session.
Which models can Setup pstack use?
It uses the family names the agent tool's model parameter accepts, such as opus, fable, sonnet and haiku, plus the aliases inherit-parent and auto. Full model IDs are rejected.
Does Setup pstack change the session hook?
Only if the user chooses. The hook defaults to on, and a line in the sheet or the PSTACK_SESSION_HOOK=off environment variable turns it off.
How do I install Setup pstack in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/setup-pstack to use it in all your projects, or to .claude/skills/setup-pstack in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.
Does Setup pstack run scripts?
Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Setup pstack?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Setup pstack?
The closest alternatives to Setup pstack are Poteto help, Pstack routing, Poteto mode, Load profile and Figure it out.
Where this comes from
- Description: from the skill's own SKILL.md.
More from michael-denyer/pstack-claude

Makes the agent read pstack's poteto-mode skill first and follow its routing
- Open source
- 5.1K GitHub stars
- Developer tools

Has the agent restate your goals and the problem you're solving in its own words
- Open source
- 5.1K GitHub stars
- Productivity

Prototype 2-3 competing designs and compare them before committing to one
- Open source
- 5.1K GitHub stars
- Developer tools

Sketches types, signatures and module layout before the agent writes code
- Open source
- 5.1K GitHub stars
- Developer tools

Runs parallel candidate attempts at a task, then merges the best parts into one artifact
- Open source
- 5.1K GitHub stars
- Developer tools

Drafts a personal working-style skill from your past agent conversations
- Open source
- 5.1K GitHub stars
- Developer tools


