autopilot
Full autonomous execution from idea to working Android app
npxskills add merozemory/oh-my-droid--skill autopilotLoading…
Full autonomous execution from idea to working Android app
npxskills add merozemory/oh-my-droid--skill autopilotLoading…
Take a product idea or feature description and autonomously expand it into a specification, plan the implementation, execute code generation with parallel agents, run QA cycles until tests pass, and validate with multi-perspective review.
Activate via command or natural language:
/autopilot <description>
/ap <description>
Also activates on: "autopilot", "auto pilot", "autonomous", "build me", "create me", "make me", "full auto", "handle it all", "I want a/an..."
.omd/autopilot/spec.mdCheckpoint: Verify spec contains at least: functional requirements list, technical stack decision, data model outline, and API surface. If any are missing, loop Analyst and Architect until complete. If pauseAfterExpansion is true, present the spec to the user and wait for confirmation before proceeding.
.omd/autopilot/spec.md and generates a task-level implementation plan with dependency ordering and complexity labels (low/standard/high).omd/plans/autopilot-impl.mdCheckpoint: Verify plan contains: ordered task list with complexity labels, no circular dependencies flagged by Critic, and all spec requirements mapped to at least one task. If pauseAfterPlanning is true, present the plan to the user and wait for confirmation.
Route tasks from the plan to agents by complexity using Ralph (persistence) + Ultrawork (parallelism):
| Complexity | Agent | Model |
|---|---|---|
| Low | Executor-low | Haiku |
| Standard | Executor | Sonnet |
| High | Executor-high | Opus |
Each agent implements its assigned tasks, writes files, and marks tasks complete in the plan state.
Checkpoint: After all tasks complete, verify every task in .omd/plans/autopilot-impl.md is marked done. If any remain incomplete after maxIterations (default: 10), report which tasks failed and why.
Run UltraQA cycles (max maxQaCycles, default: 5):
Checkpoint: If the same error recurs 3 consecutive times, stop cycling — this indicates a design-level issue. Report the recurring error pattern and suggest the user refine requirements. Skip this phase if skipQa is true.
Run three reviewers in parallel:
Gate: All three must return APPROVE. On rejection:
maxValidationRounds (default: 3)Skip this phase if skipValidation is true.
When all phases complete successfully (validation passed), delete state files to ensure clean future sessions:
rm -f .omd/state/autopilot-state.json
rm -f .omd/state/ralph-state.json
rm -f .omd/state/ultrawork-state.json
rm -f .omd/state/ultraqa-state.json
Safeguard: Only delete state files when the final phase status is complete with all reviewers approved. Never delete state files on cancellation, failure, or partial completion — the user may want to resume.
Optional settings in .factory/settings.json:
{
"omd": {
"autopilot": {
"maxIterations": 10,
"maxQaCycles": 5,
"maxValidationRounds": 3,
"pauseAfterExpansion": false,
"pauseAfterPlanning": false,
"skipQa": false,
"skipValidation": false
}
}
}
Cancel with /cancel or by saying "stop", "cancel", "abort". State is preserved automatically.
Resume by running /autopilot again — execution continues from the last completed phase.
New project:
/autopilot A REST API for a bookstore inventory with CRUD operations, using TypeScript and PostgreSQL
Feature addition to existing codebase:
/autopilot Add user authentication with JWT tokens, refresh token rotation, and role-based access control
Enhancement:
/ap Add dark mode support with system preference detection and manual toggle persistence
| Symptom | Likely Cause | Action |
|---|---|---|
| Stuck in a phase | Blocked task or missing dependency | Check .omd/autopilot-state.json for current state, then /cancel and /autopilot to resume |
| Validation keeps failing | Requirements too vague for reviewers to verify | Cancel, add specific acceptance criteria, and restart |
| QA cycles exhausted | Same error 3 times indicates design issue | Review the error pattern in QA output; may need to refine the spec or add missing constraints |
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).