/blueprint-plugin:blueprint-autopilotfrom blueprint-plugin
Runs due blueprint maintenance tasks autonomously at autonomy level 2+. Use when drift nudges report tasks due or suggest /blueprint:autopilot.
Ships in blueprint-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The level-2 executor of the ADR-0020 autonomy model: runs due
agent-judgment maintenance tasks and (optionally) drafts work-order
proposals — quietly, with a one-line receipt. The inverse of
/blueprint:execute: no menus, no questions, act then report.
| Use this skill when... | Use /blueprint:execute instead when... |
|---|---|
The session-start drift nudge says blueprint tasks are due (→ /blueprint:autopilot) | The user wants an interactive "what's next?" menu |
automation.autonomy_level ≥ 2 and ambient maintenance should just happen | The user wants to drive each action themselves |
| A work-order proposal should be drafted from a ready PRP without interrupting the user | The user wants to create a real work order now (/blueprint:work-order) |
bash ${CLAUDE_SKILL_DIR}/../../scripts/get-automation-config.shbash ${CLAUDE_SKILL_DIR}/../../scripts/blueprint-autorun.sh --reportExecute this autopilot pass:
Read AUTONOMY_LEVEL from the Context automation config. If it is below
2, stop immediately with the single line
Autopilot inactive (autonomy_level N) — raise automation.autonomy_level in docs/blueprint/manifest.json to enable.
Nothing else. Also stop (silently, one line) when BLUEPRINT_AUTORUN_DISABLE=1
is set in the environment.
From the Context --report output, collect the DUE_AGENT_TASKS list. Take
at most the first 2 (session token budget — the rest surface again next
session). For each task, dispatch ONE subagent (Task tool) with a focused
brief:
adr-validate → run the /blueprint:adr-validate --report-only procedure;
return the findings summary onlyfeature-tracker-sync → run the full-sync reconciliation in report-then-apply
form, applying only unambiguous updates (drain evidence-backed completed WOs,
recompute stats); ambiguous discrepancies are reported, not resolvedstory-audit → run the audit and write only its dated artifact under
docs/blueprint/audits/--report-only/dry-run form; never its
mutating formEach task's brief MUST state: the run is unattended, so never AskUserQuestion
and never stop at "I'll now run X" — make the call and carry the task through
to its report; and return a one-line result stating what the tool calls
actually returned (counts, paths, exit status). Tasks whose skills would
require interactive confirmation for writes stay report-only here — autopilot
never bypasses a write gate.
After a task's subagent returns successfully, record completion in the manifest:
jq --arg task "<task>" --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
'.task_registry[$task].last_completed_at = $ts |
.task_registry[$task].last_result = "ok (autopilot)"' \
docs/blueprint/manifest.json > docs/blueprint/manifest.json.tmp \
&& mv docs/blueprint/manifest.json.tmp docs/blueprint/manifest.json
On a failed subagent, record last_result = "error: <one-line reason>" but do
NOT update last_completed_at (the task stays due).
WO_AUTO_DRAFT=true)Skip this step entirely unless the Context config shows WO_AUTO_DRAFT=true.
Autopilot files proposals and leaves promotion to a reviewed step: turning a
draft into a real work order is a separate /blueprint:work-order --from-issue N run, taken once someone has reviewed the draft (ADR-0024 keeps this
draft-only policy while making the command itself model-invocable):
Find ready PRPs: scan docs/prps/*.md frontmatter for
confidence: 9 or higher (the confidence-scoring bar for delegation).
Exclude PRPs that already have a work order or draft: a WO exists when
the manifest id_registry maps the PRP to a WO-* document, when a tracker
tasks.pending entry carries source: <PRP-id>, or when an open GitHub
issue labeled work-order-draft or work-order names the PRP id:
gh issue list --state open --label work-order-draft --limit 100 --json number,title
gh issue list --state open --label work-order --limit 100 --json number,title
Cap: if ≥ 5 open work-order-draft issues exist, draft nothing and
note the cap in the receipt.
File the draft for each remaining ready PRP (at most 2 per pass):
a GitHub issue titled [work-order-draft] <PRP-id>: <PRP title>, labeled
work-order-draft, whose body is the full work-order packet built from the
PRP (objective, minimal context, TDD requirements copied verbatim, success
criteria, file list) plus the promotion instruction:
Promote with /blueprint:work-order --from-issue <N>.
Create the label first if missing
(gh label create work-order-draft --description "Auto-drafted work-order proposal (ADR-0020)" --color FBCA04).
No GitHub remote / gh unauthenticated: write local draft files to
docs/blueprint/work-orders/drafts/NNN-<slug>.md instead (same packet,
status: draft frontmatter). Never touch tasks.pending or the
id_registry — those mutate at promotion time only.
End with exactly one summary line, e.g.:
Autopilot: ran adr-validate (2 findings), feature-tracker-sync (1 WO drained); drafted 1 work-order proposal (#214).
If nothing was due and nothing drafted:
Autopilot: nothing due.
AskUserQuestion; never end on a question. Autopilot is fire-and-report./blueprint:work-order or /blueprint:prp-execute
itself: the draft-issue side channel is its only work-order surface, so
committing a work order or executing a PRP stays a reviewed step outside
the ambient pass (ADR-0020 draft-only policy, kept by ADR-0024)..claude/rules/loop-integrity.md).enabled: false tasks never run regardless of level.work-order-draft issue is a
valid human veto and autopilot re-drafts only if the PRP still qualifies AND
no open draft exists (a closed draft for the same PRP id counts as a veto —
check --state all before re-drafting and skip PRPs with a closed,
unpromoted draft).| Context | Command |
|---|---|
| Gate + config in one call | bash <plugin>/scripts/get-automation-config.sh |
| Due-ness without writes | bash <plugin>/scripts/blueprint-autorun.sh --report |
| Draft dedupe (parallel-safe) | gh issue list --state all --label work-order-draft --limit 100 --json number,title,state |
| Kill switch | BLUEPRINT_AUTORUN_DISABLE=1 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
blueprint, autopilot, maintenance, automation, agent-judgment
35 skills in this plugin
/adr-relationshipsDomain analysis, conflict detection, and relationship validation for Architecture Decision Records. Use when creating or validating ADRs to ensure consistency./blueprint-adr-listList ADRs as a markdown table with title, status, date, domain. Use when generating an ADR index, auditing ADR status, or reviewing all architecture decisions./blueprint-adr-validateValidate ADR relationships, domain consistency, and duplicate ADR numbers. Use when auditing ADRs before release, finding broken supersedes/extends links, cycles, or number collisions./blueprint-autonomy-level3Install blueprint autonomy level 3 (ADR-0020): scheduled-autorun + approved-work-order-execution GitHub workflows. Use when enabling out-of-band blueprint automation in a repo./blueprint-claude-mdCLAUDE.md and CLAUDE.local.md from blueprint artifacts. Use when editing CLAUDE.md team instructions, converting inline content to @imports, or setting up CLAUDE.local.md./blueprint-curate-docsLibrary gotchas from official docs, researched into a .claude/rules/lib-<name>.md rule. Use when recording a dependency's pitfalls or a codebase pattern for PRP reuse.npx claudepluginhub laurigates/claude-plugins --plugin blueprint-pluginOther plugins' skills for the same job