autopilot
Skill1 starsChanged 5 months agoMITView on GitHub
Set up or manage the autopilot daily autonomous project-driver — a system-level timer that, once a day, runs a fresh ≥30-min autorun Claude session to advance a project (features, bug fixes, refactors, design, docs) as an industrial-grade deployable product, passing review-gate, re-planning, estimating time formally, and self-healing when stuck. Use when the user wants to "set up autopilot", "auto-drive project X daily", schedule autonomous daily work, or configure/inspect the autopilot tool. Full design: docs/autopilot/README.md; the run prompt: docs/autopilot/PROMPT.md.
- Commits and pushes
38 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- yan-labs/yan-skillstheir own version, first seen Sep 29, 2026
- leek/agent-skillstheir own version, first seen Sep 27, 2026
- kimkon1011/orgiast-claude-rulestheir own version, first seen Sep 25, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Sep 22, 2026
Used with
Projects with it also use ultrawork, cancel and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zephyrpersonalSkillultrawork
Obsessive task completion mode (Sisyphus Mode) - activates maximum intensity work with todo continuation enforcement
Also in 3 projects that use this
AGMO-IncSkillcancel
Use when the user wants to stop current execution. Triggers on "취소", "중단", "그만", "cancel", "stop".
Also in 3 projects that use this
ElliotJLTSkillpipeline
Orchestration pattern for sequential, dependent tasks. When work must flow through stages where each stage depends on the previous (design → implement → test → review), structure as a pipeline with explicit handoffs. Each stage completes before the next begins.
Also in 3 projects that use this
ahilarionSkilltrace
Evidence-driven debugging with parallel hypothesis testing
Also in 3 projects that use this
nicepkgSkillteam
根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。
Also in 4 projects that use this
Dr4gon42Skillralph
Autonomous agent loop for completing features. Use when asked to 'use ralph', 'ralph this', or to autonomously implement a feature end-to-end. Creates prd.json with user stories, then executes them one by one until complete.
Also in 4 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- H-mmer/pentest-agents★ 984same name
- SethGammon/Citadel★ 922same name
- nick-vels/skills★ 401same name
- yan-labs/yan-skills★ 205same name
- nelsonwerd/idea-to-ship-skills★ 85same name
- HUA-Labs/tap★ 36same name
- saschb2b/skills★ 19same name
- ceptln/quota-burner★ 18same name
- jmylchreest/aide★ 18same name
28 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-config-adapterSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- preview-templateSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- long-running-tasksSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- task-orchestratorSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- task-relationship-analysisSkill
- tui-installerSkill
- verify-templateSkill
- verify-visualSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Write config: ~/.claude/autopilot/<proj>/config.yaml (role/scope, time, floor, model, repo).
- Very specific: line 94
Run once now (test): bash ~/.claude/autopilot/bin/run.sh <proj>
“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
autopilot — intake & setup
You configure and install the autopilot daily autonomous project-driver. This skill is
self-contained: the per-run prompt is PROMPT.md and all scripts are under scripts/, both bundled
beside this file (so the live copy under ~/.claude/skills/autopilot/ runs without the source repo).
Full design + every sub-tool spec: docs/autopilot/README.md in the agent-harness repo.
Modes (how the user invokes you)
/autopilot setup <proj>(or "用 autopilot 跑 …") — the intake below: ask, confirm, install timers, record THIS session as the project's home session, then arm the daily in-session cron and offer to run once now. This is the default when no project is configured yet./autopilot run <proj>— run the directive right now, in this session (visible, in context): readPROMPT.md+ the plan docs and execute until the ≥30-min floor. No new session, noclaude -p./autopilot status <proj>— read~/.claude/autopilot/<proj>/cron_state.json+ the newestruns/log + the latestdaily-runs/<date>.md, and report plainly, with clickable links, what the last run did and whether the daily cron is armed/healthy./autopilot skip <proj>(or "跳过今晚 / 暂停 X 的定时任务") — skip the scheduled run without unarming anything. Runbash ~/.claude/autopilot/bin/skip.sh <proj> today(skip today, resume tomorrow),... until <YYYY-MM-DD>(skip until a date),... resume(un-skip now), or... status. It writespaused_untilintocron_state.json;cycle_status.pythen reports the covered cycles as complete+skipped, so a fired run self-skips at PROMPT step 0, the idempotent guard skips, and the watchdog does NOT try to recover them — the cron can stay armed, and it auto-resumes on the date.
The daily run is an in-session cron (you arm it with CronCreate), NOT a hidden headless claude -p.
It lives in the user's always-open, phone-remote-controlled session so they can watch it.
Intake flow (do this in order)
- Ask the user for:
- Long-term work / requirements — what should autopilot drive (the
[ROLE & SCOPE]block ofPROMPT.md)? - Daily auto-run time (e.g.
03:00). - Minimum duration per run (default 30 min, no upper cap).
- Project path (repo root) and model (default the session model).
- Long-term work / requirements — what should autopilot drive (the
- Summarize the inputs back and ask for explicit confirmation — restate everything you captured so there is no misreading. Wait for a clear "yes" before installing.
- Offer optimization suggestions — based on the project + the design doc, propose improvements (e.g. better run time to avoid peak hours, scoping the first MVP, enabling the STRICT review layer, watchdog interval) and ask whether to accept each.
- On confirm, install:
- Write config:
~/.claude/autopilot/<proj>/config.yaml(role/scope, time, floor, model, repo). - Seed the plan root under the project's
docs/<plan-root>/(per the neobanker structure) if absent. - Install support timers:
bash scripts/install.sh <proj>→ systemd--userunitsautopilot-watch(failed/empty-run detector),autopilot-summary, and the globalautopilot-resurrect(every 30 min, relaunches the home session in tmux after a crash/reboot — needstmux). - Arm the daily in-session cron + record the home session. With
CronCreate, create a recurring durable cron (schedule from the run time, e.g.0 22 * * *). Cron prompt: "autopilot daily run for [<proj>]: FIRST runpython3 ~/.claude/skills/autopilot/scripts/update_check.py <proj>(cheap, code-only) — if it printsUPDATED, re-runscripts/install.sh <proj>and re-arm this cron with the latest config (refreshingconfigured_with_version) BEFORE working; then read ~/.claude/skills/autopilot/PROMPT.md and execute the directive for<proj>now." Write~/.claude/autopilot/<proj>/cron_state.jsonwithhome_session_id= THIS session's id,cron_id,last_armed= today,schedule, andconfigured_with_version= the contents of~/.claude/skills/autopilot/VERSION(soupdate_check.pycan detect a later autopilot update cheaply). (The SessionStart hook re-arms it after restarts; you self-renew before day 6 to dodge the 7-dayCronCreatecap — see<resilience>in PROMPT.md.) - Confirm with
systemctl --user list-timers 'autopilot-*'andCronList. - Review-gate scope (ask — review-gate gates git, see
hooks/review-gate/):- (once, only if
~/.claude/hooks/review-gate/review-gate.confis absent) — "Also blockgit commit? Default no: commits stay free (the AI review at Stop still runs and surfaces findings, it just won't block committing); yes denies commits the same NON-FATAL way as push." Writeblock_commit=0|1to that conf. - (this project) — "Add this project to the push-whitelist?
git push/gh pr create|mergeare blocked by default (the autopilot red-line is never push anyway); whitelist only a code project you actually intend to push from. Pure-docs / low-impact → recommend leaving it blocked." If yes, append the repo root path to~/.claude/hooks/review-gate/push-whitelist.txt. A block is non-fatal — the agent keeps working, it just can't push.
- (once, only if
- Write config:
- Offer the first planning pass NOW (ask y/n). The first timer fire may be hours away, so ask:
"Do the first planning pass now?" If yes, do it in this session — run the
<startup_sequence>Perceive step (read the project's docs + code + recentgit log), CREATE the long-term plan under the plan root (docs/<plan-root>/planning/), then present the first-run contract output: a markdown-table overview of the plan (one row per phase/MVP — goal · effort estimate · status) and a clickable link to the full plan doc, so the user can approve the whole plan at a glance. If no, the first timer fire produces the same table + link unattended.
What it then does (autonomously, no human input)
The daily run happens IN the user's always-open session (not a hidden claude -p). The in-session
cron you armed fires daily and runs the PROMPT.md directive until the ≥30-min floor (floor.py),
committing each increment (review-gate-passed), re-planning, updating time estimates, writing the per-run
doc, and posting a plain-language, fully-linked summary — all visible to the user (and on their phone
via remote-control). Resilience is three layers: (1) the in-session cron = the run; (2) the SessionStart
hook (session_check.sh) re-arms the cron after any restart and surfaces an unshown failed run, plus
your >5-day self-renew dodges the 7-day cron cap; (3) the global resurrector (resurrect.sh,
every 30 min) relaunches the home session in tmux if the machine rebooted or the session crashed. The
watchdog (watch.py) flags any run that ended without meeting the floor (last-error newer than
last-done), so a silent empty run never passes as success. (The headless run.sh stays in scripts/
as an optional fallback for users with no always-open session.)
Manage
- Pause:
systemctl --user disable --now autopilot-daily.timer - Status:
systemctl --user list-timers 'autopilot-*'· run-state under~/.claude/autopilot/<proj>/ - Run once now (test):
bash ~/.claude/autopilot/bin/run.sh <proj>
Guarantees it relies on
review-gate (mandatory on every code turn) · code discipline (minimal module/change/impact, modular, tests + commits + docs, git per increment) · agent-harness skills + Chrome/visual tools as needed · system-level crash-proofing (systemd Persistent + watchdog).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

