Claude Code usage

Rightsize

Make every Claude token count. A Claude Code plugin that picks the model and effort for every prompt.

27 stars 6 forksUsage & cost trackers Plugin marketplace Source

Install

Install
claude plugin marketplace add archid21/rightsize

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/archid21/rightsize.git

From the README

rightsize

Make every Claude token count.

rightsize sends each prompt to the cheapest model and effort that does the job, raises effort only when Claude is actually stuck, and keeps your cache and context from costing more than they should. No profiles, no tuning: one rule set, two switches.

Status: 0.14.0. Keep warm only while it pays, a Wrap up button, handoff-style compacts, and an opt-in warning for big turns. See New in 0.14.0.

MIT license · works with a Claude subscription (Pro, Max, Ultra) or an API key · Open an issue

Why use it

Same outcome, lower cost from an Opus start. Routine work goes to Haiku or Sonnet helpers and lower effort; Opus keeps the work that needs it. On our coding benchmark it matched Opus at up to 30% lower cost (API-equivalent).

Effort follows evidence, not guesses. A rating never raises effort on Opus or Fable at prompt time. Effort goes up mid-turn only when the turn shows trouble: repeated failures, a loop, or two fixes in a row that leave the tests red. You stop paying for high effort that buys nothing.

Stronger reviews from a Sonnet start. Reviews switch to Opus for that one turn and come back. You get Opus-grade review without switching models yourself. If your default is Sonnet you may spend more: on our coding benchmark, about 1.4x to 2x what Sonnet alone costs, almost all of it from reviews. Your cost depends on how many reviews you run.

It learns which routes to trust. Every hand-off, lowering, test run and thumbs rating scores the rater per kind of work and model. A model that misses on reviews stops getting reviews until your own outcomes say otherwise.

Cut cache and compact costs. Keeps the cache warm only while your own record says that is cheaper than coming back cold, stops if the cache misses, warns as your context…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
15 November 2026
Topics
ai-agentsai-costanthropicclaudeclaude-codeclaude-code-hooksclaude-code-plugincontext-windowcost-controlcost-optimizationdeveloper-toolsfinops

FAQ

What is Rightsize?

Make every Claude token count. A Claude Code plugin that picks the model and effort for every prompt. It is a usage for Claude Code, from archid21/rightsize on GitHub.

How do I install Rightsize?

Run claude plugin marketplace add archid21/rightsize, then follow the setup in the README.

Is Rightsize popular?

archid21/rightsize has 27 GitHub stars and 6 forks. It was last updated on 15 November 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.