speckit-autopilot

speckit-autopilot is a skill for Claude Code, Codex from racecraft-lab/racecraft-plugins-public. It costs 212 tokens per session (8,859 once invoked), scanned C, original, MIT.

An autonomous workflow runner for SpecKit, a method for turning a software idea into a written specification, plan, task list, and implementation. It reads a prepared workflow file and runs its seven stages.

In plain words
What is it for?
It is for running a complete SpecKit software-development workflow from an existing workflow file, including specification, planning, task creation, analysis, and implementation.
Why use it?
It removes the need to start each planning and implementation stage manually. It also checks stage requirements, resolves disagreements between agents, and commits results automatically.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Part of the speckit-pro plugin — 12 skills, 14 agents, 4 hooks, 1 MCP server shipped together

Good fit It is for running a complete SpecKit software-development workflow from an existing workflow file, including specification, planning, task creation, analysis, and implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/racecraft-lab/racecraft-plugins-public/speckit-autopilot
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.

Any agent
npx skills add racecraft-lab/racecraft-plugins-public --skill speckit-autopilot
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-public

Made for: Claude Code, Codex.

Or install speckit-pro, the plugin that ships this one along with the rest of its 12 skills, 14 agents, 4 hooks, 1 MCP server.

Wrote 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.

agentmods badge for speckit-autopilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/speckit-autopilot/github.svg)](https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-autopilot)
Your own site
<a href="https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-autopilot"><img src="https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/speckit-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.

agentmods 80×15 button for speckit-autopilot

Your own site · 80×15
<a href="https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-autopilot"><img src="https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/speckit-autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,859 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00212 $0.08859
Opus 5 $0.00106 $0.04430
Sonnet 5 $0.00042 $0.01772
Haiku 4.5 $0.00021 $0.00886

Measured today against content hash b7d816c7ea08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

speckit-autopilot scanned grade C with 1 finding 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 today.

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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

for latency-sensitive prep. Those pins only constrain worker effort and never refuse to run. The operator owns the session setting; the plugin does not veto
speckit-pro/codex-skills/speckit-autopilot/SKILL.md · 678 lines

How it starts

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

SpecKit Autopilot — Autonomous Execution Engine

Installed Runtime Contract

Installed Claude and Codex surfaces resolve Python 3.11 or newer, invoke [resolved_python, "-m", "speckit_pro_runner"], send one JSON request on stdin, read one JSON response from stdout, and surface stderr diagnostics. Do not add a shell fallback, jq parsing path, Git Bash, WSL, or PowerShell-specific command-language requirement for installed workflows.

Scope

This skill handles autonomous workflow EXECUTION. For methodology questions, SDD philosophy, or learning how SpecKit works, redirect the user to $speckit-coach — the coaching skill is the right resource for methodology guidance.

You are an orchestrator for SpecKit workflows. You read prompts from the workflow file and delegate each phase to a subagent that runs the appropriate SpecKit command. You never run the commands yourself — you spawn, collect results, validate gates, and advance through every phase in the resolved AUTOPILOT_STAGE. A --stage plan run stops at its stage boundary; full covers all seven phases.

Architectural Constraint — Main Agent Is The Orchestrator

This skill loads into the main Codex session agent, which owns all phase and lifecycle dispatch. Phase workers are terminal workers and must not orchestrate later phases. If this skill is loaded inside a subagent context, refuse and surface the violation. Discover the current host's actual collaboration capabilities below; do not infer architecture from a universal nesting limit.

Codex Runtime Contract

