autopilot

autopilot is a command for Claude Code from smrafiz/claude-supercharger. It costs 0 tokens per session (520 once invoked), scanned C, original, MIT.

A command that temporarily accepts permission requests for a coding-agent session or for all sessions on the machine. It expires automatically and still blocks listed dangerous commands.

In plain words
What is it for?
Temporarily approving routine permission requests, checking the current mode, or turning automatic approval off.
Why use it?
It reduces repeated approval prompts during a time-limited work period while retaining the described safety blocks.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the supercharger plugin — 37 commands, 10 agents, 28 hooks shipped together

Good fit Temporarily approving routine permission requests, checking the current mode, or turning automatic approval off.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add smrafiz/claude-supercharger
Claude Code
/plugin install supercharger

Made for: Claude Code.

Or install supercharger, the plugin that ships this one along with the rest of its 37 commands, 10 agents, 28 hooks.

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/smrafiz/claude-supercharger/autopilot/github.svg)](https://agentmods.dev/commands/smrafiz/claude-supercharger/autopilot)
Your own site
<a href="https://agentmods.dev/commands/smrafiz/claude-supercharger/autopilot"><img src="https://agentmods.dev/badge/commands/smrafiz/claude-supercharger/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/smrafiz/claude-supercharger/autopilot"><img src="https://agentmods.dev/badge/commands/smrafiz/claude-supercharger/autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 520 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.00000 $0.00520
Opus 5 $0.00000 $0.00260
Sonnet 5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

Measured 10d ago against content hash 466d2ab4ae0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

autopilot scanned grade C with 2 findings 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 10d 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.

While autopilot is on, Supercharger auto-approves **every** permission request so you're not prompted. It only removes the yes/no friction — the safety hooks still run, so dangerous commands (`rm -rf`, force-push, creden

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

While autopilot is on, Supercharger auto-approves **every** permission request so you're not prompted. It only removes the yes/no friction — the safety hooks still run, so dangerous commands (`rm -rf`, force-push, creden
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/autopilot.md · 26 lines

What it actually says

Time-boxed auto-approve — stop the yes/no prompts for a while. Arguments: $ARGUMENTS ( [session|global] | off | status)

While autopilot is on, Supercharger auto-approves every permission request so you're not prompted. It only removes the yes/no friction — the safety hooks still run, so dangerous commands (rm -rf, force-push, credential leaks, curl|bash, self-modification) stay blocked. It auto-expires after the duration you give it, up to a ceiling of 8 hours (a full workday, so it can't be left on forever). Ask for more than the ceiling and it's clamped to the ceiling with a loud notice — never silently. Raise or lower the ceiling with SUPERCHARGER_AUTOPILOT_MAX_HOURS=<hours>.

Scope (default is per-session):

  • session (default) — only this Claude session auto-approves; other sessions are unaffected.
  • global — every session on the machine auto-approves.

Run it (pass the argument straight through; default to status if none given):

bash ${CLAUDE_PLUGIN_ROOT}/tools/autopilot.sh $ARGUMENTS

Then report the tool's output verbatim.

  • /sc-autopilot 30m — auto-approve for 30 minutes in this session only. Accepts 30m, 2h, 90s, or a bare number (minutes).
  • /sc-autopilot 30m global — auto-approve for all sessions on the machine.
  • /sc-autopilot off — turn it off now (clears both this session's and the global window); normal prompts return.
  • /sc-autopilot status — show whether it's on (per-session and/or global) and how long is left.

Notes to surface to the user:

  • This does not disable any safety guard — only the permission prompts. rm -rf, force-push, credential leaks, etc. are still blocked by the PreToolUse hooks.
  • It ends automatically at the deadline (checked on each request — no background timer). The statusline shows a ⚡ Autopilot: Nm left indicator while it's active.
  • Different from /sc off, which disables all Supercharger guards (no safety floor). Autopilot keeps the safety floor.
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. 10d ago First seen · 26 lines · 0 tokens per session scan C 466d2ab4ae0e

Subscribe to this mod's changes

autopilot is a command published in the GitHub repository smrafiz/claude-supercharger (11 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 520 tokens. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.