autopilot-code
Use when source code must be implemented, debugged, refactored, or code-audited through a plan, execution, test, and report loop. Owns source changes; default preset. Not for requirements-only changes, new empirical experiments, or document-only editing.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 9
- Forks
- 2
01 前言 Front Matter
- name
- autopilot-code
- description
- Use when source code must be implemented, debugged, refactored, or code-audited through a plan, execution, test, and report loop. Owns source changes; default preset. Not for requirements-only changes, new empirical experiments, or document-only editing.
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
autopilot-code
This is a Codex-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-code.md - Runtime check:
adapters/codex/bin/preflight.sh capability-info autopilot-code - Bootstrap:
adapters/codex/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-code.md. Registered owners read onlycapabilities/autopilot-code/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-code ...;preflight.sh route autopilot-codeis grounding only, not route participation. Compile it even for direct intensity: direct is a compiled inline node, not route absence. A native-subagent restriction never authorizes direct execution. - Run
adapters/codex/bin/preflight.sh capability-info autopilot-codeand obey the reported status:instruction-only: use this Skill as Codex 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-code - Invocation class:
entry-router - Supported modes:
dev, debug, audit - Argument shape:
--mode dev|debug <task/plan/error description> [--from <step>] [--intensity direct|quick|standard|strong|thorough|adversarial] [--user-refine] - Portable meaning: Code-work entrypoint that detects spec context and closes the plan→execute→test→report loop.
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-code/references/arguments-and-decisions.mdcapabilities/autopilot-code/references/context-and-guards.mdcapabilities/autopilot-code/references/debug-audit.mdcapabilities/autopilot-code/references/dev-pipeline.mdcapabilities/autopilot-code/references/owner-execution.mdcapabilities/autopilot-code/references/pipeline-summary-safety.md
Workflow Evidence
- Capability grounding only:
adapters/codex/bin/preflight.sh route autopilot-code [cwd] [session-id] - Before durable capability output:
adapters/codex/bin/preflight.sh route --capability autopilot-code <complete compile arguments> - For workflow state:
adapters/codex/bin/preflight.sh status [cwd] [session-id]andadapters/codex/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.