AGENT SKILL

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

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, refactoring
  • bug-fix
  • perf-issue
  • hillclimb
  • judgment and prose
  • hardest tasks
  • how explorer, how explainer, how critics
  • why investigators, why synthesizer
  • reflect tooling, reflect judgment, divergent, synthesizer
  • arena runners, arena cross-judge pool
  • swarm workers
  • architect runners
  • interrogate 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

thiskevinwang
thiskevinwang/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.

★ 0
thiskevinwang
thiskevinwang/skills

unslop

Cut AI tells from any writing. Must always apply.

★ 0
thiskevinwang
thiskevinwang/skills

typescript-best-practices

TypeScript best practices. Use when reading or editing any .ts or .tsx file.

★ 0
thiskevinwang
thiskevinwang/skills

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.

★ 0
thiskevinwang
thiskevinwang/skills

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.

★ 0
thiskevinwang
thiskevinwang/skills

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'.

★ 0