원클릭으로
exec
Plan the next incomplete step (or full phase with --phase flag) from the plan, then enter plan mode for user approval before executing
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Plan the next incomplete step (or full phase with --phase flag) from the plan, then enter plan mode for user approval before executing
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Manage the portfolio of product paths — review, activate, archive, restore, promote, fork, and check revisit triggers across the product-path manifest
Manage the portfolio of product paths — review, activate, archive, restore, promote, fork, and check revisit triggers across the product-path manifest
| name | exec |
| description | Plan the next incomplete step (or full phase with --phase flag) from the plan, then enter plan mode for user approval before executing |
| type | execution |
| version | v0.7 |
| argument-hint | [--phase] |
| invocation | orchestrator |
Identify the next incomplete unit of work from the phased plan, build an execution plan, and enter plan mode for user approval before implementing. By default, plans only the next single incomplete step. If $ARGUMENTS contains --phase, plans the entire next phase.
tasks/roadmap.md does not exist but tasks/todo.md contains multiple ## Phase headers, migrate: copy tasks/todo.md -> tasks/roadmap.md, then trim tasks/todo.md to just the current phase (first phase with unchecked steps). Stop after the migration and tell the user to run /ship to package and push the task-doc split. Do not commit or push from /exec.tasks/todo.md — this contains the current phase's steps. Reference tasks/roadmap.md only if cross-phase context is needed.tasks/record-todo.md or tasks/recurring-todo.md exists, count unchecked advisory items for status only. Do not select them as next work.--phase mode: scope the entire phase.- [ ] step within that phase.### Tests First or ### Implementation section): this phase needs just-in-time planning. You MUST invoke /plan-phase for this phase to generate implementation steps and file-level detail before proceeding. Do NOT tell the user the phase is "deferred" or that they need to run /plan-phase manually — this auto-invocation is the designed workflow. A phase without implementation steps is NOT deferred; it simply hasn't been decomposed yet. Only items under the ## Deferred / Future Work heading in the roadmap are actually deferred.tasks/manual-todo.md (if it exists) for blocking manual tasks:
_(blocks: Step N.X)_ annotations matching the step about to be executed./guide (guided-walkthrough pack) for step-by-step instructions." Do NOT execute the step unless the manual task is completed or the user explicitly overrides the blocker./guide (guided-walkthrough pack); route it to /reconcile-dev-docs fix tasks (docs-health pack), promote it to tasks/todo.md, or handle it as a direct dev-doc audit./experiments/<variant> over one merged implementation. Record the deferred infrastructure and the evidence needed to promote it later.
6b. Read the execution profile — read the current phase's ### Execution Profile from tasks/todo.md if present:
serial.Parallel mode is agent-team:
Mode: or Depends on:, still contains placeholder text, write lanes have overlapping Owns, or write lanes are missing a concrete non-primary Branch:, auto-invoke /patch-exec-profile for this phase (same pattern as step 4's auto-invocation of /plan-phase). Re-read tasks/todo.md after it returns. Do not tell the user to run /patch-exec-profile manually — this auto-invocation is the designed workflow.Depends on: field. Compute topological waves. Include the DAG and wave structure in the plan-mode presentation at step 8.agent-team: the planned lane branches and the consolidation/PR review gateAfter approval, apply the current phase's ### Execution Profile:
serial: execute normally.research-only: launch read-only subagent lanes first when the active environment permits subagents, synthesize their findings, then implement in the main agent.review-only: implement in the main agent, then launch review subagent lanes before final validation.implementation-safe: launch write subagent lanes only when every write lane has disjoint Owns paths and explicit Must not edit boundaries; otherwise downgrade to research-only or serial and report the downgrade.agent-team: auto-dispatch lanes via Agent tool calls with isolation: "worktree" (see Agent-Team Dispatch below). Each write lane must run on its declared separate GitHub branch and return branch, commit SHA, validation evidence, and PR URL. This is the current policy — do not stop merely because the profile says agent-team or because the phase/step body contains legacy advisory text like "do not implement in a single /exec", "requires isolated worktrees or a dedicated agent team", or "use /delegate (agent-bridge pack) instead". That guidance predates agent-team dispatch and is now stale. Trust the ### Execution Profile metadata (after /patch-exec-profile fills it) and proceed. Only stop if /patch-exec-profile returns with unresolvable ambiguity (overlapping Owns, cyclic Depends on, missing lane specs that cannot be inferred, or missing branch/PR review requirements).The main agent owns integration, conflict resolution, task doc updates, history updates, shipping handoff, and deploy handoff. If a subagent touches files outside its owned paths or returns conflicting changes, stop and reconcile before validation.
When the profile is agent-team:
Depends on: in step 6b).Agent call per lane, in a single message (parallel execution), with:
isolation: "worktree"Branch: value, created from the current primary branch (main when present, otherwise master) and never named main or mastersubagent_type: "general-purpose" unless the lane spec names another agentScope, Owns, Must not edit, and DeliverableBranch:, the commit exists on that branch, and a PR URL was returned. If not, stop.git diff --name-only <primary>...origin/<lane-branch> (or the reviewed remote branch ref). Every changed path must be a subset of the lane's declared Owns. If any file falls outside (including matches against Must not edit), abort integration for that lane and surface the violation. Do not attempt partial integration.blocker or advisory with file path and line references. Do not integrate a branch with blocker findings.git restore --source=origin/<lane-branch> --staged --worktree -- <owns-path-1> <owns-path-2> …. This captures modifications, additions, and deletions. Do not use git checkout <branch> -- <paths> — it silently drops deletions. Do not create a merge commit; the result is a dirty working tree for /ship.git worktree remove <worktree-path> then delete the local lane branch when safe. Leave the remote branch/PR available until consolidation status is documented or the project explicitly closes/merges it.Agent calls (no isolation) against the integrated dirty tree. Their deliverable contract: return findings as a list, each classified blocker or advisory, with file path and line references.### Review Findings block under the step in tasks/todo.md:
blocker: leave the step unchecked, stop /exec, and surface the findings in the final report./exec flow.SKILL.md or PACK.md, refresh the public skills catalog export before handing off to /ship: run node scripts/generate-skills-catalog-export.mjs and scripts/validate-skills-catalog-export.sh; include changed exports/skills-catalog/v1/** artifacts in the dirty tree. The Skills Showcase lives in the separate agentic-skills-showcase repository and imports this export; do not run Showcase app generators, Next.js builds, or website asset refreshes during normal agentic-skills work. If a skill change needs curated website copy, record the follow-up for the Showcase repo instead of editing app files here.tests-after phases, also write regression tests covering acceptance criteria. Fix any failures. If validation is clean and a following cleanup/refactor step is explicitly conditional on validation findings or says no source changes are expected, complete that no-op cleanup in the same execution by recording the no-op result instead of leaving it for a separate plan-mode handoff. Stop.tasks/todo.md (check it off).--phase)tasks/todo.md.Report concisely:
tasks/manual-todo.md exists, report count of pending manual tasks for this phasetasks/record-todo.md and tasks/recurring-todo.md if they existBefore handing back, identify the next concrete work item from project state, then recommend the executor and invocation.
Output exactly two lines beyond the normal report:
Rules:
tasks/todo.md, validation results, manual blockers, deploy/smoke-test gaps, or the absence of remaining work. Do not use agent mode itself as the next work item../scripts/agent-mode.sh only to choose command text. If it is missing, unset, or non-zero, infer routing from the current invocation and task type instead of asking the user to select a mode by default.tasks/todo.md, tasks/roadmap.md, benchmark reports, or prior handoffs contain Codex dollar commands for base skills (for example $exec, $ship, $roadmap, $guide, $reconcile-dev-docs), treat them as task identifiers, not final command text. Convert the final Recommended next command to the equivalent Claude /... route unless the next action is explicitly a Codex handoff such as /delegate $ship./exec → recommend /delegate (agent-bridge pack) $ship./ship or /guide (guided-walkthrough pack).$ship./delegate (agent-bridge pack) as a workaround for an agent-team profile. /exec now auto-dispatches agent-team lanes itself via isolated worktrees; /delegate (agent-bridge pack) is for Claude↔Codex handoff, not for lane parallelism.--phase mode)./exec is the Claude execution step; /ship owns packaging, task-history updates, commits, pushes, deploys, and next-step planning.tasks/manual-todo.md. Bookkeeping or agent-executable items that were misfiled there should be reconciled through /reconcile-dev-docs (docs-health pack) or promoted into tasks/todo.md, not routed to /guide (guided-walkthrough pack).tasks/record-todo.md or tasks/recurring-todo.md unless the item has first been promoted into tasks/todo.md./exec → plans one step, enters plan mode, executes after approval
/exec --phase → plans the next full phase, enters plan mode, executes after approval
/ship → commits, pushes, plans next, enters plan mode
→ select "clear context and implement"
→ fresh context reads tasks/todo.md and implements
.agents/project.json enabled_packs. If not installed, include npx skillpacks install <pack-name> from the project shell as the prerequisite.tasks/todo.md and stop.tdd, tests-after, or none). Do not skip test steps for tdd phases.### Execution Profile annotated on each phase. If subagents are unavailable in the active environment, execute serially and report the downgrade.tasks/todo.md, tasks/roadmap.md, tasks/history.md, shipping commits, or deploy steps. Those remain main-agent responsibilities.Owns paths are disjoint. When in doubt, downgrade to research-only or serial./commit-and-push-by-feature or push shipping commits from the main /exec tree. A dirty tracked tree after successful /exec is expected and is the handoff to /ship. The narrow exception is agent-team lane work: lane agents must commit and push their assigned non-primary GitHub branches for PR review.agent-team phases: do not integrate a lane whose diff contains files outside its declared Owns — surface the violation and stop instead. Lane agent prompts must require branch-backed commit, push, and PR evidence before return; do not integrate from an uncommitted worktree, unpushed branch, or unreviewed PR. Clean up local worktrees after every integration, but preserve remote branches/PRs until consolidation status is documented./exec deliberately leaves completed tracked changes uncommitted so /ship can validate, update tasks/history.md, commit, push, deploy, plan the next step, and enter plan mode in one coherent shipping pass./exec's dirty-tree handoff: if the user explicitly asks /exec to commit or push, stop and redirect them to /ship, which must ensure the issue-backed branch before committing and publish a ready pull request without merging it./ship unless a blocker prevents shipping.