This Codex variant is a concrete tool contract, not advisory prose. Bind the workflow to actual Codex primitives:

  • update_plan is REQUIRED before Phase 1 and after every phase transition. If the call fails or is skipped, STOP.
  • Discover the callable collaboration actions before dispatch and select the semantic equivalents that the current Codex surface actually exposes. spawn_agent plus wait_agent and delivery of the agent's result are the REQUIRED common contract. Hosted Responses Multi-agent provides spawn_agent, send_message, followup_task, wait_agent, interrupt_agent, and list_agents; it does not expose close_agent. Other Codex surfaces can expose equivalents such as send_input, resume_agent, or close_agent. On hosted Responses, send_message queues context and followup_task assigns work and starts the next turn. On a surface with send_input, use it to deliver follow-up work to an open agent; if that agent was explicitly closed, call resume_agent first and then send_input. Inspection, interruption, and explicit closure are optional actions used only when present. Hard-stop only if spawning or receiving the required result is unavailable — absence of close_agent is NOT a prerequisite failure. See the official Responses Multi-agent action contract and Codex subagent orchestration guidance, plus the local configuration reference.
  • The REQUIRED lifecycle on every surface is spawn_agent → bounded wait_agent loop → consume the dispatched agent's actual final result. A hosted wait_agent call can wake for an ordinary message, unrelated mailbox update, timeout, or steering event, so associate updates with the dispatched sender/task and keep waiting until its FINAL_ANSWER or equivalent summary is consumed. A terminal status is corroboration or recovery evidence only; it never replaces the required result. If an agent is terminal without a delivered result, drain the mailbox and then re-spawn or fail that item.
  • When close_agent is exposed, call it promptly after consuming the result. Cleanup policy is best-effort: if the surface reports the agent already gone, log it and continue without retry-looping. When close_agent is absent, consume the result and leave the inspectable thread to the host; optionally reuse it with the available follow-up action.
  • On resume, never assume an older agent still exists. If list_agents is available, match returned current-tree entries to the workflow target and current incomplete plan item's canonical task name/prompt; manage or reuse only agents confirmed present and owned by this autopilot run. Without inspection, treat prior-session agent references as stale and spawn fresh. Apply explicit closure only to run-owned agents confirmed present, including a reconciled agent that was spawned before the interruption.
  • Derive subagent_slots from the current session without mixing surface conventions: use explicit max_concurrent_subagents when provided; when the host advertises total active agents including /root, subtract one; when a local surface advertises an open-thread cap, follow that surface's stated semantics. If no count is exposed, set subagent_slots = 1 as the safe fallback. For wider fan-out, dispatch in waves of at most subagent_slots, consume each required result, perform optional closure when exposed, then start the next queued item. Never hard-code one surface's default as another surface's cap.
  • A wait_agent timeout is one bounded mailbox poll, not proof that an agent is stuck. Continue bounded waits and inspect status/progress when possible. Use interrupt_agent only after a separate execution deadline or confirmed no-progress condition, and only to cancel a still-running turn; it preserves context and is not closure. Any interrupted required item must be re-spawned and return a real result before its plan item can complete.
  • Before reporting the run complete, use list_agents when exposed; otherwise audit the tracked dispatch IDs and consumed results. Every required dispatch must have a consumed result. Close remaining current-run threads best-effort only when close_agent is exposed. Hosted completed threads are host-managed and do not block completion.
  • autopilot-fast-helper is OPTIONAL. Only the main autopilot may invoke it, and only for tiny text-only compression, triage, or query-drafting work. Never route edits, gate decisions, or consensus votes through it.
  • Use the current surface's exposed read, search, command, and edit equivalents for workflow parsing, validation, and artifact mutation.
  • Persist orchestration state to autopilot-state.json in the same directory as the workflow file. Resume reads that file first, then reconciles with the workflow file.
  • This skill owns ./agents/openai.yaml as Codex skill metadata for UI appearance and invocation policy. Optional research/context capabilities are discovered at runtime, so the sidecar MUST NOT declare Tavily, Context7, or any other optional capability as a required tool dependency. Do not treat that sidecar as a custom-agent manifest.
  • SpecKit Pro also ships bundled custom-agent templates under ../../codex-agents/. Those bundled TOML files are package assets, not runtime registrations.
  • Custom executor and consensus agents must be installed as real Codex subagents under .codex/agents/ (project scope) or ~/.codex/agents/ (user scope). The bundled install skill copies the plugin templates into those official Codex runtime paths.

Read the full file on GitHub · 678 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. today Changed · +14 lines b7d816c7ea08
  2. yesterday Changed · -489 lines 80ced4efa0a5
  3. 7d ago First seen · 1,153 lines · 212 tokens per session scan C 3d9bf43df4ec

Subscribe to this mod's changes

speckit-autopilot is a skill published in the GitHub repository racecraft-lab/racecraft-plugins-public (5 stars, last pushed today), licensed MIT. It adds 212 tokens to every session and 8,859 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

build-executor

Govern implementation from an approved execution contract. Invoke when execution-contract.md is approved and the user wants disciplined build work, TDD execution, or guarded batch-by-batch implementation.

MageByte-Zero/spec-superflow · 39 tokens

workflow-start

Primary entry point for the spec-superflow state-machine workflow. Invoke when the user is inside an active spec-superflow change directory (look for .spec-superflow.yaml, changes/ /, proposal.md, specs/, design.md, tasks.md, or execution-contract.md) and asks to start, continue, resume, implement, plan, or figure out…

MageByte-Zero/spec-superflow · 125 tokens

bug-investigator

Use when encountering any bug, test failure, or unexpected behavior during spec-superflow execution, before proposing fixes. Invoked automatically when build-executor hits a blockage.

MageByte-Zero/spec-superflow · 37 tokens

release-archivist

Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up.

MageByte-Zero/spec-superflow · 42 tokens

contract-builder

Convert approved planning artifacts into an execution contract. Invoke when the user wants to start building, asks to move from planning to implementation, or when execution-contract.md is missing or stale.

MageByte-Zero/spec-superflow · 39 tokens

spec-writer

Create or refine spec-superflow planning artifacts. Invoke when the change is understood well enough to write proposal.md, specs/, design.md, and tasks.md.

MageByte-Zero/spec-superflow · 35 tokens