Home / Claude Code mods / Security / model-guard

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.

Updated 2026-10-16

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.

TypeClaude code mod
AuthorRecokioshi
RepositoryRecokioshi/claude-kit
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (84/100)
Rank#4,378 of 5,272 Claude Code mods; #458 in Security
Last commit2026-10-16
Hooks10 events
SeesWorkflow calls, classic hooks, subagent spawns
Draws onPane

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.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.fs.readreads files
$.http.fetchnetwork requests
$.session.authorizereads the transcript
$.session.cwd
$.session.model
$.session.repo
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install model-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)