Установка
SKILL.md
<Use_When>
- User wants end-to-end autonomous execution from an idea to working code
- User says "autopilot", "auto pilot", "autonomous", "build me", "create me", "make me", "full auto", "handle it all", or "I want a/an..."
- Task requires multiple phases: planning, coding, testing, and validation
- User wants hands-off execution and is willing to let the system run to completion </Use_When>
<Do_Not_Use_When>
- User wants to explore options or brainstorm -- use
planskill instead - User says "just explain", "draft only", or "what would you suggest" -- respond conversationally
- User wants a single focused code change -- use
ralphor delegate to an executor agent - User wants to review or critique an existing plan -- use
plan --review - Task is a quick fix or small bug -- use direct executor delegation </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>
- Each phase must complete before the next begins
- Parallel execution is used within phases where possible (Phase 2 and Phase 4)
- QA cycles repeat up to 5 times; if the same error persists 3 times, stop and report the fundamental issue
- Validation requires approval from all reviewers; rejected items get fixed and re-validated
- Cancel with
/oh-my-claudecode:cancelat any time; progress is preserved for resume </Execution_Policy>
<Workflow_Profiles>
Named stage profiles (v1)
Select a configured profile only with /autopilot --workflow <name> <task>. A profile is an autopilot-owned stage schedule, not a command, mode, plugin, filename, or separate state identity. Without --workflow, autopilot retains its legacy lifecycle and behavior.
Named workflow profiles require Linux with the flock utility in v1 because their transcript evidence boundary uses Linux no-follow file-descriptor traversal and their recoverable mutation lock uses kernel advisory locking. Unsupported environments reject explicit --workflow activation before state mutation; use legacy autopilot instead.
Profiles are configured in project or user JSONC as autopilot.workflows.<slug>. Every v1 profile has exactly version: 1 and stages; no other profile keys are accepted. The only admitted stage sequences are:
{
"autopilot": {
"workflows": {
"plan-build-qa": {
"version": 1,
"stages": ["ralplan", "execution", "qa"]
}
}
}
}
[ralplan, execution]
[ralplan, execution, ralph]
[ralplan, execution, qa]
[ralplan, execution, ralph, qa]
ralplan creates the plan consumed by execution; execution creates the implemented workspace required by ralph and qa. Thus omitted or reordered prerequisites, duplicate stages, and non-built-in stages are invalid. Profile names use ^[a-z][a-z0-9-]{0,62}$, are validated metadata only, and cannot collide with built-in stages, autopilot/mode names, or deprecated aliases.
User and project configuration sources are each validated before composition. Different names coexist; a project profile with the same name replaces the complete user profile rather than deep-merging it. Environment configuration cannot define or replace profiles.
On successful selection, autopilot atomically creates its existing session-scoped state with an immutable normalized descriptor and selected-only pipeline tracking. The descriptor contains the workflow name, profile version, canonical stages, and a deterministic SHA-256 profile hash; it excludes task text and mutable progress. Resume and Stop verify that hash and refuse a mismatch without reloading configuration or emitting a stage prompt. Cancel, resume, cleanup, state inspection, HUD, and Stop continuation remain owned by autopilot.
The installed plugin and standalone-installed Stop hooks advance only after an authorized assistant completion record for the active stage appears after that stage's persisted activation transcript boundary. They bind evidence to the owner session and bounded, non-symlink transcript; reject user/tool/local-command output and stale or wrong-stage evidence; and use compare-before-write tracking updates so duplicate or concurrent Stop events advance exactly once. Public state, HUD, and Stop output show only safe workflow metadata and progress, never the task, descriptor internals, transcript references, offsets, or record hashes.
V1 deferrals
V1 does not support stageModels, model routing, provider or role selection; inline/no-spawn execution; dynamic commands, modes, or state files; arbitrary stages, prompts, plugins, branches, loops, DAGs, or callbacks; or environment-defined profile definitions. The separate custom-skill inline-array frontmatter parser mismatch is also deferred.
</Workflow_Profiles>
-
Phase 1 - Planning: Create an implementation plan from the spec
- If ralplan consensus plan exists: Skip — already done in the 3-stage pipeline
- Architect (Opus): Create plan (direct mode, no interview)
- Critic (Opus): Validate plan
- Output:
.omc/plans/autopilot-impl.md
-
Phase 2 - Execution: Implement the plan using Ralph + Ultrawork
- Executor (Haiku): Simple tasks
- Executor (Sonnet): Standard tasks
- Executor (Opus): Complex tasks
- Run independent tasks in parallel
-
Phase 3 - QA: Cycle until all tests pass (UltraQA mode)
- Build, lint, test, fix failures
- Repeat up to 5 cycles
- Stop early if the same error repeats 3 times (indicates a fundamental issue)
-
Phase 4 - Validation: Multi-perspective review in parallel
- Architect: Functional completeness
- Security-reviewer: Vulnerability check
- Code-reviewer: Quality review
- All must approve; fix and re-validate on rejection
-
Phase 5 - Cleanup: Delete all state files on successful completion
- Remove
.omc/state/autopilot-state.json,ralph-state.json,ultrawork-state.json,ultraqa-state.json - Run
/oh-my-claudecode:cancelfor clean exit<!-- --> <!-- --></Steps><!-- -->
- Remove
<Tool_Usage>
- Use
Task(subagent_type="oh-my-claudecode:architect", ...)for Phase 4 architecture validation - Use
Task(subagent_type="oh-my-claudecode:security-reviewer", ...)for Phase 4 security review - Use
Task(subagent_type="oh-my-claudecode:code-reviewer", ...)for Phase 4 quality review - Agents form their own analysis first, then spawn Claude Task agents for cross-validation
- Never block on external tools; proceed with available agents if delegation fails </Tool_Usage>
<Escalation_And_Stop_Conditions>
- Stop and report when the same QA error persists across 3 cycles (fundamental issue requiring human input)
- Stop and report when validation keeps failing after 3 re-validation rounds
- Stop when the user says "stop", "cancel", or "abort"
- If requirements were too vague and expansion produces an unclear spec, offer redirect to
/deep-interviewfor Socratic clarification, or pause and ask the user for clarification before proceeding </Escalation_And_Stop_Conditions>
<Final_Checklist>
- <!-- -->All 5 phases completed (Expansion, Planning, Execution, QA, Validation)
- <!-- -->All validators approved in Phase 4
- <!-- -->Tests pass (verified with fresh test run output)
- <!-- -->Build succeeds (verified with fresh build output)
- <!-- -->State files cleaned up
- <!-- -->User informed of completion with summary of what was built </Final_Checklist>
Parallel session caveats
- Multi-repo workspace anchor: drop a
.omc-workspacemarker at the parent directory so multiple sessions across sub-repos share one.omc/. Resolution order:OMC_STATE_DIR > .omc-workspace > git > cwd. Seedocs/REFERENCE.md. - Session id source: OMC_SESSION_ID env var wins in CLI contexts; hook payload data.session_id wins in hook contexts.
- Plan id (when applicable): Autopilot state is session-scoped. Two autopilots in the same workspace require distinct session IDs.
- Parallel verdict: supported (session-scoped state)
Optional settings in .claude/omc.jsonc (project) or ~/.config/claude-omc/config.jsonc (user):
{
"autopilot": {
"maxIterations": 10,
"maxQaCycles": 5,
"maxValidationRounds": 3,
"pauseAfterExpansion": false,
"pauseAfterPlanning": false,
"skipQa": false,
"skipValidation": false,
"execution": "solo"
}
}
To run autopilot implementation through the tmux CLI team runtime and prefer Cursor executor workers:
{
"autopilot": {
"execution": "team",
"team": { "agentTypes": ["cursor"] }
}
}
With that config, the execution stage must launch executor-style work through:
omc team 1:cursor "<implementation task>"
or the Claude Code slash compatibility surface:
/omc-teams 1:cursor "<implementation task>"
Limitations:
- Cursor workers are executor-style only: implementation, file edits, build/test fixes, and other plan execution tasks.
- Keep reviewer, critic, security-review, validation verdict, and final approval roles on native Claude/OMC reviewer agents unless explicit safe support is added later.
- Cursor requires the
cursor-agentCLI to be installed and authenticated. Ifcursor-agentis unavailable, report that setup requirement instead of silently falling back to Claude-only execution.
Resume
If autopilot was cancelled or failed, run /oh-my-claudecode:autopilot again to resume from where it stopped.
Best Practices for Input
- Be specific about the domain -- "bookstore" not "store"
- Укажите ключевые особенности -- "с CRUD", "с аутентификацией"
- Укажите ограничения -- "используя TypeScript", "с PostgreSQL"
- Позвольте ему работать -- избегайте прерываний, если в этом нет реальной необходимости
Устранение неполадок
Застряли на каком-то этапе? Проверьте список TODO на наличие заблокированных задач, просмотрите .omc/autopilot-state.json, или отмените и возобновите.
Циклы QA исчерпаны? Одна и та же ошибка 3 раза указывает на фундаментальную проблему. Изучите паттерн ошибки; может потребоваться ручное вмешательство.
Валидация продолжает завершаться неудачей? Изучите конкретные проблемы. Требования могли быть слишком расплывчатыми -- отмените и предоставьте больше деталей.
Интеграция с глубоким интервью
Когда autopilot вызывается с расплывчатым вводом, Phase 0 может перенаправить на /deep-interview для сократического уточнения:
User: "autopilot build me something cool"
Autopilot: "Your request is open-ended. Would you like to run a deep interview first?"
[Yes, interview first (Recommended)] [No, expand directly]
Если спецификация глубокого интервью уже существует в .omc/specs/deep-interview-*.md, autopilot использует её напрямую как вывод Phase 0 (спецификация уже была математически проверена на ясность).
3-этапный конвейер: deep-interview → ralplan → autopilot
Рекомендуемый полный конвейер объединяет три этапа контроля качества:
/deep-interview "vague idea"
→ Socratic Q&A → spec (ambiguity ≤ 20%)
→ /ralplan --direct → consensus plan (Planner/Architect/Critic approved)
→ /autopilot → skips Phase 0+1, starts at Phase 2 (Execution)
Когда autopilot обнаруживает консенсусный план ralplan (.omc/plans/ralplan-*.md or .omc/plans/consensus-*.md), он пропускает как Phase 0 (Expansion), так и Phase 1 (Planning), поскольку план уже был:
- Проверен на соответствие требованиям (этап проверки неоднозначности deep-interview)
- Проверен с точки зрения архитектуры (агент Architect в ralplan)
- Проверен на качество (агент Critic в ralplan)
Autopilot начинает непосредственно с Phase 2 (Execution via Ralph + Ultrawork). <!-- --></Advanced>
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: cancel-autopilot](https://darkplay.ru/ai/skills/yeachan-heo-oh-my-claudecode-cancel-autopilot)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
ruflo-autopilotruvnet · Автономное выполнение задач на основе /loop с обучением, прогнозированием и отслеживанием…
commercial-legalanthropics · Проверяет договоры с поставщиками, NDA и подписки SaaS по вашему плейбуку закупок или…
aomi-buildanthropics · Для сборки агентов, размещаемых в Aomi Labs. Приложение Aomi — это Rust API-клиент под…
cckanthropics · Автопилот для корейского языка в Claude Code: распознаёт намерение и сам выполняет нужную…
claude-codex-loopanthropics · Организует цикл сотрудничества Claude Code (дизайн/ревью) и OpenAI Codex…
indian-ip-draftinganthropics · Для адвокатов по интеллектуальной собственности в судах Индии — отделениях IP Rights…
jobpilotanthropics · Автоматизация поиска работы в Claude Code: поиск вакансий, оценка соответствия резюме…
nanostackanthropics · Навыки AI-агента для полного инженерного цикла: уточнение задачи, планирование, контроль…
parallaxanthropics · Автопилот для долгих сложных задач в Claude Code: добавьте `parallaxthink` к промпту, и в…
pixanthropics · Сборка фронтенда на автопилоте: пиксельно точный перенос дизайна из Figma в код с…Лучшие ИИ-инструменты для программирования
Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные
GenAPIGenapi
Notepad++ AINotepad-plus-plus
Creatium MaxCremax
Emacs AIGnu
KiteKite
Amazon Q DeveloperAmazonЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachat