agentleFS
jvalin17jvalin17/agent-toolkit/skills/autopilot/SKILL.md

autopilot

Skill2 starsChanged 31 days agoApache-2.0View on GitHub

Run the whole agent-toolkit pipeline for a task and stay in it until the gates are green: plan → TDD build → verify → precommit → commit (→ evaluate / reviewer → push). Keywords: autopilot, pipeline, end to end, hands-off, do it all, run everything, full flow, just do it

  • Commits and pushes

74 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-bugbot, rename-chat 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.
  • 0mlkrizzz655335vSkill

    review-bugbot

    缺陷导向代码审查。用 Bugbot 子代理找 bug。

    Also in 3 projects that use this

  • 0mlkrizzz655335vSkill

    rename-chat

    重命名当前聊天。按聊天内容改标题。"disable-model-invocation: true

    Also in 3 projects that use this

  • Tsumugii24Skill

    split-to-prs

    Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.

    Also in 4 projects that use this

  • PandelisZSkill

    update-cli-config

    View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

    Also in 3 projects that use this

  • 32103210Skill

    migrate-to-skills

    Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.

    Also in 3 projects that use this

  • 32103210Skill

    update-cursor-settings

    Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

    Also in 3 projects that use this

  • +1 more from 32103210
  • +1 more from 0mlkrizzz655335v

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 66 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Invoke, don't read: Run each skill through the host mechanism below so its stamp is recorded.

    line 15
  2. Distinctive:

    Keep the loop: Update the state file after every step.

    line 18

“Common” is measured: kept by at least 6 in 10 of the 66 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are the Autopilot. One invocation runs every required agent-toolkit skill for a task, in order, and you do not leave the pipeline until the gates are green. Autopilot replaces no skill: it only decides which toolkit skills run, in what order, and refuses to skip any.

Task: the user argument. The word auto in it means hands-off (see Pauses).

Hard rules

  1. Toolkit skills only. Invoke exactly these and nothing else: requirements, architecture, explore, implementation, debug_tool, verify, reviewer, evaluate, assess, precommit. No third-party skills, no ad-hoc editing between steps, no "I'll just fix this quickly".
  2. Invoke, don't read. Run each skill through the host mechanism below so its stamp is recorded. A skill you only read did not run, and the gate will say so.
  3. Push is always behind a fresh /precommit on the committed tree, even when gates.json does not require it. While autopilot is active the git gate and atk.py enforce this on every host.
  4. Never write .gates/, reports/ or gates.json. Only finalize_report.py unlocks a gate. Never lower a threshold to pass.
  5. Keep the loop. Update the state file after every step. If you catch yourself doing work that is not the current step, stop and return to it. New session or compaction: read the state file first and resume.

Host table

HostInvoke a skillStampCommit / push
Claude CodeSkill tool: /implementation <slug>automatic (hook)git commit / git push (hook-gated)
Cursor, Windsurf, Codex / GPT, Grokget_skill("<name>") via MCP, or python3 <toolkit>/scripts/toolkit_pull.py get_skill <name>; then follow itstamp_skill("<name>", project_dir) or toolkit_pull.py stamp_skill <name>git commit / git push once run_function("gate_status") is ready
Geminisame as abovesamepython3 <toolkit>/scripts/atk.py commit -m "…" / atk.py push

<toolkit> is the agent-toolkit checkout (or the project's .agent-toolkit/). The same stub, modules and finalize script run on every host; only the transport differs.

Step 0 — Resume or start

State file: .scratch/autopilot/state.json. If it exists with status running or paused, continue from the first step that is not done or skipped. Otherwise create it before any other work:

{"task": "<argument>", "kind": "build|fix|refactor", "auto": false, "status": "running",
 "steps": [{"name": "requirements", "status": "pending"}, {"name": "implementation", "status": "pending"}],
 "updated_at": "<ISO timestamp>"}

Step status: pending → done, or skipped with a reason. Set status: "paused" with a reason whenever you stop for the user, and status: "complete" at the end.

Step 1 — Classify and plan the gates

Kind: fix (bug, error, crash, broken) · refactor · build (everything else). Then run run_function("gate_status", {"project_dir": ".", "skill": "precommit"}) and read mode in gates.json: together they say what commit and push need (shared/gate-unlock.md). Write the full step list into the state file before touching code:

KindSteps
buildrequirements (skip if requirements/<slug>.md already covers it) → architecture (same rule) → explore (existing repo only) → implementation (execution plan → approval → TDD slabs) → verify → precommit → commit → push stage
fixdebug_tool (failing test → fix → suite green) → precommit → commit → push stage
refactorexplore → implementation in refactor mode → precommit → commit → push stage

Push stage (only when the user wants a push): precommit again → every push skill gate_status lists for this mode (evaluate ≥ threshold, reviewer, assess) → push. The mode adds its own push skills; autopilot adds the precommit.

Step 2 — Run the steps

For each step: invoke the skill (host table) → do everything it says → finalize_report.py for gated skills → mark done in the state file → next step. Do not summarise and wait between steps.

Two files cause re-work when wrong. Get them right the first time:

  • .scratch/execution-plan.json — written in implementation step 0d (get_module("implementation", "workflow")). Precommit finalize blocks without it once implementation has run.
  • .scratch/precommit_<slug>/findings.json — exact keys in get_module("precommit", "workflow") under "Findings schema": skill, slug, instructions{addressed,total,items}, rules{violations,items}, readme{passed,details}, tests_meaningful{result: verified|sloppy|skipped, evidence}, app_verification{status: done|pending|na, notes}, reviewer_gate{…}, summary.

Gated skills unlock only through python3 <toolkit>/hooks/finalize_report.py <skill> <findings path>: exit 0 = green, 1 = blocked (fix, rerun), 2 = findings invalid (fix the file, rerun). On a failing test or gate: fix inside the current step (for a fix task, through /debug_tool), then rerun that step.

Pauses

Interactive (default): pause exactly three times — execution-plan approval, the green precommit before git commit, and before git push. With auto: no pauses; commit when green, push only if the user asked for one. Always pause, with status: "paused" and a reason, on genuine ambiguity, the same fix failing twice, an evaluate score under 70%, or a decision that touches cost, security or external services.

Step 3 — Finish

Set status: "complete", then report: steps run (and any skipped, with the reason), reports written, gate status, commit SHA, and whether a push happened.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.