autopilot

A local, always-on email agent that monitors one existing e2a inbox and acts on approved incoming messages. It is designed for bounded tasks such as customer support and can require human approval before sending email.

In plain words
What is it for?
Use it to set up inbox monitoring, define support or custom tasks, allow approved senders, establish escalation rules, and route outbound messages through human review when needed.
Why use it?
It lets an agent respond to a controlled inbox while limiting who can trigger it, what it may do, and when a person must approve a reply.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/tokencanopy/e2a/autopilot
Any agent
npx skills add tokencanopy/e2a --skill autopilot
Clone the repo
git clone --depth 1 https://github.com/tokencanopy/e2a

Made for: Claude Code, Codex.

Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,947 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00074 $0.01947
Opus 5 $0.00037 $0.00974
Sonnet 5 $0.00015 $0.00389
Haiku 4.5 $0.00007 $0.00195

Measured 2d ago against content hash 2d85db8636db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

autopilot scanned grade A with 0 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 2d ago.

The scan reads SKILL.md. This mod also ships 35 executable files (autopilot.mjs, autopilot.sh, config.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/e2a-labs/skills/autopilot/SKILL.md · 204 lines

How it starts

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

e2a Autopilot

Autopilot turns one existing e2a inbox into an always-on local agent trigger. It uses the current e2a protection and CLI surfaces; it does not require or propose server, API, database, SDK, MCP, or core-CLI changes.

Use tether instead when the owner wants to steer an already-running interactive session by email. Use a cloud webhook instead when a stable public service should own the workflow. Autopilot is the local-machine daemon: e2a listen connects outbound, so the machine does not need a public endpoint.

Required conversational behavior

Conduct onboarding as a conversation. Ask one logical question at a time, reflect material answers, explain a tradeoff before asking for a risky opt-out, and skip facts the user already supplied. Do not paste the entire questionnaire.

The interview must establish:

  1. The task outcome. Offer the built-in customer-support starter or a custom task.
  2. For support: scope, exclusions, approved knowledge, escalation conditions, tone/signature, response expectations, and refund/billing/security/legal limits.
  3. An existing e2a inbox and its human owner.
  4. One inbound authorization mode: exact sender addresses or verified sender domains. The current protection gate cannot mix both modes on one inbox.
  5. Non-matching inbound mail goes to e2a human review. Do not offer a silent bypass or “any authenticated internet sender”; the current surface cannot express the latter safely.
  6. Outbound review, default on. Turning it off requires the warning and the exact acknowledgement requested by the interview.
  7. Owner CC on every reply, default on. Turning it off requires a warned acknowledgement.
  8. Prompt-injection screening, recommended and default on. Turning it off requires a warned acknowledgement.
  9. Claude Code, Codex, Hermes Agent, or a custom executable; its absolute path, workspace, and isolation mode. (OpenClaw is unavailable in this release: its invocation flags are unverified.) Hermes and custom executables require an acknowledged external isolation boundary because Autopilot cannot verify one for them. A built-in container runner is not implemented in this release; use an explicitly reviewed custom wrapper.
  10. launchd, systemd, or foreground operation.

Read the full file on GitHub · 204 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. 2d ago First seen · 204 lines · 74 tokens per session scan A 2d85db8636db

Subscribe to this mod's changes

autopilot is a skill published in the GitHub repository tokencanopy/e2a (184 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 1,947 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

commune-email

I give you a real email inbox and let you send, receive, search, and manage email threads programmatically via the Commune API. Every inbox I create is RFC 5322 compliant — replies thread correctly in any email client, including Gmail, Apple Mail, and Outlook.

black22345/commune-cookbook · 0 tokens

commune-agent-network

Requires COMMUNEAPIKEY environment variable. Get one at commune.email.

black22345/commune-cookbook · 0 tokens

commune-sms

I give you a real phone number and let you send and receive SMS messages programmatically via the Commune API. You can send texts to any number, read conversation threads, and list all your SMS conversations — all from within your OpenClaw agent.

black22345/commune-cookbook · 0 tokens

skills

Email API for AI agents. Create inboxes, send/receive email, manage threads and webhooks.

deadsimple-email/deadsimple-email · 0 tokens

shipmail

Operate Shipmail custom-domain business email, agent inboxes, calendars, booking pages, newsletters, webhooks, and related account resources through the Shipmail MCP server. Use when the user asks to read or triage a Shipmail inbox, draft or send email, reply to a message or thread, manage a mailbox or domain, check…

shipmail-to/shipmail-mcp · 82 tokens

clawaimail

Email infrastructure for AI agents — create inboxes, send and receive real emails, search messages, manage threads. Alternative to AgentMail with MCP server, REST API, webhooks, and WebSocket streaming.

joansongjr/clawaimail · 46 tokens