pstack-runtime
How pstack-t3 skills delegate, pick models, isolate work, schedule, and verify inside T3 Code through the orchestrator V2 tools. Read before running any other…
by creedants★ 22 GitHub stars
Install pstack-runtime in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
pstack-t3 runtime
pstack-t3 runs inside T3 Code. Every provider T3 drives (Claude, Codex, Grok, Cursor, Pi, OpenCode, Muse, ACP agents) gets the same t3-code MCP server. This file maps each pstack concept onto those tools, so a skill works the same whatever model runs it.
Tool names may carry a harness prefix, such as mcp__t3-code__delegate_task or mcp__t3_code__delegate_task. The semantics are the same. If a T3 tool this skill names is not in your tool list, find it with the host's tool search when the host has one, and call it by the name the search returns. When the host has no tool search, call the tool directly. Start with orchestrator_capabilities, and do not conclude the tools are missing until a search or a direct call has failed. ACP agents that cannot see the tools use the terminal bridge in ACP fallback.
On-demand files
| File | Read when |
|---|---|
| roles.md | before resolving seats, weighing seat agreement, writing or validating a roles file, or when roles.py prints a note the section does not explain |
| waiting.md | before collecting child results or waiting on children |
| host.md | when a thread settles or snoozes, before you install or locate skills, before interpreting hasPendingChildRuns, hasPendingQuestion, or a mode: "wait" return, when a child's question wakes this thread, or for history notes |
| threads.md | before t3_thread_configure, t3_queue, t3_thread_transfer, run_scheduled_task_now, or pausing a finite program's schedule |
| webhooks.md | before creating a webhook schedule, asking for a signing secret, or choosing between a webhook and a polling schedule |
| secrets.md | before you ask the user for a secret, or before a shell command needs a token, deploy key, or password |
| light.md | before every spawn in light mode |
| gate-review.md | before reusing a gate verdict |
| failures.md | on usage limit or after restart |
| verification.md | before UI or device or CLI verification |
| delegation.md | before spawning a child task or writing its brief |
| modes.md | for the checks every mode keeps |
| isolation.md | before isolating a writing child or running a heavy command |
| watching.md | before linking a PR or waiting on its checks |
| vocabulary.md | when a pstack skill names a Cursor mechanism and you need its T3 equivalent |
Deadlines
A deadline or timebox sets the order of work. It never waives a step. This holds for Autopilot's early red-test-and-PR target, a brigade or Orchestrate timebox, and any "aim for N minutes" in a brief. Start the deliverable the deadline names first, then run every step the playbook prescribes before the next gate, such as CODE-READY or the final report. That includes How, Architect, investigation, and the code delegate. The clock is never a skip: reason. When the remaining steps cannot fit, stop at a verifiable point and report the steps that remain instead of skipping them. A step that the brief's Waived by mode: line names is not a skip, because the mode removed it before the attempt started.
Delegation
- A child starts with only its brief. It sees none of this conversation. Put the goal, the exact paths or SHAs, how to verify, and the report shape in the brief. Point at files instead of pasting large context. Write tool steps as plain verbs ("read", "search the repo", "run"), because the child may be a different provider with different tool names. When the role entry
roles.py showprinted for the child's seat hashaikuBrief, paste its paragraphs unchanged, in order, at the end of the brief, per Claude Haiku 5.5. A code-writing child in a poteto-mode playbook opens withRead <absolute path>/worker.md before anything else., then the persona body ofagents/poteto-agent.md. Below them, paste unchanged the linespython3 <pstack-runtime>/scripts/roles.py mode --cwd "$PWD" --playbook <name> --attempt <kind> [--brief-mode <value> | --session-mode light]prints, per Modes. They start with thePlaybook: playbooks/<name>.mdline, such asPlaybook: playbooks/feature.md, and carry the requiredMode:line. Nothing sits between the persona and those lines, and the task text follows them. Write noPlaybook:line of your own, because a second one fails the check. See Resolve and carry the mode for theAttempt:andWaived by mode:lines. Copy the printedMode:value into--brief-modeon theroles.py showcall that seats the delegate, and pass no other mode flag. Write that brief to a file and runpython3 <pstack-runtime>/scripts/roles.py check-brief <file>beforedelegate_task. Exit 1 names what is missing. Fix the brief, run the check again, and pass the checked text unchanged.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- agents/comment-sicko.md
- agents/poteto-agent.md
- delegation.md
- failures.md
- gate-review.md
- host.md
- isolation.md
- light.md
- modes.md
- roles.md
- scripts/_roles/__init__.py
- scripts/_roles/backup.py
- scripts/_roles/base.py
- scripts/_roles/brief.py
- scripts/_roles/commands.py
- scripts/_roles/config.py
- scripts/_roles/mode.py
- scripts/_roles/panel.py
- scripts/_roles/problems.py
- scripts/_roles/resolve.py
- scripts/_roles/seam.py
- scripts/_roles/seats.py
- scripts/roles.py
- secrets.md
- threads.md
- verification.md
- vocabulary.md
- waiting.md
- watching.md
- webhooks.md
FAQ
What does the pstack-runtime skill do?
How pstack-t3 skills delegate, pick models, isolate work, schedule, and verify inside T3 Code through the orchestrator V2 tools. Read before running any other pstack skill that spawns workers, picks a model, or schedules work.
How do I install the pstack-runtime skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pstack-runtime skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…