setup-pstack
Configure which T3 providers and models pstack uses per role, at what reasoning budget, and whether mode is full or light. Reads the live T3 catalog and…
от creedants★ 22 звезды на GitHub
Установить setup-pstack в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup pstack
Read the pstack-t3 runtime before spawning workers, choosing models, scheduling, or isolating work. It maps those steps onto T3's orchestrator tools.
Write ~/.config/pstack-t3/roles.json, the per-role seat table that every pstack-t3 skill reads through the runtime. A project can override roles in .pstack/t3-roles.json.
<runtime> below is the pstack-runtime skill directory next to this one.
Steps
1. Check the host and read the catalog
Check the host's tool list for watch_pull_request. Accept the T3 harness prefixes described in the runtime. A tool listed by name counts as present, including a harness prefix. A deferred watch_pull_request counts as present and does not fail this gate. If tools load lazily, use the host's tool discovery and make one bounded orchestrator_capabilities call before checking again. A provider catalog does not prove that the watch tool exists. Do not call watch_pull_request with a dummy PR to test it.
If watch_pull_request is absent, stop setup before writing roles or a saved catalog. Say "Setup cannot finish. This host does not expose watch_pull_request, and pstack-t3 requires T3 Code 0.1.3 or later." Ask the user to update T3 Code and rerun setup. Do not report setup complete.
The runtime host notes state the T3 Code version floor. See host notes.
When an expected model is missing, enable Provider update checks in T3's Maintenance settings and refresh provider status. This setting also controls model catalog updates. Read orchestrator_capabilities again after the refresh before replacing a seat. Call orchestrator_capabilities. Save its JSON result verbatim to a temporary file, for example /tmp/pstack-t3-catalog.json. That result is a short list. Outside Codex, Claude, Muse, and Grok it holds at most eight models per provider, and each provider's omittedModels counts the rest. The tool takes an optional search string that returns the same shape with only the matching models. That file with a search result merged into it is the only source of valid providers, models, and options. Never write a seat that is not in it. Keep the file for the commands in this skill. A host whose orchestrator_capabilities takes no search parameter returns the whole catalog, so a model it lacks is genuinely missing. show and write both read it, and a user-level write saves a copy as the snapshot. A skill that only resolves a role from a tool result uses the quoted heredoc in Where roles live instead of a file.
List the runnable providers (canRunChildTask: true) with their first three models. List the providers that are not runnable with their constraints, such as "Provider is not authenticated", so the user knows what to fix in T3 settings. Muse is beta and disabled by default. Its status can come from a cached catalog without a login or model check, so canRunChildTask: true does not prove a Muse seat works. Step 5's smoke delegation decides it. Match a Muse instance by driverKind: "muse", not by the ID muse.
2. Load current state
python3 <runtime>/scripts/roles.py show --cwd "$PWD" --catalog /tmp/pstack-t3-catalog.json
This prints every role with its seats and source (default, the user file, or the project file), already resolved against the catalog. It also prints mode, modeSource, and escalate. notes name seats that no longer match, such as a model T3 dropped. A note that names a model the saved catalog lacks does not prove T3 dropped it, because step 1's result is a short list. When the host exposes the search parameter, call orchestrator_capabilities with search set to that model id or its name, and save the result to a temporary file. On a host without search, keep using the saved catalog and skip search and merge. Merge it with python3 <runtime>/scripts/roles.py catalog merge --catalog /tmp/pstack-t3-catalog.json --from /tmp/pstack-t3-search.json. Rerun show in this step before calling the seat dropped or rewriting it. Merging a search result with no models exits 2 with error: search result names no model to merge and leaves the saved catalog unchanged. An empty result does not prove the model is unavailable. Check the model id and search again before replacing the seat. A merge exits 2 when the result brings a model for a provider the saved catalog lacks or cannot run, and it writes nothing. A role entry that carries a search list names configured seats whose models are absent from a provider with omitted models. Each entry is providerInstanceId/model. Remove only the provider instance id and the first slash to get the model id. Call orchestrator_capabilities with search set to that model id, and merge the results the same way. A saved contextWindow on a native Claude 5 seat shows as `dropped unknown o
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл setup-pstack?
Configure which T3 providers and models pstack uses per role, at what reasoning budget, and whether mode is full or light. Reads the live T3 catalog and writes a roles file that every pstack skill reads. Use for /setup-pstack, "configure pstack models", "pstack budget", "pstack mode", or changing pstack's model choices.
Как установить скилл setup-pstack?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup-pstack запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…