with one click
autopilot
Full autonomous execution from idea to working code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Full autonomous execution from idea to working code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Use for reliable web-browser agents, semantic page inspection, Playwright automation, accessibility-tree navigation, structured browser actions, post-action validation, replay, and visual fallbacks for canvas or highly visual interfaces.
Apply frontend UX quality gates for SaaS dashboards, product screens, modals, tables, forms, responsive layouts, overflow fixes, accessibility, visual validation, spelling, and reduction of UI rework.
Use for professional SaaS UI implementation and refinement in React, TypeScript, Tailwind, dashboards, admin panels, tables, forms, settings, billing, onboarding, responsive layouts, component states, and design-system consistency.
Apply open-design product UI workflow for premium visual redesigns, dashboards, landing pages, design tokens, component libraries, responsive product screens, visual QA, anti-generic styling, and professional frontend delivery.
Optimizes images for blogs and websites, including format conversion, resizing, compression, responsive delivery, accessibility, and visual validation. Use when asked to optimize, reduce, prepare, convert, or improve images for the web.
LGPD-focused privacy and data-governance skill for Brazilian software products. Use for data mapping, legal basis selection, consent, privacy notices, RIPD, rights requests, retention, vendor risk, incident response, and international transfer review.
| name | autopilot |
| description | Full autonomous execution from idea to working code |
<Use_When>
<Do_Not_Use_When>
plan skill insteadralph or delegate to an executor agentplan --review<Why_This_Exists> Most non-trivial software tasks require coordinated phases: understanding requirements, designing a solution, implementing in parallel, testing, and validating quality. Autopilot orchestrates all of these phases automatically so the user can describe what they want and receive working code without managing each step. </Why_This_Exists>
<Execution_Policy>
/cancel at any time; progress is preserved for resume$deep-interview firstquick: one compact plan, one implementation lane, one validation pass. Use for small, well-scoped work.standard: spec -> plan -> execute -> verify with focused artifacts and limited agents. Default mode.deep: multiple lanes, explicit boundaries, task graph, review team, and broader validation. Use only for large/risky work or explicit user request.Autopilot should choose the smallest mode that can genuinely finish the task. The user can override with quick, standard, or deep.
For non-trivial work, keep a compact artifact set under .omx/autopilot/<task-slug>/:
checkpoint.md: current phase, root cause/hypothesis, files touched, next action, validation command.boundaries.md: do-not-break behavior, forbidden operations, secrets/production constraints, rollback point.tasks.md: task list with dependencies, ownership, parallel markers, and verification commands.validation.md: commands run, failures, fixes, final evidence.survival-guide.md: short handoff for compaction/restart with only the information needed to resume.Keep artifacts short and update them at phase boundaries and before long repair loops.
Each phase must pass these gates before advancing:
Phase 0 - Expansion: Turn the user's idea into a detailed spec
.omx/specs/deep-interview-*.md exists for this task: reuse it and skip redundant expansion work$deep-interview for Socratic ambiguity-gated clarification.omx/plans/autopilot-spec.mdPhase 1 - Planning: Create an implementation plan from the spec
.omx/plans/autopilot-impl.mdidownerfiles/modulesdependsOnparallelSafe: true|falseverify[P] and explicit verification work with [VERIFY]Phase 2 - Execution: Implement the plan using Ralph + Ultrawork
[P] lanes are proven independentPhase 3 - QA: Cycle until all tests pass (UltraQA mode)
Phase 4 - Validation: Multi-perspective review in parallel
Phase 5 - Cleanup: Clear all mode state via OMX MCP tools on successful completion
state_clear({mode: "autopilot"})state_clear({mode: "ralph"})state_clear({mode: "ultrawork"})state_clear({mode: "ultraqa"})/cancel for clean exit
<Tool_Usage>
ask_codex with agent_role: "architect" for Phase 4 architecture validationask_codex with agent_role: "security-reviewer" for Phase 4 security reviewask_codex with agent_role: "code-reviewer" for Phase 4 quality reviewsurvival-guide.md current enough that a new session can continue without reading the raw conversation.Before broad or risky execution, write boundaries:
NEVER: destructive git commands, deleting user work, exposing secrets, unsafe production changes.DANGER: payments, auth, RLS, migrations, billing, customer data, cron jobs, external API side effects.ROLLBACK: current branch/status, backup path, or command needed to return to the pre-change state.VERIFY: the commands or manual evidence that prove the boundary was preserved.Use omx_state MCP tools for autopilot lifecycle state.
state_write({mode: "autopilot", active: true, current_phase: "expansion", started_at: "<now>", state: {context_snapshot_path: "<snapshot-path>"}})state_write({mode: "autopilot", current_phase: "planning"})
state_write({mode: "autopilot", current_phase: "execution"})
state_write({mode: "autopilot", current_phase: "qa"})
state_write({mode: "autopilot", current_phase: "validation"})state_write({mode: "autopilot", active: false, current_phase: "complete", completed_at: "<now>"})$cancel (which should call state_clear(mode="autopilot"))Good: The user says continue after the workflow already has a clear next step. Continue the current branch of work instead of restarting or re-asking the same question.
Good: The user changes only the output shape or downstream delivery step (for example make a PR). Preserve earlier non-conflicting workflow constraints and apply the update locally.
Bad: The user says continue, and the workflow restarts discovery or stops before the missing verification/evidence is gathered.
<Escalation_And_Stop_Conditions>
$deep-interview before proceeding
</Escalation_And_Stop_Conditions><Final_Checklist>
Optional settings in ~/.codex/config.toml:
[omx.autopilot]
maxIterations = 10
maxQaCycles = 5
maxValidationRounds = 3
pauseAfterExpansion = false
pauseAfterPlanning = false
skipQa = false
skipValidation = false
If autopilot was cancelled or failed, run /autopilot again to resume from where it stopped.
For ambiguous requests, prefer:
deep-interview -> ralplan -> autopilot
deep-interview: ambiguity-gated Socratic requirementsralplan: consensus planning (planner/architect/critic)autopilot: execution + QA + validationAutopilot can be driven by the configurable pipeline orchestrator (src/pipeline/), which
sequences stages through a uniform PipelineStage interface:
RALPLAN (consensus planning) -> team-exec (Codex CLI workers) -> ralph-verify (architect verification)
Pipeline configuration options:
[omx.autopilot.pipeline]
maxRalphIterations = 10 # Ralph verification iteration ceiling
workerCount = 2 # Number of Codex CLI team workers
agentType = "executor" # Agent type for team workers
The pipeline persists state via pipeline-state.json and supports resume from the last
incomplete stage. See src/pipeline/orchestrator.ts for the full API.
Stuck in a phase? Check the active task list for blocked tasks, run state_read({mode: "autopilot"}), or cancel and resume.
QA cycles exhausted? The same error 3 times indicates a fundamental issue. Review the error pattern; manual intervention may be needed.
Validation keeps failing? Review the specific issues. Requirements may have been too vague -- cancel and provide more detail.