Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By maksymskuibidav3.0.0In 1 marketplace
Before the first real task of a session, a quick Haiku check asks whether the session model fits it, on four tiers: Haiku, Sonnet, Opus, Fable. On a mismatch you get a Switch or Stay dialog before anything runs. It respects your cap and your availableModels setting and, in auto, probes each model once a day; a transient error counts as available.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Highest modelhighestModel
The strongest model model-fit may suggest. auto: check which models your plan and settings allow, and never suggest one you can't use. Pick a cap (fable, opus, sonnet, haiku) if your plan lacks a model or you want to cost-limit suggestions.
One of auto, fable, opus, sonnet, haiku
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads environment variables (ANTHROPIC_DEFAULT_FABLE_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL); reads your settings; runs commands; calls a model on your account; reads or rewrites your prompts.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
stringdefault auto
Before the first real task of a session, a quick Haiku check asks whether the model you are on fits it, in both directions. When it does not, you get a small dialog before anything runs:
Model fit
Switch to Opus 5.5 for this task?
Switch to Opus 5.5 concurrent writes with a crash-safety requirement
Stay on Sonnet 5.5 Run it on Sonnet 5.5 as selected.
Sonnet 5.5 fits this task) and your prompt goes on untouched.Conversation and quick questions are not tasks; the check waits for the first real one and then never repeats in that session, even if the work changes.
Four tiers, cheapest first. The classifier decides by numbered rules (the full text is
CLASSIFIER_SYSTEM in hooks/classify.ts; it is the same file the evals measure):
| Tier | Fits | Rules |
|---|---|---|
| Haiku | No decision left to make: find, rename, reformat, translate, an exact spelled-out edit, run a command and report | H1-H4 |
| Sonnet | The default working tier: a competent engineer knows how, it takes judgment but the path is clear (features, bug fixes with a findable cause, refactors, tests, reviews, docs) | S1-S4 |
| Opus | Known territory where correctness hinges on reasoning tests rarely catch: concurrency, failure and data integrity, security against an adversary, cross-system architecture, a root cause that is unknown and spans layers | O1-O5 |
| Fable | No known path even for an expert: invent a new algorithm or protocol, an open research question, a whole new system from scratch with nothing to check against | F1-F3 |
The first rule that matches decides, size never raises the tier, and the person's own adjectives
("simple", "critical") decide nothing. Every classification, the first one and each recheck, is three cheap Haiku calls made in parallel
and the majority wins (about $0.0006 a check), so a single odd answer cannot decide it. A request that only points at content it does not show
(read PROMPT.md, implement) is "not enough" yet: see When the prompt isn't enough.
highestModel (a setting of the plugin, in /config) is the strongest model model-fit may suggest:
auto (default), fable, opus, sonnet or haiku. The plugin checks what it can before it
suggests a model: your cap, your availableModels setting, and in auto a probe once a day per
model. It cannot tell every failure apart, so it is a best effort and not a guarantee that a
suggested model works on your plan. The allowed tiers are those at or below the cap, narrowed by:
availableModels setting, read the way Claude Code reads it. When it is a non-empty
list, a tier is allowed only if some entry is its alias (opus), is the model's id or a
prefix of it up to a dash (claude-opus-5 admits claude-opus-5-5), or is its display name
(Opus 5.5). An entry for another version (claude-opus-4-1) does not admit claude-opus-5-5.
Haiku obeys the list like the other tiers.auto only, a probe, for the one tier about to be suggested, when its answer is not
remembered. The plugin sends that model a short question (16 tokens, low effort) and reads the
reply by what it says about the model:
model_not_found (any status), or the
status is 403 and the kind is not billing, authentication, rate limit or overload, or Claude
Code refused to send the call because the model is blocked or not allowed.auto there is no probe: the cap and the allowlist decide. Haiku is never probed.
Set a cap if your plan lacks a model.npx claudepluginhub maksymskuibida/mskuibida-ai-tools --plugin model-fitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.