Autopilot

From SethGammon/Citadel · View interactive version

Autopilot is an AI agent skill from the GitHub repository SethGammon/Citadel. Intake-to-delivery pipeline. Processes pending items from .planning/intake/: briefs new ideas, executes approved work through research → plan → build → verify. Drop a file in .planning/intake/ and invoke this skill.

How to use this skill

Skill file

/autopilot — Intake Pipeline

Orientation

Use Autopilot when:

Do NOT use Autopilot for:

Protocol

Step 0: DELIVERY PREFLIGHT

When the user names a specific intake file or asks for "intake to PR", prefer

the deterministic delivery preflight before freeform build work:

node scripts/deliver.js --intake .planning/intake/{item}.md

If no specific intake file is named, use:

node scripts/deliver.js --next

This selects the highest-priority pending item in .planning/intake/ and keeps

the golden path deterministic.

This creates an active campaign with claimed scope, acceptance criteria, map

context, and exit evidence rows, then marks the intake item in-progress.

Continue from the created campaign with /do continue.

After build and verification, package the delivery before marking the campaign

complete:

node scripts/package-delivery.js {campaign-slug}

If a PR exists, record the PR as the review target:

node scripts/package-delivery.js {campaign-slug} --pr https://github.com/{owner}/{repo}/pull/{number}

Step 1: SCAN

Read all files in .planning/intake/ and identify:

Step 2: BRIEF (for pending items)

For each pending item:

  1. Read the intake file
  2. Read related files mentioned in the description
  3. Research the scope: what files exist, what patterns are established
  4. Write the brief:
  1. Update the item's status to briefed

Step 3: BUILD (for briefed/approved items)

For each briefed item (smallest first):

  1. Read the brief
  2. Execute the approach:
  1. Verify:
  1. Update status to completed

Step 4: REPORT

Output a summary of what was processed:

Autopilot processed {N} items:
  ✓ {item-1}: briefed → built → verified
  ✓ {item-2}: briefed
  ✗ {item-3}: blocked — {reason}

Intake Item Format

---
title: "Feature Name"
status: pending | briefed | approved | in-progress | completed
priority: normal | high
target: src/path/to/affected/area/
---

Description of what needs to be done...

Fringe Cases

Contextual Gates

Disclosure: "Processing intake queue: N items pending. Will dispatch skills per item."

Reversibility: amber — processes intake items by dispatching other skills that may modify files; undo depends on dispatched skills

Trust gates:

Quality Gates

Exit Protocol

---HANDOFF---
- Processed {N} intake items
- Built: {list of completed items}
- Blocked: {list with reasons}
- Remaining: {count of items still pending}
---
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.