Plan Execute Router

Executes the plan/execute model routing pattern to cut AI-workflow cost by 50–75% on feature builds, refactors, and migrations. Claude plans the task at frontier capability and produces a detailed spec, then routes execution to a cheaper model — via Codex CLI subprocess if available, a Claude Code subagent scoped to a smaller model, or manual copy-paste instructions when neither path exists. Optionally invokes a frontier review pass on the executor's output. Includes fit-check to detect when a task does NOT fit the pattern and cost estimation for the specific split chosen. MANDATORY TRIGGERS: model routing, plan-execute, plan then execute, route to cheaper model, delegate execution, split planning from execution, cheaper executor, cost split, plan-execute-router, model split, use Codex for execution, use Sonnet for execution, spec-then-code, spec then code, save on this build, cost-optimize this task.

fullREFIT 0ac94b8 7 files · 35.7 KB Updated

File contents

fullREFIT/skills/tree/main/skills/plan-execute-router commit 0ac94b8394

Frequently asked questions

npx skillmds@latest add fullrefit/plan-execute-router