원클릭으로
spec-impl
Dispatch execution from Codex and keep acceptance in Codex. Use when the change is planned and ready for implementation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Dispatch execution from Codex and keep acceptance in Codex. Use when the change is planned and ready for implementation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run the independent acceptance gate from Codex. Use when a change needs final verification against its spec, design, tasks, and execution evidence.
Orchestrate the full spec-driven workflow (spec-init to spec-review) automatically with bounded rework loops. Use when Codex should drive the complete change lifecycle without manual phase handoffs.
Start or resume the primary OpenSpec change flow from Codex. Use when Codex should pick the active change and create the next OpenSpec artifact directly.
Prepare the execution handoff contract from Codex. Use when a change needs design, task refinement, and a bounded execution packet.
Research a requested change from Codex and turn findings into proposal-ready constraints. Use when a request needs bounded discovery before planning.
Frontend design skill fused from Impeccable + custom extensions. Covers design philosophy, anti-AI-slop patterns, typography, color (OKLCH), spatial design, motion, interaction, responsive, UX writing, state management, engineering, and 4 style variants. Includes 20 command skills for audit/critique/polish/animate/etc.
| name | spec-impl |
| description | Dispatch execution from Codex and keep acceptance in Codex. Use when the change is planned and ready for implementation. |
| license | MIT |
Dispatch the planned change to Claude while keeping Codex as the host workflow.
Core contract
spec-impl is an orchestration skill; execution workers must return implementation evidence to Codex rather than running review or mutating OpenSpec task state.Acceptance topology
The acceptance topology defines who does what after execution returns. The roles are:
spec-review.The execution path (orchestrator to execution worker) and the acceptance path (decision owner and optional reviewer) are distinct. Archive is always explicit and owned by the decision owner.
Steps
openspec status --change "<change-name>" --json.proposal.md, design.md, tasks.md, and the change specs.spec-review, do not edit active change tasks.md, do not mark tasks complete, do not archive, and do not decide acceptance readinessccsm claude exec --status-driven --prompt-file .claude/ccsm/claude-dispatch-prompt.txt
When --status-driven is used, Codex reviews structured JSON monitor result fields: sessionStatus, runId, exitCode, and outputs. The Execution Return Packet is the content expected inside monitor outputs, not raw terminal text.
Preserve plain ccsm claude exec compatibility for fallback/debug flows.
The ccsm claude exec path resolves the native Claude binary when available, or falls back to the installed Claude JS entrypoint without relying on shell-specific shims.
In a standard Claude Code install you should not need to set CCSM_CLAUDE_PATH; the launcher checks PATH first and only uses CCSM_CLAUDE_PATH as a fallback override for non-standard installs.
Preserve your existing proxy settings by default. Only append 127.0.0.1,localhost to NO_PROXY / no_proxy when your environment explicitly needs local bypass; use CCSM_CLAUDE_APPEND_LOCAL_NO_PROXY=1 for that case.
Treat spec-impl as an Agent Teams-first path by default. Unless the execution packet explicitly documents a single-worker fallback, enable both CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 and CLAUDE_CODE_ENABLE_TASKS=1 before dispatch.
For non-interactive Agent Teams execution, ccsm claude exec defaults to --permission-mode=bypassPermissions so Claude is not blocked by interactive approval gates during delegated execution. Override with CCSM_CLAUDE_PERMISSION_MODE=<mode> or pass an explicit Claude permission flag when you need a different policy.
ccsm monitor hooks also ensures ~/.claude/settings.json allows Bash(*ccsm*), and ccsm monitor install ensures the current workspace is marked trusted in ~/.codex/config.toml.
Treat claude -p as the Claude-side entry contract. Do not assume a separate claude teammates CLI command exists.
Agent Teams are the preferred execution mode for spec-impl. Instruct Claude to use the in-session team tools (TeamCreate, TaskCreate, SendMessage, Agent(team_name=..., name=...)) after the Claude session starts whenever the packet has more than trivial scope.
Only skip Agent Teams when the packet explicitly records why a single Claude worker is the better fit.
Require every teammate prompt to define its mailbox return protocol explicitly: if SendMessage is deferred, the teammate must run ToolSearch select:SendMessage before its first mailbox reply, and any string reply must include both summary and message.
Tell Claude that a teammate is not considered finished just because it goes idle or emits SubagentStop; the required report only counts after the team lead receives the teammate mailbox message.
Tell Claude and every execution worker that spec-review, OpenSpec task checkbox updates, archive decisions, and acceptance readiness are orchestrator-owned. If a worker finds task/spec inconsistency, it must report that in the return packet instead of editing tasks.md or changing source-of-truth OpenSpec artifacts.
In non-interactive claude -p sessions, require Claude to emit the full return packet before shutdown, then follow the official shutdown order: gracefully shut down teammates, wait for approvals, and run cleanup exactly once.
If cleanup reports success or nothing to clean up, do not let Claude keep retrying cleanup. Treat the last complete return packet as found in the monitor outputs field (structured via sessionStatus JSON) and stop the host Claude process if it falls into the known shutdown-reminder loop.
ccsm claude exec cannot be invoked, or Claude execution cannot start cleanly, stop and report the workflow as blocked instead of continuing with local implementation.openspec archive <change-name>.Output
Guardrails
ccsm claude exec has dispatched work to Claude.spec-review, edit active change tasks.md, mark OpenSpec tasks complete, or decide acceptance/archive readiness.