Autopilot

From sigridjineth/oh-my-codex · View interactive version

Autopilot is an AI agent skill from the GitHub repository sigridjineth/oh-my-codex. Full autonomous execution from idea to working code

How to use this skill

Skill file

<Purpose>

Autopilot takes a brief product idea and autonomously handles the full lifecycle: requirements analysis, technical design, planning, parallel implementation, QA cycling, and multi-perspective validation. It produces working, verified code from a 2-3 line description.

</Purpose>

<Use_When>

</Use_When>

<Do_Not_Use_When>

</Do_Not_Use_When>

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

</Execution_Policy>

<Steps>

  1. Phase 0 - Expansion: Turn the user's idea into a detailed spec
  1. Phase 1 - Planning: Create an implementation plan from the spec
  1. Phase 2 - Execution: Implement the plan using Ralph + Ultrawork
  1. Phase 3 - QA: Cycle until all tests pass (UltraQA mode)
  1. Phase 4 - Validation: Multi-perspective review in parallel
  1. Phase 5 - Cleanup: Delete all state files on successful completion

</Steps>

<Tool_Usage>

</Tool_Usage>

<Examples>

<Good>

User: "autopilot A REST API for a bookstore inventory with CRUD operations using TypeScript"

Why good: Specific domain (bookstore), clear features (CRUD), technology constraint (TypeScript). Autopilot has enough context to expand into a full spec.

</Good>

<Good>

User: "build me a CLI tool that tracks daily habits with streak counting"

Why good: Clear product concept with a specific feature. The "build me" trigger activates autopilot.

</Good>

<Bad>

User: "fix the bug in the login page"

Why bad: This is a single focused fix, not a multi-phase project. Use direct executor delegation or ralph instead.

</Bad>

<Bad>

User: "what are some good approaches for adding caching?"

Why bad: This is an exploration/brainstorming request. Respond conversationally or use the plan skill.

</Bad>

</Examples>

<Escalation_And_Stop_Conditions>

</Escalation_And_Stop_Conditions>

<Final_Checklist>

</Final_Checklist>

<Advanced>

Configuration

Optional settings in .codex/settings.json:

{
  "omc": {
    "autopilot": {
      "maxIterations": 10,
      "maxQaCycles": 5,
      "maxValidationRounds": 3,
      "pauseAfterExpansion": false,
      "pauseAfterPlanning": false,
      "skipQa": false,
      "skipValidation": false
    }
  }
}

Resume

If autopilot was cancelled or failed, run /oh-my-codex:autopilot again to resume from where it stopped.

Best Practices for Input

  1. Be specific about the domain -- "bookstore" not "store"
  2. Mention key features -- "with CRUD", "with authentication"
  3. Specify constraints -- "using TypeScript", "with PostgreSQL"
  4. Let it run -- avoid interrupting unless truly needed

Troubleshooting

Stuck in a phase? Check TODO list for blocked tasks, review .omc/autopilot-state.json, 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.

</Advanced>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.