model-fit

by a-pavithraa · ★ 0 · updated 28 days ago

BandsCommandsPromptwarnings

0

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 would have cost; warns when an ask runs on too small a model or a complex one at low effort; says when the context has grown expensive and how to shrink it; ships /model-fit:baton, a handoff note for a fresh...

install model-fit

Install

/plugin marketplace add a-pavithraa/claude-mods
/plugin install model-fit@my-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startprompt.submitturn.startturn.stepturn.completesession.measurecommand.runui.render
API calls
$.clock.after$.clock.sleep$.command.register$.env.get$.http.fetch$.model.classify$.prompt.fill$.prompt.read$.session.messages$.session.usage$.settings.read$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
every prompt
Reach
level 3 of 3 networkdrives Claudewrites the prompt boxreads env varsreads settingsreads the transcriptreads the prompt boxreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/a-pavithraa/claude-mods
Path in repo
plugins/model-fit
Source commit
a3e511e the exact code the scan read
Author
@a-pavithraa
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from a-pavithraa/claude-mods

hindsight

a-pavithraa/claude-mods

Notices snags that come back across sessions (search spirals, fix loops, large tool outputs) and offers one change to the environment that stops them.

★ 0BandsGuardsCommands

toolbelt

a-pavithraa/claude-mods

Lists the plugins, skills and MCP servers you have not used lately and that cost tokens every turn (/unused), judged by Claude Code's own counters, and disables or removes them from a pane.

★ 0PanesGuardsCommands

triage-gate

a-pavithraa/claude-mods

Flags a turn that wrote a lot and offers a /guide reading order; before Claude commits, measures the change's blast radius and asks Jev about risk and readability, then lets it through, flags it, or holds it for review.

★ 0PanesGuardsCommands