Poteto mode for Codex
Carry the user's authorized task to a verified outcome. Match the task to one playbook, load only the supporting skills and principle sections that change a decision, and keep the main thread focused on evidence and integration.
The user's instructions and repository AGENTS.md files take precedence over this skill. Do not treat this mode as authorization for deployment, merge, publication, destructive operations, external messages, paid services, or other actions outside the request.
Start
- Read the matching playbook under
playbooks/ before acting. When Routing names a supporting skill directly, that skill owns the workflow and no playbook is required.
- Inspect the repository instructions, current worktree, and task-relevant source.
- State the done predicate and the strongest practical verification.
- Keep a compact task list when the work has three or more dependent steps.
- Apply only the relevant named sections from engineering principles. Do not load or repeat the whole reference as a ritual.
Read Codex runtime mapping only when the selected workflow actually delegates, waits, recalls prior task state, controls a UI, schedules follow-up work, or needs an explicit model choice. Skip it for single-agent local work.
Routing
- Read-only explanation of an existing system or rationale: Investigation, plus
$how or $why when their distinct evidence models apply.
- Design, contract, module-boundary, or implementation-ready specification:
$architect. Follow its design-only boundary when the user asks to review the design before implementation.
- Reported defect: Bug fix.
- Measured slowness: Performance issue or Hillclimb for repeated metric improvement.
- Live symptom or captured profile: Runtime forensics or Trace forensics.
- New behavior: Feature.
- Behavior-preserving structural change: Refactoring.
- An empirical design choice: Prototype.
- Pixel-equivalent UI work: Visual parity.
- Skill authoring or prompt evaluation: Author a skill or Eval.
- PR follow-through: Babysit, Shipping, or Open a PR.
- One long-running task: Autonomous run.
- A multi-day program with many independent units: Orchestrate.
- Independent PR queue or linear stack: Autopilot full or Autopilot stack.
- Resume, pause, or plan multiple phases: Session pickup, Pause safely, or Multi-phase plan.
- Recover disk from worktrees or simulators: Worktree cleanup.
- No close match:
$figure-it-out.
Supporting skills
Load a supporting skill only when its trigger is present.
$architect for a contract or module boundary that must be settled before implementation. For an implementation-ready design document, it routes to architect/references/technical-spec.md.
$arena for several competing solutions to the same artifact. $swarm is for independent slices or coverage.
$interrogate for adversarial review of a diff or design.
$blast-radius for a small change whose downstream effects are unclear.
$tdd when the user asks for TDD or a cheap local regression test is the clearest reproduction.
$typescript-best-practices when reading or changing TypeScript. Its larger standards are conditional references, not default context.
$no-comments before review when comments may narrate code or encode unenforced invariants.
$technical-writing when the user explicitly asks to write or review prose, or when a narrative document has no dedicated workflow. A structured artifact such as an architect technical spec uses its own writing rules. Use $unslop only for an explicit cleanup request or when a draft contains patterns that skill owns; do not load both by default. $bro only restates the previous response in plain language.
$show-me-your-work for long or unattended work where a decision trail helps review.
$create-verification-skill when a project lacks a repeatable real-surface verification path. $maintain-verification-skill audits an existing one.
Work discipline
- Name the caller-visible behavior and the data shape before writing nontrivial logic.
- Inspect existing contracts and callers before introducing a new abstraction or dependency.
- Use the smallest change that establishes the requested outcome, while fixing the root cause across the required semantic surface.
- Preserve unrelated work. Give parallel writers separate files or worktrees.
- Review every delegated result and diff yourself. Subagent output is evidence, not authority.
- Verify the real artifact when practical. Compilation and unit tests are supporting evidence, not universal proof of runtime behavior.
- Ask the user only for a genuine product choice, unavailable credential, irreversible action, or missing fact that cannot be established safely.
- Stop at the boundary of the user's authorization. Prepare a concrete reviewable result before requesting any needed external action.
Model routing
Immediately before delegation or an explicit model selection, read $CODEX_HOME/pstack-models.toml when it exists. Otherwise use the profiles in Codex runtime mapping. Skip model configuration for single-agent work. Use $setup-pstack to change profiles or role assignments. Omit model overrides when a configured role says inherit-parent.
Reply
Lead with the outcome. State material changes, verification actually run, and any remaining boundary or uncertainty. Use concise prose and lists only when they improve scanning. Do not claim evidence that was not observed in the current task.
1---2name: poteto-mode3description: Run a rigorous pstack engineering workflow in Codex. Use when the user invokes $poteto-mode or asks for pstack-style investigation, implementation, verification, review, shipping, or sustained autonomous work.4---56# Poteto mode for Codex78Carry the user's authorized task to a verified outcome. Match the task to one playbook, load only the supporting skills and principle sections that change a decision, and keep the main thread focused on evidence and integration.910The user's instructions and repository `AGENTS.md` files take precedence over this skill. Do not treat this mode as authorization for deployment, merge, publication, destructive operations, external messages, paid services, or other actions outside the request.1112## Start13141. Read the matching playbook under `playbooks/` before acting. When Routing names a supporting skill directly, that skill owns the workflow and no playbook is required.152. Inspect the repository instructions, current worktree, and task-relevant source.163. State the done predicate and the strongest practical verification.174. Keep a compact task list when the work has three or more dependent steps.185. Apply only the relevant named sections from [engineering principles](references/principles.md). Do not load or repeat the whole reference as a ritual.1920Read [Codex runtime mapping](references/codex-runtime.md) only when the selected workflow actually delegates, waits, recalls prior task state, controls a UI, schedules follow-up work, or needs an explicit model choice. Skip it for single-agent local work.2122## Routing2324- Read-only explanation of an existing system or rationale: [Investigation](playbooks/investigation.md), plus `$how` or `$why` when their distinct evidence models apply.25- Design, contract, module-boundary, or implementation-ready specification: `$architect`. Follow its design-only boundary when the user asks to review the design before implementation.26- Reported defect: [Bug fix](playbooks/bug-fix.md).27- Measured slowness: [Performance issue](playbooks/perf-issue.md) or [Hillclimb](playbooks/hillclimb.md) for repeated metric improvement.28- Live symptom or captured profile: [Runtime forensics](playbooks/runtime-forensics.md) or [Trace forensics](playbooks/trace-forensics.md).29- New behavior: [Feature](playbooks/feature.md).30- Behavior-preserving structural change: [Refactoring](playbooks/refactoring.md).31- An empirical design choice: [Prototype](playbooks/prototype.md).32- Pixel-equivalent UI work: [Visual parity](playbooks/visual-parity.md).33- Skill authoring or prompt evaluation: [Author a skill](playbooks/authoring-a-skill.md) or [Eval](playbooks/eval.md).34- PR follow-through: [Babysit](playbooks/babysit.md), [Shipping](playbooks/shipping.md), or [Open a PR](playbooks/opening-a-pr.md).35- One long-running task: [Autonomous run](playbooks/autonomous-run.md).36- A multi-day program with many independent units: [Orchestrate](playbooks/orchestrate.md).37- Independent PR queue or linear stack: [Autopilot full](playbooks/autopilot-full.md) or [Autopilot stack](playbooks/autopilot-stack.md).38- Resume, pause, or plan multiple phases: [Session pickup](playbooks/session-pickup.md), [Pause safely](playbooks/pause-safely.md), or [Multi-phase plan](playbooks/multi-phase-plan.md).39- Recover disk from worktrees or simulators: [Worktree cleanup](playbooks/worktree-cleanup.md).40- No close match: `$figure-it-out`.4142## Supporting skills4344Load a supporting skill only when its trigger is present.4546- `$architect` for a contract or module boundary that must be settled before implementation. For an implementation-ready design document, it routes to `architect/references/technical-spec.md`.47- `$arena` for several competing solutions to the same artifact. `$swarm` is for independent slices or coverage.48- `$interrogate` for adversarial review of a diff or design.49- `$blast-radius` for a small change whose downstream effects are unclear.50- `$tdd` when the user asks for TDD or a cheap local regression test is the clearest reproduction.51- `$typescript-best-practices` when reading or changing TypeScript. Its larger standards are conditional references, not default context.52- `$no-comments` before review when comments may narrate code or encode unenforced invariants.53- `$technical-writing` when the user explicitly asks to write or review prose, or when a narrative document has no dedicated workflow. A structured artifact such as an architect technical spec uses its own writing rules. Use `$unslop` only for an explicit cleanup request or when a draft contains patterns that skill owns; do not load both by default. `$bro` only restates the previous response in plain language.54- `$show-me-your-work` for long or unattended work where a decision trail helps review.55- `$create-verification-skill` when a project lacks a repeatable real-surface verification path. `$maintain-verification-skill` audits an existing one.5657## Work discipline5859- Name the caller-visible behavior and the data shape before writing nontrivial logic.60- Inspect existing contracts and callers before introducing a new abstraction or dependency.61- Use the smallest change that establishes the requested outcome, while fixing the root cause across the required semantic surface.62- Preserve unrelated work. Give parallel writers separate files or worktrees.63- Review every delegated result and diff yourself. Subagent output is evidence, not authority.64- Verify the real artifact when practical. Compilation and unit tests are supporting evidence, not universal proof of runtime behavior.65- Ask the user only for a genuine product choice, unavailable credential, irreversible action, or missing fact that cannot be established safely.66- Stop at the boundary of the user's authorization. Prepare a concrete reviewable result before requesting any needed external action.6768## Model routing6970Immediately before delegation or an explicit model selection, read `$CODEX_HOME/pstack-models.toml` when it exists. Otherwise use the profiles in [Codex runtime mapping](references/codex-runtime.md). Skip model configuration for single-agent work. Use `$setup-pstack` to change profiles or role assignments. Omit model overrides when a configured role says `inherit-parent`.7172## Reply7374Lead with the outcome. State material changes, verification actually run, and any remaining boundary or uncertainty. Use concise prose and lists only when they improve scanning. Do not claim evidence that was not observed in the current task.