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.
npx skills add phuongduyphan/cc-tmux-agents --skill autopilotgit clone --depth 1 https://github.com/phuongduyphan/cc-tmux-agentsWrote 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.
[](https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/autopilot)<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/autopilot"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/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.
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/autopilot"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.03878 |
| Opus 5.5 | $0.00046 | $0.01551 |
| Sonnet 5.5 | $0.00023 | $0.00776 |
| Haiku 4.5 | $0.00012 | $0.00388 |
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 2mo 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.
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.
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.
/autopilot: autonomous subagent orchestrator
Drives a single subagent (pi / opencode / codex / cursor) toward a goal without user-driven polling. Wraps the existing dispatchers at ~/.claude/skills/<name>/bin/<name>-agent and adds two wake sources, a checkpoint protocol, and a final review gate.
This skill is the autonomous counterpart to /pi, /opencode, /codex, /cursor (which forbid auto-polling). When operating inside /autopilot, you are explicitly authorized to auto-poll those same dispatchers.
Invocation
/autopilot <pi|opencode|codex|cursor> <task description>
- First token after
/autopilotselects the subagent: one ofpi,opencode,codex,cursor. Reject anything else. - Everything after the subagent token is the task.
Session naming and files
Session: cc-<subagent>-autopilot (e.g. cc-pi-autopilot). Distinct from the user-driven cc-<subagent> sessions so the two don't collide. Pass it explicitly: <dispatcher> --session cc-<subagent>-autopilot <verb>.
Fresh session per task. If a session with this name already exists when /autopilot is invoked fresh, stop it first.
Three files per run:
| File | Purpose |
|---|---|
/tmp/cc-autopilot-<subagent>-task.md |
the full task, so the subagent can re-read it |
/tmp/cc-autopilot-<subagent>-decisions.md |
the decision log; the single artifact the user reads when they return |
/tmp/cc-autopilot-<subagent>.done |
the done-sentinel; its presence means the loop has ended |
The control flow
Every turn begins by checking the sentinel, then routing on the wake source. The full loop:
EVERY WAKE:
sentinel present? ──yes──▶ stale wake; one-line note; END turn (never restart)
│ no
▼
session absent? ──yes──▶ PHASE 1 (start), then END turn
│ no (a wake-up)
▼
route on wake source:
wait ping = idle/completion ──────────────▶ PHASE 3 (review)
wait ping = timeout (still busy) ──────────▶ re-arm wait; END turn
120s report tick ─────────────────────────▶ EVALUATE
60s permission re-check / 10-min tick ─────▶ CHECKPOINT TICK
CHECKPOINT TICK (capture pane, classify one state):
idle ──▶ PHASE 3 (review)
permission ──▶ answer prompt; schedule 60s re-check; wait stays armed; END turn
crashed ──▶ BAIL (summary, stop, set sentinel, surface)
busy ──▶ kill wait; Escape + confirm; request 3-para report;
schedule 120s tick; END turn
EVALUATE (read the report):
ground-truth with git diff; harvest DECISION lines
direction OK? ──yes──▶ send bare "continue" ──▶ RE-ARM
──no───▶ inspect myself (Read/Bash/Grep)
same blocker 2nd round? ──yes──▶ BAIL
──no───▶ send "continue" + concrete fix;
log intervention ──▶ RE-ARM
PHASE 3 REVIEW (agent idle):
git diff + run tests myself; harvest DECISION lines
good? ──yes──▶ summary to log; stop session; set sentinel; END loop (no re-arm)
──no───▶ send numbered fixes; log verdict ──▶ RE-ARM
RE-ARM: start fresh bg wait; schedule 10-min timer (subject to the one-pending-timer invariant)
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.
- 2mo ago First seen · 204 lines · 115 tokens per session scan A 6fbacb83b38f
autopilot is a skill published in the GitHub repository phuongduyphan/cc-tmux-agents (9 stars, last pushed 3mo ago), licensed MIT. It adds 115 tokens to every session and 3,878 once invoked, about $0.0005 per session on Opus 5.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-31.
autopilot compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| autopilotphuongduyphan/cc-tmux-agents | Skill | 9 | 3mo ago | MIT | A | 115 | Claude Code, Codex |
| release-announcementpaperclipai/paperclip | Skill | 114k | today | MIT | A | 42 | Claude Code, Codex |
| agent-release-swarmruvnet/ruflo | Skill | 82k | yesterday | MIT | A | 19 | Claude Code |
| index-refreshpaperclipai/paperclip | Skill | 114k | today | MIT | A | 43 | Claude Code, Codex |
| agent-v3-performance-engineerruvnet/ruflo | Skill | 82k | yesterday | MIT | A | 25 | Claude Code |
| agent-workflow-automationruvnet/ruflo | Skill | 82k | yesterday | MIT | A | 21 | Claude Code |
| agent-pagerank-analyzerruvnet/ruflo | Skill | 82k | yesterday | MIT | A | 24 | Claude Code |