auto-model
by Hussam El-Khazendar · ★ 0 · updated 29 days ago
Reads your first prompt and picks Haiku, Sonnet or Opus for the whole session (never switches mid-session, so the prompt cache stays intact)
Install
/plugin marketplace add hussam8988/claude-mods/plugin install auto-model@hussam-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
session.startturn.startturn.stepcommand.run- API calls
$.command.register$.config.list$.model.complete$.session.turns$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.status$.ui.toast- Reach
- level 2 of 3 drives Claudereads settingsreads 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/hussam8988/claude-mods
- Path in repo
plugins/auto-model- Source commit
4f5a06ethe exact code the scan read- Author
- Hussam El-Khazendar @hussam8988
- 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 hussam8988/claude-mods
prompt-upgrade
hussam8988/claude-mods
/boost asks a few quick questions, then rewrites a short prompt into a detailed one you can run, edit or copy
todays-report
hussam8988/claude-mods
/report shows how many tasks Claude did, the hours it saved you and what that time is worth, by day, week, month and year