model-advisor
by Pavankumar-23 · ★ 0 · updated 14 Oct 2026
0
Shows the model that fits each prompt (haiku/sonnet/opus) above the prompt and can auto-switch to it.
Install
git clone https://github.com/Pavankumar-23/claude-modsclaude --plugin-dir ./claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
prompt.submitsession.startui.render- API calls
$.command.run$.config.set$.session.model$.state.get$.state.set$.ui.log$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
every prompt- Reach
- level 2 of 3 changes configdrives Claudereads mod 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/Pavankumar-23/claude-mods
- Path in repo
- repository root
- Source commit
4c16aa7the exact code the scan read- Author
- @Pavankumar-23
- 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.