Downshift documentation
Historical snapshots: Linked pages carry their own update dates and may describe older behavior. Check the linked GitHub sources and the current harness matrix for current compatibility.
Install, configure and audit Downshift, the deterministic subagent model router. Published from the public repository; each page links to its source on GitHub.
Downshift here is a Go tool for AI coding agents, not the React downshift autocomplete library and unrelated to any car transmission.
Guide
Install Downshift: Claude Code, Codex and Cursor hook setup
Install Downshift and wire its PreToolUse hook into Claude Code, Codex, Cursor and other harnesses: install.sh, setup --dry-run, doctor checks and manual setup.
Downshift configuration: state directory and local settings
Where Downshift keeps its local state, how the state directory is resolved, and how downshift config prints each effective setting and its source.
Downshift and Claude Code subagents: when routing can act
A Claude Code subagent is routable only when its model is not pinned. How the frontmatter model field decides whether Downshift may rewrite that spawn.
Downshift session view: subagent tree, reasons and pause
downshift session shows what Downshift did in one session: a subagent tree with model and observed tokens where available, why each spawn was routed, and pause and resume.
Downshift report: routed spawn tokens and rework
How downshift report states compaction savings per harness, routed tokens per completed task and rework per routing verdict; it prints no dollar amounts.
Downshift evidence ladder: what each saving figure means
Different evidence levels cover historical list-price estimates, token telemetry, benchmarks, historical routed-versus-control comparisons and task outcomes.
Downshift companions: Headroom and Claude Code mods to pair
Tools that work next to Downshift, such as the Headroom compression proxy and Claude Code mods: what Downshift detects, records and never does for them.
Downshift offline simulation: routing without model calls
Historical: an offline simulation that replayed synthetic spawns through the real hook path of four harnesses and failed CI when an accounting rule broke. Removed from the product with the dollar fields.
Reference
Downshift capability matrix: status and evidence per feature
Every Downshift capability with one status word and its evidence, read from code, tests and dated files: routing, guardrails, harnesses, telemetry and cost.
Downshift capability matrix, part 2: context and packaging
Part 2 of the Downshift capability matrix: context optimization, project policy, shadow learning, benchmarks, packaging, overclaims and hidden capabilities.
Downshift harness matrix: Claude Code, Codex, Cursor status
Which harnesses honor Downshift's model rewrite: status per harness, plan limits, and child end and usage observation for Claude Code, Codex and Cursor.
Downshift value per harness: observed tokens per harness
How much of what routing did is observed per harness, and what blocks the rest: tokens by tier, tokens rerouted and usage sources, plus a dated catalog price audit.
Downshift spawn state: switched, held or only observed
Every subagent spawn gets one state, switched, held, observed, paused or blocked, shown on stderr, in session watch, the statusline and a live panel.
Downshift session models: which model IDs a hook may write
Downshift writes only a model id that exists in the current harness session. How session lists, metadata and catalog fallback work, and Claude Code inference.
Downshift complexity weights: how a task becomes a model
How Downshift scores a task with weighted signals into TRIVIAL, SIMPLE, MEDIUM or COMPLEX, when the score is confident, and how a tier maps to a model.
Design
Downshift architecture: deterministic hook and offline CLI
Downshift is one Go binary that runs as a harness hook and an offline CLI: how it classifies delegated tasks, rewrites the subagent model and records results.
Evidence
Downshift routed vs control: first Claude Code A/B results
Historical (2026-10-15): the first controlled Downshift measurement, routed versus control runs on real and mechanical Claude Code tasks, with list-price cost, pass rates and their limits. The product no longer has a control group or prices.
Downshift real usage: a Claude Code day and the last 30 days
Historical (2026-10-19): what Downshift did on one real Claude Code working day and over 30 days for one operator: decisions, downshifts, guardrail holds and what can be claimed.
Looking for articles instead? Read the Claude Code guides