From Plan / Execute
Use when deciding HOW to split work between a strong planner and cheaper executors — configuring subagent models, writing delegation prompts, running the plan-big/execute-small workflow, or choosing between delegation and the advisor tool.
How this skill is triggered — by the user, by Claude, or both
Slash command
/plan-execute:plan-execute-strategyThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Two inversions of the same idea — *spend strong-model tokens on judgment, cheap
Two inversions of the same idea — spend strong-model tokens on judgment, cheap tokens on volume. Pick by which model you want in the driver's seat.
| Strategy | Who plans | Who executes | Set up with |
|---|---|---|---|
| Delegation | strong main model | cheap subagents | CLAUDE_CODE_SUBAGENT_MODEL + a delegation prompt (this skill) |
| Advisor | strong advisor, consulted mid-turn | cheap main model | /advisor (the server-side advisor tool) |
They are orthogonal — you can run both at once (cheap main + strong advisor + cheaper subagents). This skill is about delegation; the advisor tool is covered at the end so you pick the right one.
Run the session with a strong main model and pin subagents to a cheaper one, then tell the main model to delegate:
CLAUDE_CODE_SUBAGENT_MODEL=sonnet claude \
--append-system-prompt "For task execution, delegate to subagents with clear, \
appropriately-scoped instructions. You own planning and oversight of overall \
progress; self-judged exceptions are allowed."
Set the main model separately with /model (in-session) or --model (e.g.
--model claude-fable-5). The two knobs are independent: --model / /model
picks the driver, CLAUDE_CODE_SUBAGENT_MODEL picks the workers.
How the subagent model resolves (first match wins):
CLAUDE_CODE_SUBAGENT_MODEL env var (alias — sonnet / opus / haiku /
fable — or a full model ID).model passed when the subagent is spawned.model: frontmatter.inherit (same model as the main conversation). As of v2.1.196,
setting the env var to inherit is the same as leaving it unset.Subagents also inherit the main conversation's extended-thinking setting (v2.1.198+).
Where to put the delegation instruction — pick one, don't stack them:
--append-system-prompt "…" — session-scoped, nothing left behind. Cleanest
for a one-off. (This is the recommended default.)/output-style) — persists the delegation posture
across sessions without editing CLAUDE.md.CLAUDE.md — durable and repo-shared, but it only steers behavior; it can't
set the subagent model (that's the env var / frontmatter above).When you want the split to be deterministic and repeatable rather than left to the model's judgment, run the bundled workflow:
/plan-big-execute-small <task>
It runs a strong planner (decompose into independent sub-tasks) → cheap
workers in parallel (default haiku, isolated contexts, distilled findings)
→ a cheap verifier (re-checks the workers' claims, read-only) → a strong
synthesizer (merge). The command invokes the plugin's
workflows/plan-big-execute-small.workflow.js via the Workflow tool. Prefer
this over the interactive setup when you need coverage guarantees, a fixed number
of workers, or a barrier before synthesis; prefer interactive when the shape of
the work is still unfolding.
For interactive delegation of a single scoped unit, hand it to the
execution-worker subagent this plugin ships — a Sonnet-by-default worker (cheaper
than an Opus/Fable planner, capable enough to edit) that does one task and reports
back. Override its model with CLAUDE_CODE_SUBAGENT_MODEL (for example haiku for
read-only investigation).
Deferred by design: if a workload ever needs a guaranteed read-only lane — e.g. many workers on a shared tree — a dedicated
investigation-worker(tools: Read/Grep/Glob only, no Bash/Edit/Write) is the sanctioned next agent to add. It isn't shipped yet: one broadly-scoped worker plus these instructions covers the current need, and a fleet of specialized agents would fight the "few agents" convention while theCLAUDE_CODE_SUBAGENT_MODELoverride flattens per-agent model pins on the scripted path anyway.
/advisor) — how it differs/advisor (the advisorModel setting) is the server-side advisor tool: a
cheaper main model consults a stronger advisor mid-turn for a plan or course
correction, then keeps executing. It is the inverse of delegation — the strong
model advises rather than leads. What to know before picking it:
/advisor
picker shows a dimmed Fable 5 (temporarily unavailable) row, and Claude Code
rejects /advisor fable and --advisor fable. The underlying defect is
#76199 — advisorModel: fable plus any prior tool_use in the transcript deterministically returns
unavailable (the executor model is irrelevant, an Opus advisor is immune, and it
is not a context-size issue). Use /advisor opus instead — Opus 4.7/4.8 as the
advisor works today.Hardening notes (these bite CI and gateway users):
CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 disables the
advisor entirely: /advisor becomes unavailable, any advisorModel is ignored, and
--advisor is accepted but inert — existing scripts won't error. Clean when you want
delegation to be the only orchestration in play.Rule of thumb: cheap main that occasionally needs a smart second opinion → advisor. Strong main that should offload volume → delegation (this skill).
GitHub Copilot CLI supports this plugin format directly — no manual file copying. Register the marketplace and install the plugin:
copilot plugin marketplace add mbeacom/context-kit
copilot plugin install plan-execute@context-kit
The scripted Workflow and CLAUDE_CODE_SUBAGENT_MODEL are Claude Code features;
the delegation posture (plan strong, execute cheap) applies wherever an agent can
spawn workers.
npx claudepluginhub mbeacom/context-kit --plugin plan-executeCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.