Full autonomous execution from idea to working code
Full autonomous execution from idea to working code.
Autopilot is the ultimate hands-off mode. Give it a brief product idea (2-3 lines) and it handles everything:
/oh-my-claudecode:autopilot <your idea>
/oh-my-claudecode:ap "A CLI tool that tracks daily habits"
/oh-my-claudecode:autopilot Add dark mode to the app
These phrases auto-activate autopilot:
Goal: Turn vague idea into detailed spec
Agents:
Output: .omc/autopilot/spec.md
Goal: Create implementation plan from spec
Agents:
Output: .omc/plans/autopilot-impl.md
Goal: Implement the plan
Mode: Ralph + Ultrawork (persistence + parallelism)
Agents:
Goal: All tests pass
Mode: UltraQA
Cycle:
Goal: Multi-perspective approval
Agents (parallel):
Rule: All must APPROVE or issues get fixed and re-validated.
Optional settings in .claude/settings.json:
{
"omc": {
"autopilot": {
"maxIterations": 10,
"maxQaCycles": 5,
"maxValidationRounds": 3,
"pauseAfterExpansion": false,
"pauseAfterPlanning": false,
"skipQa": false,
"skipValidation": false
}
}
}
/oh-my-claudecode:cancel
Or say: "stop", "cancel", "abort"
Progress is preserved for resume.
If autopilot was cancelled or failed, just run /oh-my-claudecode:autopilot again to resume from where it stopped.
New Project:
/oh-my-claudecode:autopilot A REST API for a bookstore inventory with CRUD operations
Feature Addition:
/oh-my-claudecode:autopilot Add user authentication with JWT tokens
Enhancement:
/oh-my-claudecode:ap Add dark mode support with system preference detection
IMPORTANT: Delete ALL state files on successful completion
When autopilot reaches the complete phase (all validation passed):
# Delete autopilot and all sub-mode state files
rm -f .omc/state/autopilot-state.json
rm -f .omc/state/ralph-state.json
rm -f .omc/state/ultrawork-state.json
rm -f .omc/state/ultraqa-state.json
This ensures clean state for future sessions.
Stuck in a phase?
.omc/autopilot-state.json for stateValidation keeps failing?
QA cycles exhausted?