luks3110/pstack-zcode/setup-pstack
Claude Code and agent skill by luks3110/pstack-zcode
- community
Checking that the SKILL.md file is still in the repository.
Configure which subagent types pstack uses per role. Detects the agent types available in this session and writes ~/.zcode/pstack-roles.md, an override layer the skills read. Use for /setup-pstack, "configure pstack agents", or changing pstack's subagent choices.
Install
npx vskill@latest install luks3110/pstack-zcode/setup-pstackSKILL.md
The same SKILL.md was published earlier as luks3110/pstack-zcode/setup-pstack.
Setup pstack
Write ~/.zcode/pstack-roles.md, a plain file the pstack skills read on demand, that sets pstack's subagent type per role. The skills read it and fall back to their inline defaults when a line is absent, so this is an override layer, not a requirement.
ZCode runs every subagent on the session model; there is no per-role model choice. What this file configures is the subagent type each role fans out to, which is where diversity comes from: a reviewer type reads a diff differently than an architect type or a general-purpose delegate.
Steps
1. Detect available subagent types
Enumerate the subagent_type values you can pass to an Agent call in this session. The dependable sources, in order:
- Built-ins always present:
general-purpose,Explore,code-architect,code-explorer,code-reviewer. - Types contributed by enabled plugins and declared in this session (pstack itself contributes
poteto-agentandcomment-sicko). - Agent definitions ZCode scans outside plugins (for example
~/.zcode/cli/agents/).
Never write a type you have not confirmed exists. A role line pointing at a type the Agent tool rejects breaks every delegation that reads it.
2. Load current state
The default role-to-type mapping is the shape shown in step 5 below. If ~/.zcode/pstack-roles.md already exists, read it and treat its values as the current choices. Otherwise start from those defaults.
3. Map and confirm
Show every role with its current type, marking any type not in the detected set as needing a choice. Ask whether to accept as-is or change specific roles, offering the detected types as the options. Prefer AskUserQuestion over free text. For panel roles (how critics, arena runners, architect runners, interrogate reviewers) the value is a list, and one subagent runs per entry, so the list length sets the fan-out; entries may repeat a type when you want volume over diversity. arena cross-judge pool is also a list, and Arena picks one value from it. swarm workers is the default type for every worker unless a race or comparison assigns another per arm.
4. Validate
Every type written must be in the detected set. If a chosen type is not available, stop and ask again.
5. Write the file
Write ~/.zcode/pstack-roles.md, overwriting the whole file so re-runs stay idempotent. Shape:
6. Confirm
Re-read the file you wrote and echo the final table to the user. State the fallback rule (absent line = skill default) and that rerunning /setup-pstack is always safe.
7. Offer a verification skill (optional)
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 /create-verification-skill." On yes, invoke /create-verification-skill (resolves wherever pstack is installed — workspace, user, or plugin). On no, move on without pushing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/setup-pstack/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Nov 2026, 9 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/luks3110/pstack-zcode/setup-pstack)