Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ventusff/claude-model-guard/plugin install model-guardWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ventusff/claude-model-guard/setup)<a href="https://agentmods.dev/skills/ventusff/claude-model-guard/setup"><img src="https://agentmods.dev/badge/skills/ventusff/claude-model-guard/setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ventusff/claude-model-guard/setup"><img src="https://agentmods.dev/badge/skills/ventusff/claude-model-guard/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.02214 |
| Opus 5.5 | $0.00030 | $0.00886 |
| Sonnet 5.5 | $0.00015 | $0.00443 |
| Haiku 4.5 | $0.00008 | $0.00221 |
Grade C, and why
setup scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
it (`sudo apt install jq` / `brew install jq` / `sudo pacman -S jq`), then exit. Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
description: Interactive setup for model-guard — asks three quick preference questions (band language, account display, auto-recovery), installs the statusline scripts, registers the statusLine in ~/.claude/settings.json How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
model-guard: interactive setup
You are installing (or reconfiguring) model-guard for this user: the statusline scripts and the auto-recovery hooks' configuration.
Plugin root: ${CLAUDE_PLUGIN_ROOT}
(If the path above looks like an unexpanded shell variable instead of a real
directory, locate the plugin root via claude plugin list --json or by finding
*/model-guard/scripts/statusline.sh under ~/.claude/plugins/.)
Target paths — use exactly these:
- scripts:
~/.claude/model-guard/(statusline.sh,lib.sh,text.sh) - config:
~/.claude/model-guard.conf - register: the
statusLinekey in~/.claude/settings.json
Follow the steps in order. Keep your final report short.
1. Preflight (one Bash call)
command -v jq— required. If missing, stop and tell the user how to install it (sudo apt install jq/brew install jq/sudo pacman -S jq), then exit.- Read
~/.claude/settings.json: note the currentstatusLine(if any) and themodelfield (used for auto-detecting the expected model — no question needed). - Read
~/.claude/model-guard.confif it exists (this run is then a reconfigure — mention the current values inside the question descriptions below). - Keystroke channel for auto-recovery, from this session's environment, first hit wins:
TMUX+TMUX_PANEset → tmux;ZELLIJ_SESSION_NAME+ a numericZELLIJ_PANE_IDset → zellij;KITTY_WINDOW_IDset andKITTY_LISTEN_ONset → kitty;KITTY_WINDOW_IDset butKITTY_LISTEN_ONempty → kitty without remote control (fixable, see step 3b); otherwise none.
2. Ask preferences (ONE AskUserQuestion call)
Question 1 — header "Language", band text language:
- "Auto (Recommended)" — follow Claude Code's
languagesetting, fall back to English - "English"
- "中文"
- "More…" — description: also available: 日本語 · 한국어 · Español · Français · Deutsch · Português; type one via Other (conf values: ja / ko / es / fr / de / pt)
Question 2 — header "Account", show the logged-in account email on the band (useful when juggling multiple accounts):
- "Show (Recommended)"
- "Hide"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +1 lines cf753e64763d
- 2mo ago Changed · +4 lines 0795f2c3e2c8
- 2mo ago Changed · +1 lines ad2664d09ce7
- 2mo ago Changed · +6 lines bf26b63d0a6f
- 2mo ago Changed · +42 lines · +20 tokens per session d3ae1afb6328
- 2mo ago First seen · 100 lines · 56 tokens per session scan C 3b538cb62988
setup is a skill published in the GitHub repository ventusff/claude-model-guard (2 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 2,214 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setupventusff/claude-model-guard | Skill | 2 | 1mo ago | MIT | C | 76 | Claude Code |
| codex-setupWaterTian/cc-hud | Skill | 9 | 4d ago | MIT | A | 43 | Claude Code, Codex |
| prumputun/cc-thingz | Skill | 494 | 6d ago | MIT | A | 51 | Claude Code |
| backlogumputun/cc-thingz | Skill | 494 | 6d ago | MIT | A | 96 | Claude Code |
| clarifyumputun/cc-thingz | Skill | 494 | 6d ago | MIT | A | 91 | Claude Code |
| writing-styleumputun/cc-thingz | Skill | 494 | 6d ago | MIT | A | 52 | Claude Code |
| root-cause-investigatorumputun/cc-thingz | Skill | 494 | 6d ago | MIT | A | 53 | Claude Code |