What is model-guard?
model-guard is a Claude Code mod by Recokioshi that choose the model versions Claude and its subagents may use: /models lists the newest of each family from Anthropic's Models API (older versions one key away); block a version, or a. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Recokioshi |
| Repository | Recokioshi/claude-kit |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (84/100) |
| Rank | #4,378 of 5,272 Claude Code mods; #458 in Security |
| Last commit | 2026-10-16 |
| Hooks | 10 events |
| Sees | Workflow calls, classic hooks, subagent spawns |
| Draws on | Pane |
Is model-guard safe to install?
model-guard scores 84/100 on the MCPMods security check: Low risk. Things to review: sends data over the network. It passed 6 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 |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.command.register | |
$.fs.read | reads files |
$.http.fetch | network requests |
$.session.authorize | reads the transcript |
$.session.cwd | |
$.session.model | |
$.session.repo | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install model-guard?
- 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/Recokioshi/claude-kit claude plugin validate ./claude-kit/mods/model-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Recokioshi/claude-kit && claude plugin install model-guard@claude-kit
Or ask Claude to set it up
Paste this into Claude Code and it installs model-guard for you:
Install the "model-guard" Claude Code mod from https://github.com/Recokioshi/claude-kit/tree/master/mods/model-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Recokioshi/claude-kit
This repository has 4 Claude Code mods on MCPMods.
- git-gate: Git only when you asked: commits, pushes, pull requests, merges and destructive git commands run only when your latest m (Review before installing)
- handoff: Hand work to another session or repo without copy-paste: /handoff writes a note from facts it gathers itself (branch, co (High risk)
- progress-pane: Mission control for Claude sessions, in a Notebook look: a band and /progress pane in every session (model, effort, toke (Review before installing)