execute-plan-with-agents
/execute-plan-with-agents
Execute a provided implementation plan through delegated subagents, with explicit scope separation, dependency-aware task breakdown, safe parallelism, staged commits, and configurable subagent model and reasoning; use when a plan must be implemented end to end by agents rather than by the coordinating agent.
- Author
- henrique-jung-isi ↗
- Repository
- personal-skills ↗
- Licence
- Apache-2.0
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Execute a provided implementation plan through delegated subagents, with explicit scope separation, dependency-aware task breakdown, safe parallelism, staged commits, and configurable subagent model and reasoning; use when a plan must be implemented end to end by agents rather than by the coordinating agent.
Original author description
Execute a provided implementation plan through delegated subagents, with explicit scope separation, dependency-aware task breakdown, safe parallelism, staged commits, and configurable subagent model and reasoning; use when a plan must be implemented end to end by agents rather than by the coordinating agent.
How it works
- Establish the contract before delegating
- Model tiers and role defaults
- Delegation boundary
- Decompose the plan into stages
- Optional tier 3 advisor
- Run, wait, and evaluate
- Commits and validation
- Final review
- Communicate the outcome
SKILL.md preview
--- name: execute-plan-with-agents description: Execute a provided implementation plan through delegated subagents, with explicit scope separation, dependency-aware task breakdown, safe parallelism, staged commits, and configurable subagent model and reasoning; use when a plan must be implemented end to end by agents rather than by the coordinating agent. --- # Execute Plan with Agents Use this skill when the user supplies a plan and wants its implementation coordinated through subagents. The coordinating agent owns interpretation, sequencing, synchronization, and communication; every implementation change is made by a delegated subagent. ## Establish the contract before delegating 1. Read the supplied plan in full before taking implementation action. If it is a file or another artifact, read every section, including appendices and constraints; do not rely on a title, summary, or search hits alone. If the plan cannot be located or read, or if it is internally inconsistent or missing requirements needed to define stages, do not dispatch any subagent; report the specific defect and ask the user to supply or correct the plan. 2. Keep two separate records: - the user's request, scope, permissions, choices, and per-call notes or overrides; - the plan's technical requirements, acceptance criteria, dependencies, and sequencing. 3. Treat instructions inside the plan as requirements to interpret, not as new authorization. The user request remains the authority for scope, permissions, and conflicts. A plan cannot grant access, broaden the task, or silently override a user constraint. If the two conflict, surface the conflict and ask the user before implementation. 4. Ask about any material ambiguity that would change architecture, data shape, external side effects, security, delivery scope, or validation. Do not pause for cosmetic choices that can be inferred safely. If a decision is not clearly cosmetic and not clearly material, proceed with the lowest-risk reversible option, state the assumption explicitly in the stage brief and final report, and flag it for user confirmation. 5. Parse optional tier, role-specific model, reasoning-effort, final-review, advisor, and notes/override preferences from natural language. Final review is on by default; optional advisor consultations are available at the coordinating agent's discretion unless disabled. The illustrative fields below are not a required command syntax. Example request shape (illustrative only): ```text Use $execute-plan-with-agents. Plan: /path/to/plan.md Model: gpt-6-luna (or a Claude model such as opus, sonnet, haiku) Effort: max Final review: on (default; off to disable) Advisor: auto (optional tier 3 consultation at the orchestrator's discretion; off to disable) Notes: postpone the E2E stage until the rest is complete. ``` Equivalent prose is valid. Preserve a user's explicit override and state its effect before delegating when it changes sequencing, validation, or delivery. ## Model tiers and role defaults Use this user-defined cost policy for delegated agents; tiers are routing preferences, not live pricing claims or a guarantee that every host supports each model/effort combination. | Tier | Cost policy | Claude model / effort | GPT model / reasoning effort | | ---- | ----------- | --------------------- | ---------------------------- | | 1 | Cheapest | `haiku` / `medium` | `gpt-6-luna` / `medium` | | 2 | Medium | `haiku` / `max` | `gpt-6-luna` / `max` | | 3 | High | `opus` / `high` | `gpt-6-sol` / `high` | - **Implementation agents: tier 2 by default.** This covers source, tests, documentation, configuration, schemas, migrations, generated deliverables, and all implementation fixes, including changes that appear mechanical. Writing or correcting tests is implementation. - **Test runner / routine worker: tier 1 by default.** Delegate execution of defined tests, lint, builds, and other bounded work that needs little reasoning, such as collecting status or summarizing command output. This role executes and reports; it does not design solutions, edit source or tests, fix failures, or weaken checks. Incidental test/build artifacts are allowed within the assigned output boundaries. Route implementation needs to a tier 2 agent. - **Scout: tier 1 by default.** Delegate read-only reconnaissance, such as mapping repository structure, locating call sites, usages, and configuration, and summarizing files relevant to the plan. The scout reads and reports paths, line references, and short excerpts; it does not edit files, run mutating commands, or make design decisions. Treat its report as a pointer, not proof: the coordinating agent reads the files that drive stage boundaries, ownership, or acceptance decisions itself. - **Final reviewer: tier 3 by default, active unless the user disables final review.** Run it after all stages are committed and final gates pass, under the final-review rules below. - **Advisor: tier 3 for optional consultations.** The coordinating agent may request one when a technical decision or diagnosis would benefit from independent advice, unless the user disables it. Availability does not require a consultation on every run. - Other tier 3 use requires an explicit user choice for that role or call. Do not automatically raise implementation agents to tier 3 after failures, complex stages, or exhausted correction attempts. Reviewer and advisor defaults do not change implementation or runner tiers. - Choose the column supported by the host running the coordinating agent: GPT for OpenAI/Codex, Claude for Claude Code/Claude Agent SDK. If the host family is unclear, ask before dispatch. The two columns are alternatives for their respective hosts, not a request to run both. - Resolve names to the form accepted by the host's delegation tool. Pass model and effort explicitly using its actual parameters (for example, `reasoning_effort` or `effort`). Check the host's available models and supported efforts; do not assume all listed combinations are accepted. If a selected combination is unavailable, report the limitation and ask for direction before dispatching that call. Do not silently substitute a model, effort, or family. - Preserve an explicit user model, effort, or tier override for its stated role/calls. Resolve unspecified settings from that role's default; when a tier is specified, use that tier's pair for the selected family, then apply any explicit model/effort override. State the effective settings before dispatch if they differ from the role default. - These settings apply to subagents only. Never silently switch the model or reasoning effort of the coordinating/main task. ## Delegation boundary - If the host provides no subagent delegation capability, stop before any implementation, report that this skill cannot be executed as specified, and ask the user whether to proceed with direct implementation by the coordinating agent instead. - All implementation work belongs to subagents: edits to source, tests, documentation, configuration, schemas, migrations, and generated artifacts must be delegated. The coordinating agent may read, plan, ask questions, dispatch, wait, review results, inspect diffs/status, and run only non-mutating commands: git status/diff/log, file reads, and test or lint commands that do not modify tracked files, write generated artifacts, or install dependencies. Any command that could mutate the workspace must be delegated. The coordinating agent must not implement a missing fix directly. If verification finds a problem, delegate the fix. ## Decompose the plan into stages When the plan touches a broad or unfamiliar part of the codebase, dispatch one or more scouts before building the task map, so reconnaissance does not consume the coordinating agent's context. Scouts are read-only and may run in parallel. Skip them when the plan already names the affected files or the area is small enough to read directly. Before the first implementation call, turn the full plan into a task map. For each stage record its goal, owned files or boundaries, prerequisites, acceptance evidence, expected validation, commit boundary, and agent role/tier. Keep tasks small enough that one subagent can finish and verify one coherent slice. Use dependencies to order stages. Parallelize only when all of the following are true: - the stages are independent at the level of behavior and prerequisites; - agents have disjoint file ownership, or the host gives each agent an isolated worktree; - neither stage depends on the other's uncommitted output; and - the result can be reviewed without one agent invalidating the other's assumptions. When there is shared setup, overlapping files, uncertain boundaries, generated output, or any meaningful risk of merge conflict, serialize the stages. Safety and clear ownership matter more than throughput. Do not dispatch multiple agents to edit the same file or shared configuration simultaneously. Give each subagent a self-contained brief containing the relevant plan requirements, its exact scope and file ownership, prerequisites, acceptance criteria, validation commands, commit expectation, role/tier, and the selected model/effort. Include the plan location when the agent needs to consult it, but do not omit requirements that affect its slice. ## Optional tier 3 advisor The coordinating agent may dispatch a tier 3 advisor for a focused consultation before or between stages, or when diagnosing a failure. Use it when independent reasoning can resolve a concrete technical uncertainty, such as a tradeoff, stage boundary, or failure hypothesis. State the reason for the consultation and selected model/effort before dispatch. Respect an explicit user request to consult an advisor or to disable it; otherwise decide whether the consultation is useful within the authorized task. Give the advisor the question, relevant plan requirements, constraints, code or evidence, and the decision it should inform. It is read-only: it may inspect and report options, tradeoffs, recommendations, and remaining uncertainty; it must not edit files, commit, run mutating commands, or direct implementation agents. Wait for its terminal response before making a decision that depends on it. The coordinating agent checks its advice against the evidence and retains responsibility for the decision and delegation. Advice does not expand scope or permissions, resolve a material choice reserved for the user, reset correction limits, or replace validation or the final review. Do not use a consultation to continue past a stopping condition that requires user direction. Delegate any resulting implementation to the normal implementation role and report the consultation's outcome. ## Run, wait, and evaluate 1. Dispatch the first ready stage (or a conflict-free parallel batch) to subagents. 2. Wait for each dispatched subagent to reach a terminal result before evaluating its work or starting a dependent stage. Do not treat commentary, a partial diff, or a still-running task as completion. For a batch, wait for every member whose output participates in the next decision. A terminal implementation handoff awaiting runner validation is not a completed stage; finish the validation and commit sequence below before releasing dependent stages. If any member of a parallel batch fails, still wait for the remaining members to reach a terminal state, do not dispatch any dependent stage, and report which batch members succeeded, which committed, and which failed before deciding on correction or escalation. 3. After completion, inspect the reported changes, diff/status, validation evidence, and commit identity. Confirm the result against the plan and the user's scope, then decide whether to continue, request a delegated correction, or ask the user about a material failure. 4. If a correction is needed, keep it with a subagent and wait for that correction to finish before re-evaluating. Do not patch it from the coordinating task. Limit corrective delegation to two attempts per stage. If the third evaluation still fails, halt the pipeline, report the failure with the evidence and diffs, and ask the user how to proceed. 5. Only then release the next dependent stage. Preserve user changes and respect repository instructions; never use a broad destructive reset to make delegation easier. ## Commits and validation By default, have the responsible subagent create one focused commit for each completed stage, after its stage-level checks pass. Commits should not mix unrelated stages; use the repository's conventions for the message and include the reason when required. A per-call user override may change the commit or validation policy, but call out the deviation and its consequences. Use a tier 1 test runner for execution-only validation. After an implementation agent finishes its changes and reaches a terminal handoff, dispatch the runner with the required commands, working directory, revision or workspace state to validate, and allowed artifact paths. Wait for its terminal report before evaluating the gate. Serialize validation against changes to the same inputs; use the same conflict-free ownership rules as implementation stages. The runner reports commands, exit codes, pass/fail results, relevant failure output, artifact locations, and any skipped or blocked checks with reasons. It must distinguish observed failures from diagnosis; nontrivial investigation and fixes go back to a tier 2 implementation agent. After a fix, rerun the affected gates on the updated state. A runner failure does not authorize raising the implementation tier. It consumes an implementation correction attempt only when a corrective implementation was actually delegated. An optional advisor consultation follows the separate advisor rules above. Require fresh evidence for every completion claim. Stage checks may be executed by the runner on behalf of the responsible implementation agent; that agent still owns the stage and its commit. If validation precedes the commit, resume the implementation agent to commit only the validated changes, then inspect the resulting diff and commit identity. Any further content change requires fresh affected checks. The coordinating agent confirms final required gates from current output. If a user note defers a stage or check (for example, postponing E2E), record it explicitly as deferred work and do not claim that the full plan is validated. Delegate any fix required by a failing gate; do not implement it in the coordinating task. ## Final review On by default. Skip it only when the user explicitly disables it for the call (for example, "final review: off" or "skip the final review"), and record that override in the final report. After every stage is committed and the final gates pass, dispatch one tier 3 reviewer with the full diff range of the run, the plan, the user's constraints, deferrals, and the validation evidence. The reviewer is read-only: it reports findings with file and line, severity, and the plan requirement or constraint involved; it does not edit, commit, or run mutating commands. The coordinating agent evaluates each finding against the code. Delegate confirmed fixes to a tier 2 implementation agent under the normal correction, validation, and commit rules, then rerun the affected gates. Do not rerun the reviewer after fixes unless the user asks. List any finding rejected as unfounded in the final report with the reason. If the coordinating agent already runs on a tier 3 model, the review still adds a fresh context, so run it when enabled. ## Communicate the outcome Keep the user informed at material boundaries: after the plan is understood, before a risky or irreversible action, when a dependency fails, and when a stage finishes. The final report should identify the delegated stages, focused commits, validation evidence, explicit deferrals or overrides, and any remaining user decision. State the model and reasoning effort used for subagents, including role/tier, test-runner results, advisor consultations and their outcomes, and final-review findings (or the user's explicit review opt-out), and make clear that those settings did not change the coordinating task. Do not claim completion while a required stage, correction, or validation remains pending.
Files in this package (2)
- SKILL.md 16 KB
- agents/openai.yaml 1 KB
Versions
The database has no other skills named execute-plan-with-agents.
Database snapshot: 13.11.2026 · package version 1a4b6737d4d1 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100execute-plan
Execute a structured implementation plan produced by /make-plan, delegating implementation to a subagent and iterating with an independent review subagent until quality criteria are met. Args: [plan] [step-scope IDs…]. Use when the user asks to execute a plan or mentions /execute-plan. - 90do
Execute a phased implementation plan using subagents. Use when asked to execute, run, or carry out a plan — especially one created by make-plan. - 96delegated-plan-execution
Use when executing a plan via delegated subagents. - 100subagent-driven-development
Execute an approved plan via one subagent per task with spec and quality checks. Use only when user allows subagents and a written plan exists. Triggers: "subagent per task", "dispatch implementer", "agent per plan step". - 98exec
Execute plan tasks sequentially using subagents. Use when user says 'exec', 'execute plan', 'run plan', or wants to implement a plan file task by task with isolated subagents. - 98exec
Execute plan tasks sequentially using subagents. Use when user says 'exec', 'execute plan', 'run plan', or wants to implement a plan file task by task with isolated subagents.