setup-pstack
Configure optional pstack model choices per role in Codex. Use for $setup-pstack or requests to change pstack delegate models.
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- setup-pstack
- description
- Configure optional pstack model choices per role in Codex. Use for $setup-pstack or requests to change pstack delegate models.
02 资源文件 1
- 许可证LICENSE1.0 KB
03 SKILL.md 正文
Setup pstack
Write ${CODEX_HOME:-$HOME/.codex}/pstack-models.md. The poteto-mode Codex adapter reads this optional file before delegation. It is not an always-applied rule and does not change global Codex settings.
Detect and read
Inspect the model IDs and reasoning levels accepted by this session's subagent tools. Those schemas are the source for choices. Do not translate Cursor model IDs into guessed Codex IDs. If no explicit model choices are exposed, use parent inheritance and state that model selection is unavailable.
Read the existing role file before editing it. Preserve roles the user did not ask to change. Without a file, start every role on inherit-parent.
Choose
Apply model choices the user already gave. Otherwise show the current role choices and ask which to change. Offer only confirmed IDs, inherit-parent, and auto. The aliases mean omit model arguments. They are never sent as literal model IDs.
Panel roles take a comma-separated list. Each entry counts as one reviewer, including repeated inheritance entries. A panel on one family provides separate reviews, not evidence across model families. The arena cross-judge pool is a selection pool, not a reviewer count.
Use these role labels when needed:
feature, refactoringbug-fixperf-issuehillclimbjudgment and prosehardest taskshow explorer,how explainer,how criticswhy investigators,why synthesizerreflect tooling,reflect judgment, divergent, synthesizerarena runners,arena cross-judge poolswarm workersarchitect runnersinterrogate reviewers
Validate and write
Validate each real model ID against the current tool schema. Use a separate reasoning effort for <role> line only when the user chose a supported level. Do not encode effort or speed in a model ID. If the tool requires fresh context for an override, give that context the complete brief.
Write the role file after choices are known. Retain unmodified roles. Example:
# pstack model choices for Codex. Missing roles inherit the parent.
feature, refactoring: inherit-parent
judgment and prose: inherit-parent
how critics: inherit-parent, inherit-parent
swarm workers: inherit-parent
Report the path and changed roles. The next poteto-mode delegation reads the file. This does not make Cursor-only sibling skills native Codex workflows outside the poteto-mode adapter.
04 同仓库更多 Skills
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
unslop
Cut AI tells from any writing. Must always apply.
typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
thermo-nuclear-code-quality-review
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
technical-writing
Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
teach
Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.