What is model-hint?
model-hint is a Claude Code mod by hashswingingslasher that suggests haiku, sonnet or opus for the task you are typing, live, in a band above the prompt. Instant word rules, then a small model reads the draft when you pause. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | hashswingingslasher |
| Repository | hashswingingslasher/model-hint |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Review before installing (68/100) |
| Rank | #3,665 of 9,397 Claude Code mods; #1,552 in Interface |
| License | MIT |
| Last commit | 2026-10-20 |
| Hooks | 8 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
Is model-hint safe to install?
model-hint scores 68/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; watches every prompt or event. It passed 4 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 |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.command.register | |
$.config.list | |
$.config.set | changes config |
$.model.complete | drives Claude |
$.prompt.read | |
$.session.model | |
$.session.surfaces | |
$.state.get | |
$.state.set | |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install model-hint?
- 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/hashswingingslasher/model-hint claude plugin validate ./model-hint/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add hashswingingslasher/model-hint && claude plugin install model-hint@model-hint
Or ask Claude to set it up
Paste this into Claude Code and it installs model-hint for you:
Install the "model-hint" Claude Code mod from https://github.com/hashswingingslasher/model-hint. Run claude plugin validate on it first and show me what it can access before you enable it.