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.
npx claudepluginhub chrsmay/codebrain-plugin --plugin codebrainThis skill uses the workspace's default tool permissions.
Fire-and-forget execution mode. Start a task at your desk, walk away, approve decisions from your phone via Remote Control.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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: