Marshal Autopilot
Let the routine questions your runs ask answer themselves, by rules you set, while everything else comes straight to you. Marshal Autopilot runs in Claude Code with the Marshal plugin. It reads each new question from your runs, decides it once against your rules, answers it as you or hands it to you, and tells a run exactly which check failed and why. You start in Shadow, where it answers nothing and shows what it would have answered, so you see your rules at work before they act.
What you can do with it
- A train of runs, without the interruptions. You launch twelve deputy runs before lunch. Autopilot in Routine picks the flow each run recommends, re-runs a check that failed on a network timeout, and resumes parked work when your deputy has room. The two questions about a spec and a merge wait for you, with a notice.
- Trust first, then hand over. You turn Autopilot on in Shadow for a week. The fleet pane lists every question with what Autopilot would have answered and the rule behind it. When the answers match yours, you switch to Routine.
- Protect what matters. You tell Claude “anything that touches billing, ask me, never auto-answer”. From then on, every question from a run whose pull request changes your billing code comes to you, in every mode.
How it works
Autopilot rides the fleet pane’s own check, every 20 seconds by default, on every Marshal server you name. When nothing is new, it does nothing at all. For each new question it works the way you would: it reads what the question is about before deciding. It can open the linked issue and its comments, the pull request with its reviews, diff and checks, the brief, spec or plan on the pull request’s branch, and the run’s state and recent output, and it can message the run that asked, for example “send the brief questions as text”. Then it decides with Claude, by your rules. The decision can only pick one of the answers the question offers, and it treats everything it reads as data, never as instructions.
When the answer depends on something still moving, such as checks that are still running or reviews still to come, Autopilot waits and decides again a few minutes later. You hear about a waiting question only when it is close to expiring.
Three things always come to you:
- Questions no rule covers.
- Questions a protect rule covers. A protect rule wins over any answer rule, whatever their order.
- The never-auto list, in every mode: taking over a run or its workspace, granting access, permissions or credentials, deploying to staging or production, cutting or publishing a release, and deleting anything.
Each answer goes through the same path as your own, as you, with a short note that says it came from Autopilot and which rule decided it. A question you have already answered is left alone, and Autopilot never answers one question twice. It never merges a pull request: when it approves a merge, the run merges.
The modes
| Kind of question | Shadow | Routine | Cruise |
|---|---|---|---|
| Pick a flow or approach the run recommends | shows what it would answer | answers with the recommendation | answers, as Routine |
| Go ahead with the run’s recommendation | shows what it would answer | answers | answers, as Routine |
| Re-run a check that failed on a flake | shows what it would answer | answers: re-run once | answers: re-run once |
| Resume or continue paused work | shows what it would answer | answers when your deputy has room | answers, as Routine |
| Approve a brief, plan or spec | shows what it would answer | asks you | answers within your rules and decisions |
| Approve a merge | shows what it would answer | asks you | answers when the merge bar is on and holds |
| Anything else | asks you | asks you | asks you |
The merge bar is yours, in your own words, such as “at least two AI agents reviewed the PR”. Autopilot checks it on the pull request’s current head before approving, and on top of it the repository’s own bar always holds: required checks pass, required reviews are given, and no review thread is open. Autopilot reads all of it with your own GitHub CLI. When your bar is not met yet, it tells the run what is missing and waits.
Watching what runs produce
While a run is running, Autopilot watches its pull requests’ checks. When the same check fails twice at the same step, Autopilot sends the run the failing step’s last log lines (up to 200 lines, with secrets such as tokens, keys and passwords removed) in a message that starts with “Autopilot:”. On the third identical failure it tells you instead. It also tells you about a running run that has gone quiet: no push, no question and no change of state for 30 minutes. In Shadow it only tells you.
Taking care of runs
In Routine and Cruise, Autopilot also looks after the runs it watches, so a batch keeps moving while you are away:
- More time. It adds two hours to a running run’s time budget, and again every 90 minutes while the run keeps working.
- Failed runs. A run that ended failed or timed out with a pull request still open is resumed once, with a note to continue that pull request rather than start over.
Each run is resumed at most once. If it fails again, it comes to you. Autopilot never stops a run: a run that has gone quiet is reported to you instead. Each of these has its own switch, and in Shadow Autopilot only writes down what it would do.
Set it up
Ask Claude in Claude Code: “set up Marshal Autopilot”. The autopilot skill shows the three modes and the never-auto list, then asks a short set of questions, each with a recommendation already chosen: which Marshal servers and runs to watch, the mode, what always comes to you, whether Cruise may approve merges and your merge bar in your own words, how to reach you (desktop notifications, and any messaging tool connected to your session, such as your Slack direct messages), and which run care to turn on. It reads the settings back to you in plain words and saves them when you agree. It starts in Shadow unless you pick another mode.
Add a rule the same way, in your own words: “re-run CI once when a check fails on a network error”. Claude turns it into a rule, reads it back in plain words, and saves it on your yes.
Use the strip
The fleet pane (/marshal-fleet) shows Autopilot at the top. It says Autopilot is on and the mode it runs in, such as · Cruise, with a moving indicator, lists the latest answers and would-be answers with their rule, and lists what waits on you. The status line under the prompt names the mode too, so you see it with the pane closed.
The keys work while the pane has the keyboard: click the pane, or press ctrl+x then tab. You can also click the buttons on the strip.
| Key | What it does |
|---|---|
p | Pause, or resume. Paused, Autopilot answers nothing, and every question reaches you as it would without Autopilot. |
s | Stop: Autopilot is off until you turn it on again with s or with Claude. Your mode is kept. |
e | Explain the selected entry: the rule in plain words, the reasoning, the mode and the question as it was asked. |
o | Open the selected entry’s run in the Marshal web app. |
Ask Claude “why did Autopilot answer that?” for the same explanation, or “show the Autopilot journal” for the full history of a run.
A train
For a batch of runs you launch together, tell Claude “start a train” and give it any decisions for that batch, such as “for this train, always keep one PR per issue”. Those decisions sit on top of your standing rules for that train only. Every answer you give a watched run during the train is added to them, and Autopilot follows your answers over its own. When the batch is done, “end the train” removes them. When every run Autopilot watched has ended, Claude offers to review their deputies with the improve-deputy skill.
Configure it
The settings live in a file only you can read, in the Marshal plugin’s data folder on the machine where Claude Code runs (~/.claude/plugins/data/marshal-marshal/autopilot/policy.yaml). The skill writes it, and you can edit it. A change applies on Autopilot’s next check.
| Setting | Default | What it does |
|---|---|---|
mode | shadow | shadow, routine or cruise. |
servers | the server the fleet pane reads | The Marshal servers Autopilot watches, by their /mcp names. Each one is read on every check and shown in its own section of the fleet pane. It never answers anywhere else. |
watch | all runs | Only these deputies or repos. |
merge_bar | false | Lets Cruise approve merges on the merge bar above. |
merge_bar_words | none | Your merge bar, in your words. Autopilot verifies it on the pull request’s head before approving a merge. |
notify.desktop | true | A desktop notification for each question that comes to you, as well as the toast and the strip. |
reach | none | Other ways to reach you, through tools your Claude Code session has: each names an MCP server, its tool and the args, with {text} where the notice goes. |
care.extend_timeouts | true | Adds time to running runs before they run out. |
care.relaunch | true | Resumes a run that failed or timed out with an open pull request, once. |
limits.answers_per_cycle | 3 (0 to 20) | Questions decided per check. The rest wait for the next check. |
limits.notify_group_over | 3 | More notices than this in one check arrive as one summary. |
limits.expiry_minutes | 10 | A question Autopilot hands you with less time than this left gets a stronger notice. |
limits.silence_minutes | 30 | How long a running run may go quiet before you hear about it. |
limits.journal_days | 30 | How long the local journal of decisions is kept. |
components | none | Named parts of a repository (repo and path globs such as services/billing/**) that rules can name. |
rules | none | Your own rules: protect (always you) or answer (with your guidance or a fixed answer), scoped by kind of question, deputy, repository, component, or words the question mentions (mentions: [billing]). |
Approvals and takeovers are answered outside the web app only when your administrator enables Agents may answer approval gates. Without it, Autopilot hands those questions to you.
Where it runs
Autopilot runs in Claude Code with the Marshal plugin, on your laptop or in an always-on session on a server. It works while that session is open. Questions that arrive while it is closed wait as usual, and Autopilot decides the ones still open, oldest first, when the session starts again. For a session nobody watches, start in Shadow.
Try it
In Claude Code with the Marshal plugin, type “set up Marshal Autopilot”, accept the recommendations, and open /marshal-fleet. The next question a run asks shows in the strip with what Autopilot would answer.