autopilot-apply
Use when an approved cheatsheet or patching guide must be applied to the real source artifact and the applied result verified. Owns applied artifact; default preset. Not for drafting or refining the cheatsheet, or for unrelated source implementation.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 9
- Forks
- 2
01 前言 Front Matter
- name
- autopilot-apply
- metadata
- { "adapter": "opencode", "portable_source": "capabilities/autopilot-apply.md", "invocation_class": "entry-router" }
- description
- Use when an approved cheatsheet or patching guide must be applied to the real source artifact and the applied result verified. Owns applied artifact; default preset. Not for drafting or refining the cheatsheet, or for unrelated source implementation.
03 SKILL.md 正文
autopilot-apply
This is an OpenCode-native Skill projection generated from the portable capability contract. It is adapter-owned output, not a legacy compatibility Skill copy.
Source
- Portable source:
capabilities/autopilot-apply.md - Runtime check:
adapters/opencode/bin/preflight.sh capability-info autopilot-apply - Bootstrap:
adapters/opencode/AGENTS.md
Use
- Before approval, route from this compact metadata and
core/WORKFLOW.md §0.2; do not read the full portable source merely to propose the route. - Present the intent card from
core/WORKFLOW.md §0.4unless the same route and scope are already approved. - Main session only: after approval, read
capabilities/autopilot-apply.md. Registered owners read onlycapabilities/autopilot-apply/references/owner-execution.md; stage workers read only their assigned contracts. The other entry-router steps apply to the main session. A registered owner uses only its Route steps and the latest receipt for runtime commands. - Before the first durable capability artifact, compile and bind the checked route with
preflight.sh route --capability autopilot-apply .... Compile it even for direct intensity: direct is a compiled inline node, not route absence. A native-agent restriction never authorizes direct execution. - Run
adapters/opencode/bin/preflight.sh capability-info autopilot-applyand obey the reported status:instruction-only: use this Skill as OpenCode guidance plus explicit preflight guards.tool-contract: report the namedtool_contract, run anytool_contract_check, and obeyruntime_surface/fallbackbefore claiming full support.unsupported: stop or use the reportedfallback.
Shape
- Identifier:
autopilot-apply - Invocation class:
entry-router - Supported modes:
none - Argument shape:
"<cheatsheet hint / task>" [--target latex] [--source <path-to-real-source>] [--isolation branch|worktree] [--from preflight|apply|verify|handback] - Portable meaning: Apply a cheatsheet draft to the real source artifact and verify the result.
Shared Procedure References
Read the complete portable procedure files listed here when they apply; this logical read-set is shared across Claude, Codex, and OpenCode.
capabilities/autopilot-apply/references/owner-execution.md
Workflow Evidence
- Before durable capability output:
adapters/opencode/bin/preflight.sh route --capability autopilot-apply <complete compile arguments> - For workflow state:
adapters/opencode/bin/preflight.sh status [cwd] [session-id]andadapters/opencode/bin/preflight.sh prompt-signal [cwd] [session-id]
04 同仓库更多 Skills
code-refine
Use only when autopilot-code dispatches plan revision after user notes, plan-check feedback, or verification failure. Not for top-level user requests or primary capability routing.
code-execute
Use only when autopilot-code dispatches the implementation stage for an approved plan. Not for top-level user requests or primary capability routing.
claude-aware
Demonstrate a skill source with inactive runtime-specific metadata.
portable-review
Review a change using portable, instruction-only guidance.
session-tidy
Use when context fills, before compact, on handoff to another session, after a large task, or on request. Not for primary routing or memory writes.
draft-strategy
Use only when autopilot-draft dispatches document strategy and evidence-plan creation. Not for top-level user requests or primary capability routing.