npx claudepluginhub xiaolai/compute-ladder-for-claudeRoutes Claude Code's compute: Claude escalates its own reasoning effort mid-turn when a task is genuinely hard (with a guard against accidental downgrades), delegates large mechanical jobs to a Sonnet low-effort worker, and reports how it routed
Let Claude spend the right amount of compute per task: more reasoning effort when a turn is genuinely hard, a
cheaper model for large mechanical jobs, instead of you switching /effort and /model by hand.
Claude Code has no automatic routing for either. compute-ladder routes each one at the boundary where switching is cheap:
escalate-xhigh handles hard but recoverable work: design decisions, non-obvious bugs, and risky refactors. escalate-max handles costly mistakes: security-sensitive code, production data, and a problem that has already failed once. Claude invokes one as the first step of a turn, and the level resets when you send your next message. Switching effort keeps the prompt cache.low-worker subagent. It runs on Sonnet 5.5 at low effort, which matched Opus on a 10-task mechanical suite (30/30 runs each) at 54% of the cost. Haiku was cheaper still but got 1 run in 10 wrong.effort: can also lower the level, and CLAUDE_CODE_EFFORT_LEVEL silently blocks the override. The guard denies both cases, and the Stop hook reports requests that did not take effect./compute-ladder:report shows the escalation rate, output tokens per tier, escalations that didn't take effect, turns that look under- or over-escalated, and which models and effort levels your subagents actually ran on.On Claude Code 2.1.286, our latest isolated probes did not reproduce a skill-triggered effort override. Check the report's observed effort before relying on escalation; see platform evidence.
claude plugin install compute-ladder@xiaolai --scope user
That's all the setup. The plugin escalates from your normal effort level, and Opus 5.5 already defaults to
medium. If you once saved a higher level with /effort, run /effort medium once; the plugin reminds you when
your level is xhigh or above.
Day to day, do nothing. Claude can request escalation on hard turns. Each turn starts again from your normal level. This transcript line shows a request, not proof that the runtime applied it:
Skill(compute-ladder:escalate-xhigh)
To boost one turn yourself, start your message with the skill:
/compute-ladder:escalate-max review this auth change before we ship it
It applies to that turn only, so there's nothing to switch back, unlike /effort max. Use escalate-xhigh for
hard design or debugging work, and escalate-max for security, production data, or a problem that already failed.
To see how it's been routing:
/compute-ladder:report
/compute-ladder:report --days 7
The report's flags are token-size heuristics, not verdicts. Read the prompt before deciding a turn was misrouted.
Tested on Claude Code 2.1.285. Needs a model that supports effort levels (Opus 5.5, Sonnet 5.5, Fable 5.1 and their
recent predecessors), and access to Sonnet 5.5 for low-worker. Node.js 20 or later for the hooks.
ISC
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.