From codebrain
Use for fire-and-forget execution via Remote Control. Wraps YOLO mode with Remote Control session bridging, pre-flight checks, phone-readable pause summaries, and completion reports. Start a task at your desk, monitor and approve from your phone. Inspired by Stripe's Minions fire-and-forget pattern.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codebrain:autopilotThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fire-and-forget execution mode. Start a task at your desk, walk away, approve decisions from your phone via Remote Control.
Fire-and-forget execution mode. Start a task at your desk, walk away, approve decisions from your phone via Remote Control.
Inspired by Stripe's Minions: "An engineer sends a message, walks away, and comes back to a finished pull request."
/codebrain:autopilot <task description>
/codebrain:autopilot epic <slug> — autopilot through an entire epic
/codebrain:autopilot resume — resume a paused autopilot session
Autopilot = Remote Control + YOLO + structured handoff. It wraps the existing YOLO mode with a Remote Control session so you can monitor and make decisions from your phone.
Before starting, verify everything is ready:
.codebrain/memory/constitution.md — if missing, run /codebrain:memory reset first.codebrain/config.json — if missing, auto-detect from package.jsonlinearSync in config — if required but not connected, stop and tell usergit status — if dirty working tree, ask user to commit or stash firstIf any check fails, stop and report what needs to be fixed. Do NOT proceed with a broken setup.
If Remote Control is not already active:
/remote-control or claude --remote-control (this must be done by the user — Claude cannot start it programmatically)Name the session descriptively so it's recognizable on the phone:
Run /codebrain:yolo with the specified task or epic. All YOLO safety rails apply:
[NEEDS CLARIFICATION] markers always pause[SPEC_DEVIATION] markers always pauseWhen YOLO pauses, format the message for phone reading (short, clear, actionable):
## ⏸ Autopilot Paused
**Reason:** [NEEDS CLARIFICATION | SPEC DEVIATION | CRITICAL ISSUE | CIRCUIT BREAKER]
**What happened:**
[2-3 sentences max — what was being worked on and why it stopped]
**Decision needed:**
[Clear, specific question with numbered options]
1. [Option A — brief description]
2. [Option B — brief description]
3. Skip this and move to next ticket
**Reply with the number of your choice.**
Key formatting rules for phone readability:
When the user replies (from phone or desktop):
When YOLO completes (all tasks done or all retries exhausted):
## ✅ Autopilot Complete
**Task:** [description]
**Duration:** [time from start to finish]
**Result:** [COMPLETE | PARTIAL — N of M tasks done]
### What Was Done
- [commit 1 summary]
- [commit 2 summary]
- ...
### Verification
- Build: PASS/FAIL
- Tests: PASS/FAIL
- Lint: PASS/FAIL
### What Needs Your Attention
[List of any issues that were escalated, handoff summaries from exhausted retries]
### Linear Status
[If connected: link to project, issue count by status]
### Next Steps
- Review the commits: `git log --oneline -N`
- Run `/codebrain:review` for a thorough code review
- Run `/codebrain:launch` when ready to ship
.codebrain/memory/continuity.md with autopilot session summaryAll YOLO safety rails apply, plus:
npx claudepluginhub chrsmay/codebrain-plugin --plugin codebrainActivates full autonomous execution mode, preventing early stops until all todo tasks are verified complete. Ideal for multi-step builds, test fixes, refactors, and migrations.
Runs autonomous AI coding loop with ralph-starter: checks project state, implements tasks from specs/GitHub/Linear/Notion/Figma issues, iterates code writing/validation/commits.
Iteratively builds complex features from a PRD using subagents for fresh-context tasks, progress tracking in .claude/autopilot/progress.md, and git restore points. For migrations, MVPs, or multi-task implementations.