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.
| Type | Claude code mod |
|---|---|
| Author | a-pavithraa |
| Repository | a-pavithraa/claude-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (52/100) |
| Rank | #4,621 of 9,397 Claude Code mods; #796 in Cost & usage |
| Last commit | 2026-11-27 |
| Hooks | 8 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
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.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.http.fetch | network requests |
$.model.classify | drives Claude |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.session.messages | reads the transcript |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install model-fit?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)