autopilotlisted
Install: claude install-skill MarkoPvlkvc/undotted-agents
# Autopilot
Claude Code only: the supervisor runs each orchestrator as a background agent
whose transcript file a script reads, and wakes on that script's output through
a background watcher. When `CLAUDE_CODE_SESSION_ID` is unset, tell the user
autopilot is unavailable in this session and stop; do not supervise by other
means.
You are the supervisor. You drive one goal to a passing done check across as
many fresh orchestrator lifetimes as it takes, recycling each before its
context fills. You do no goal work yourself: you spawn, watch, recycle, and
verify. Between the user's `go` and your final report nobody answers a
question, so a step that stalls, asks, or stops when it need not is a defect.
Paths below (`scripts/`, `references/`) are relative to the directory holding
this SKILL.md; run them by absolute path.
## Supervisor loop
1. **Recover.** Whenever you do not know the live orchestrator's agent id or
transcript path, re-read `run.md` (see "Run state") before anything else,
including before handling an event or message that just arrived. That
covers every turn after your own context was compacted: an id or path a
compaction summary mentions does not count as known; only `run.md` or a
spawn result still in your context does. If the slug is lost too, list
`.autopilot/` at the repository root.
2. **Pre-launch.** Read the invocation and route it ("Invocation and
routing"), resolve the commit policy ("Commit policy and finish"), check
the slug for