autopilot

autopilot is a command for Claude Code from damusix/atomic-claude. It costs 51 tokens per session (685 once invoked), scanned C, original, MIT.

An end-to-end workflow for delivering a coding task with minimal user input: plan it, have separate agents implement and review it, then prepare it for shipping. An agent is an automated worker given a focused part of the task.

In plain words
What is it for?
Use it for autonomous feature delivery from a task description or issue number, including planning, implementation, review, committing, pushing, pull requests, or merging.
Why use it?
It coordinates the repeated implementation-and-review cycle and requires reviewer findings to be addressed before moving on. The user only chooses how the finished changes should be merged unless a merge option was supplied.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Good fit Use it for autonomous feature delivery from a task description or issue number, including planning, implementation, review, committing, pushing, pull requests, or merging.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/damusix/atomic-claude/autopilot
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/damusix/atomic-claude

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autopilot

README.md
[![agentmods](https://agentmods.dev/badge/commands/damusix/atomic-claude/autopilot/github.svg)](https://agentmods.dev/commands/damusix/atomic-claude/autopilot)
Your own site
<a href="https://agentmods.dev/commands/damusix/atomic-claude/autopilot"><img src="https://agentmods.dev/badge/commands/damusix/atomic-claude/autopilot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autopilot

Your own site · 80×15
<a href="https://agentmods.dev/commands/damusix/atomic-claude/autopilot"><img src="https://agentmods.dev/badge/commands/damusix/atomic-claude/autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 685 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00685
Opus 5.5 $0.00020 $0.00274
Sonnet 5.5 $0.00010 $0.00137
Haiku 4.5 $0.00005 $0.00068

Measured 12d ago against content hash 587d02395581, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

autopilot scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Extend the finalize report with strategist dispatches and their findings, judgment calls from `STATE.md`, and the merge result. Then `rm -rf tmp/trash`, the one expected permission prompt; if permission is not granted, l
context/commands/autopilot.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You run the whole lifecycle without input, except how to merge. $ARGUMENTS: <task | issue#> [commit | commit push | commit pr | commit merge | commit squash | commit squash merge].

Policy

Setting Value
Writer atomic-implementer
Entry none; you plan it
Worktree auto
Stuck auto
Non-blockers fix-all: every 🟡 and 🔵 goes into the next dispatch; the ledger ends empty
Finalize verify, docs, audit, log, signals, report
Scratchpad purpose implement
Ship the merge verb from $ARGUMENTS, else ask once

The ship gate is the only interactive question in the run. Anything else that would prompt becomes a judgment call recorded in STATE.md; a true blocker halts and surfaces.

Scratch hygiene

rm and chained commands (&&, ;) trigger permission prompts that stall an unattended run. mkdir -p tmp/trash once; move scratch there instead of deleting; one command per Bash call. Every implementer brief includes: Discard scratch by moving it to tmp/trash/; never rm; do not chain shell commands. Deletion happens once, in Ship.

Resolve

An issue reference (N, #N, or a tracker key such as ENG-123): {{ template "resolved-provider" "issue-tracker" }} The issue the issue-view operation returns (title, body, labels) is the task. Derive the topic slug. Note the merge verb.

Plan

Follow /atomic-plan's discipline with no approval gate: trivial → inline spec; otherwise docs/design/<topic>.md and docs/spec/<topic>.md. Verify assumptions against primary sources now; you cannot ask later. The spec body stays current before every dispatch: revise it and log the change; leave no superseded content. A subagent that writes the spec or design is briefed to follow rules/specs/spec-currency.md.

{{ template "worktree-setup" . }}

{{ template "implement-loop" . }}

{{ template "loop-finalize" . }}

Ship

Run the merge verb from $ARGUMENTS. Without one, ask:

<topic> is built, reviewed, and green. How should it ship?
/commit | /commit push | /commit squash merge | /commit merge | /commit pr

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · +51 tokens per session 587d02395581
  2. 2mo ago Changed · -89 lines a52ea0c777f9
  3. 3mo ago First seen · 143 lines · 0 tokens per session scan C 445df1797126

Subscribe to this mod's changes

autopilot is a command published in the GitHub repository damusix/atomic-claude (117 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 685 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

autopilot compared with commands from other repositories

autopilot next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autopilotdamusix/atomic-claudeCommand117yesterdayMITC51Claude Code
agentloop-audit-dashboardalibaba/loongsuite-pilotCommand271todayApache-2.0A21Claude Code
agentloop-audit-queryalibaba/loongsuite-pilotCommand271todayApache-2.0A20Claude Code
add-agentivan-magda/claude-code-plugin-templateCommand725mo agoMITA12Claude Code
add-commandivan-magda/claude-code-plugin-templateCommand725mo agoMITA9Claude Code
add-skillivan-magda/claude-code-plugin-templateCommand725mo agoMITA11Claude Code
initivan-magda/claude-code-plugin-templateCommand725mo agoMITA13Claude Code