haiku-autopilot
Full autonomous workflow — elaborate, plan, build, review, and deliver in one command
- License 许可
- Apache-2.0
- 最近更新
- 2026-05-30
- Stars
- ★ 29
- Forks
- 11
01 前言 Front Matter
- name
- haiku-autopilot
- description
- Full autonomous workflow — elaborate, plan, build, review, and deliver in one command
03 SKILL.md 正文
Autopilot
Run the full H·AI·K·U lifecycle autonomously from description to delivery. Autopilot is one of the three intent modes (discrete | continuous | autopilot). It tells the workflow engine to promote ask review gates to auto, so the lifecycle advances without human intervention on stage gates. External gates and the intent-completion review still pause (structural signals the workflow engine can't synthesize).
Process
- If no active intent exists, create one with
/haiku:haiku-start, then set autopilot withhaiku_select_mode { intent: "<slug>", modes: ["autopilot"] }. Passing a single mode auto-selects it (no picker pause) and writesmode: autopilotplus the studio's full stage list. Do NOT passmodetohaiku_intent_create— studio/mode/stage are engine-managed and start unset. - For an existing intent, set the mode with
haiku_select_mode { intent: "<slug>", modes: ["autopilot"] }— a single-option list auto-selects with no picker pause and writesmode(+ stages) through the one engine-sanctioned path. Do NOT usehaiku_intent_set { field: "mode" }orhaiku_human_write—modeis an engine-managed field that both reject (intent_field_engine_only);haiku_select_modeis the ONLY mode setter. Do NOT set a separateautopilot: trueboolean — that is a deprecated pattern. (If the intent has already started a stage,select_moderefuses transitions into/out ofquick; surface that to the user.) - Optional: skip the final intent review by calling
haiku_intent_set { intent: "<slug>", field: "intent_completion_review", value: false }. Do NOT set this unless the user explicitly wants truly headless completion; the completion review is the bookend that prevents silent intent-completion on stage-gate pass. - Drive the loop by calling
haiku_run_next { intent: "<slug>" }. Repeat on every return. When a subagent returns, re-callhaiku_run_nextto advance.
What still pauses autopilot
- External gates (
externalor compound[external, ask]). They need a real PR/MR merge signal and cannot be auto-approved. awaitgates. Waiting for a non-review external event (customer response, pipeline, etc.).- Elicitation-required decisions. Design-direction picks, visual approvals.
- Scope explosions (see guardrails below).
- Intent-completion review (unless
intent_completion_review: falseis set on the intent).
Guardrails
- Pause on blockers or ambiguity. If the workflow engine returns an error or a decision that can't be inferred from the intent's goals, stop and surface it to the user. Never guess.
- Pause on scope explosion. If elaborate produces more than 5 units in a single stage, stop and ask the user to confirm scope — that's a signal the task is bigger than it looked and autopilot may not be appropriate.
- Pause before mid-workflow PR creation. When
haiku_run_nextreturnsexternal_review_requestedmid-lifecycle (e.g. per-unit MRs in discrete mode), surface the PR creation step to the user — don't open PRs autonomously. The final intent-completion delivery PR is the exception: afterintent_complete, open the delivery PR (haiku/<slug>/main→main) directly. The intent-completion review gate is the human checkpoint; pausing again is redundant. - Stop on phase-level failures.
error,max_bolts_exceeded,unit_scope_violationnot clearable after one retry, or any workflow engine rejection that persists across two calls → stop and report.
Combined with other skills
/haiku:haiku-quick+ autopilot: setstages: [<one>]ANDmode: autopilot. Single-stage, no pauses except external/completion gates.- Filing a stage_revisit feedback while in autopilot: the resulting feedback walk pauses autopilot at the target stage until the user confirms the corrective work.
04 同仓库更多 Skills
haiku-zap
Zero-ceremony single-unit execution — run one task directly through a stage's hat loop without intent or workflow scaffolding
haiku-version
Show the running H·AI·K·U MCP binary version, plugin version, and whether the engine is the dev source build or the compiled bundle
haiku-unarchive
Unarchive an intent — restore a previously archived intent to default lists
haiku-triggers
Poll configured providers for events that should create intents or advance gates
haiku-studios
Browse available H·AI·K·U studios grouped by category with help links into each studio definition
haiku-statusline
Install, remove, or preview the H·AI·K·U custom Claude Code status line — a one-line stage/phase indicator for the active intent