model-fit

model-fit is a Claude Code mod by a-pavithraa that after each ask you type, says what it looked like it needed and what it cost; after a simple or routine ask on a bigger model or effort than it needed, what Haiku, Sonnet or a lower effort.

Updated 2026-11-27

What is model-fit?

model-fit is a Claude Code mod by a-pavithraa that after each ask you type, says what it looked like it needed and what it cost; after a simple or routine ask on a bigger model or effort than it needed, what Haiku, Sonnet or a lower effort. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authora-pavithraa
Repositorya-pavithraa/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityHigh risk (52/100)
Rank#4,621 of 9,397 Claude Code mods; #796 in Cost & usage
Last commit2026-11-27
Hooks8 events
Seesevery prompt
Draws onAbovePrompt

Is model-fit safe to install?

model-fit scores 52/100 on the MCPMods security check: High risk. Things to review: sends data over the network; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.sleep
$.command.register
$.env.getreads env vars
$.http.fetchnetwork requests
$.model.classifydrives Claude
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.messagesreads the transcript
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install model-fit?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/a-pavithraa/claude-mods
    claude plugin validate ./claude-mods/plugins/model-fit
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add a-pavithraa/claude-mods && claude plugin install model-fit@my-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs model-fit for you:

Install the "model-fit" Claude Code mod from https://github.com/a-pavithraa/claude-mods/tree/main/plugins/model-fit. Run claude plugin validate on it first and show me what it can access before you enable it.

More from a-pavithraa/claude-mods

This repository has 4 Claude Code mods on MCPMods.

  • hindsight: Notices snags that come back across sessions (search spirals, fix loops, large tool outputs) and offers one change to th (Review before installing)
  • toolbelt: Lists the plugins, skills and MCP servers you have not used lately and that cost tokens every turn (/unused), judged by (Low risk)
  • triage-gate: Flags a turn that wrote a lot and offers a /guide reading order; before Claude commits, measures the change's blast radi (High risk)