Codified Effort and Escalation Policy in the Instruction File¶
Write the default-cheap, escalate-on-evidence effort and model-routing rule into the instruction file so the cheap path is the default, not an operator's per-task choice.
A codified effort policy is a written rule in your instruction file that makes the cheap path the default and escalates only on evidence. The lever is the file, not per-task willpower. When a cheaper, near-flagship model lands, switching the default captures part of the saving; writing the rule into the harness captures the rest, because it then applies on every task without anyone remembering to.
What to encode¶
Three rules, written once into CLAUDE.md, AGENTS.md, or the settings file:
- Match effort to task. Default to a middle effort level, drop to the lowest for formatting, renames, and boilerplate, and reserve the top level for hard debugging, multi-file refactors, and architecture. Claude Code exposes
low,medium,high,xhigh, andmax, where lower effort is faster and cheaper and higher effort reasons deeper (Claude Code — model configuration). Set the default witheffortLevelin the settings file, or per-agent witheffortfrontmatter. This generalizes: Copilot custom agents pin a model in.agent.mdfrontmatter, so the rule can live in any tool's config surface. - Escalate on evidence, not habit. Name the trigger — escalate after N failed verification runs, or when a cheap model's partial trajectory shows it thrashing. A written trigger beats per-task judgment, and it composes with runtime routing like trajectory-conditioned escalation.
- Default cheap, spend on proof. The cheap model and effort level run first; the strong path is the exception the rule forces you to justify, not the reflex.
The high-effort trap¶
Reaching for the top effort level is a signal to check, not a default. max runs with no constraint on token spending (Claude Code — model configuration), and reasoning tokens are billed and add latency in proportion to length. Continuous maximum effort scored 53.9% against 63.6% for uniform-high reasoning on Terminal Bench 2.0, losing to timeouts (LangChain, 2026). When a cheaper model needs its highest effort to match a flagship, the flagship at moderate effort may be both cheaper and better — so treat the reach for max as the prompt to re-check routing, not the answer. Raising effort only pays where the model has headroom below its ceiling and the failure is a reasoning failure (Mehta, 2026); it is otherwise the reasoning-overuse anti-pattern.
Why it works¶
A rule in the instruction file is re-applied by the harness on every turn and session, so the cheap default holds without the operator remembering it after a context switch. Effort settings persist across sessions and instruction files are re-read after compaction (Claude Code — model configuration), while per-task judgment does not survive handoffs — the same durability argument behind convention over configuration. The escalate-on-evidence half works because task difficulty is trajectory-dependent and not recoverable from the description alone: conditioning the model choice on observed failure is provably never worse than a fixed a-priori choice, and strictly better when the cheap attempt is informative (SWE-Router, arxiv 2607.00053).
When this backfires¶
- No cheap-solvable tail. If every task needs the flagship, the cheap-first pass is pure overhead; default to the strong model instead.
- No observable escalation signal. Design docs and prose reviews give the rule nothing to key on — cascade-style escalation needs binary feedback like tests or types (model selection and routing).
- Rework outruns the saving. A cheap model's "almost right" output can cost more in retries than one clean frontier call (getunblocked, 2026).
- Latency-sensitive loops. The cheap attempt plus escalation adds serial latency an interactive user feels.
- Stale policy. A tier table that routes hard work down thrashes; the rule is only as good as its last self-test.
Validate on your own tasks¶
Published benchmarks do not predict your codebase's outcomes — a short side-by-side on your own representative tasks tells you which task types can safely route down more reliably than any leaderboard (model preference fallacy). Encode what the self-test proves, then re-test when the model roster changes.
Example¶
A minimal policy block in CLAUDE.md or AGENTS.md that the harness applies on every task:
## Model and effort policy
- Default effort: `medium`. Drop to `low` for formatting, renames, and boilerplate.
- Raise to `high` or `xhigh` only for multi-file refactors, hard debugging, or architecture.
- Escalate to the flagship model after 2 failed verification runs (tests, lint, types) — not before.
- Reaching for `max` is a review trigger: first check whether the flagship at `high` is cheaper and better.
The block names the default, the escalation trigger, and the high-effort review check, so the cheap path is enforced by the file instead of the operator. Tune the tiers to what your own self-test proves, not to a published benchmark.
Key takeaways¶
- Codify the effort and escalation rule in the instruction file; the durable win is that the harness re-applies it every task, surviving compaction and handoffs.
- Match effort to task, default cheap, and escalate on a named evidence trigger — a written rule beats per-task judgment because difficulty is not readable from the description alone.
- The high-effort trap:
maxon a cheaper model can cost more and score worse than a flagship at moderate effort — treat the reach formaxas a routing check, not a default. - Raising effort pays only where the model has headroom and the failure is a reasoning failure; otherwise it is reasoning overuse.
- Validate route-down decisions on your own representative tasks, then re-test on every model-roster change.
Related¶
- Heuristic-Based Effort Scaling in Agent System Prompts — encode per-tier effort ceilings for multi-agent work; the complement that sizes effort from task cues
- Reasoning Effort Over Tool Scaffolding for First-Try Reliability — evidence that the effort dial, not extra tools, moves first-try reliability
- Trajectory-Conditioned Model Escalation (SWE-Router) — the runtime escalation signal a codified "escalate on evidence" rule points to
- Convention Over Configuration for Agent Workflows — the broader case for encoding decisions into the harness so agents follow patterns rather than re-decide
- Indiscriminate Structured Reasoning — the failure mode when effort is spent past the point it helps