setup

setup is a skill for Claude Code from ventusff/claude-model-guard. It costs 76 tokens per session (2,214 once invoked), scanned C, original, MIT.

An interactive setup skill for installing or reconfiguring a model-guard status line. A status line is text shown in the agent interface while it works.

In plain words
What is it for?
Use it to install or refresh the model-guard script, configuration, and status-line entry in the agent settings.
Why use it?
It collects display preferences and updates the required local files, while keeping a timestamped backup of the settings file.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the model-guard plugin — 3 skills, 7 hooks shipped together

Good fit Use it to install or refresh the model-guard script, configuration, and status-line entry in the agent settings.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add ventusff/claude-model-guard
Claude Code
/plugin install model-guard

Made for: Claude Code.

Or install model-guard, the plugin that ships this one along with the rest of its 3 skills, 7 hooks.

Wrote 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.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ventusff/claude-model-guard/setup/github.svg)](https://agentmods.dev/skills/ventusff/claude-model-guard/setup)
Your own site
<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.

agentmods 80×15 button for setup

Your own site · 80×15
<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>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,214 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash cf753e64763d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
skills/setup/SKILL.md · 154 lines

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 statusLine key 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 current statusLine (if any) and the model field (used for auto-detecting the expected model — no question needed).
  • Read ~/.claude/model-guard.conf if 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_PANE set → tmux; ZELLIJ_SESSION_NAME + a numeric ZELLIJ_PANE_ID set → zellij; KITTY_WINDOW_ID set and KITTY_LISTEN_ON set → kitty; KITTY_WINDOW_ID set but KITTY_LISTEN_ON empty → 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 language setting, 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"

Read the full file on GitHub · 154 lines

Changes

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.

  1. 1mo ago Changed · +1 lines cf753e64763d
  2. 2mo ago Changed · +4 lines 0795f2c3e2c8
  3. 2mo ago Changed · +1 lines ad2664d09ce7
  4. 2mo ago Changed · +6 lines bf26b63d0a6f
  5. 2mo ago Changed · +42 lines · +20 tokens per session d3ae1afb6328
  6. 2mo ago First seen · 100 lines · 56 tokens per session scan C 3b538cb62988

Subscribe to this mod's changes

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.

Related

setup compared with skills from other repositories

setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setupventusff/claude-model-guardSkill21mo agoMITC76Claude Code
codex-setupWaterTian/cc-hudSkill94d agoMITA43Claude Code, Codex
prumputun/cc-thingzSkill4946d agoMITA51Claude Code
backlogumputun/cc-thingzSkill4946d agoMITA96Claude Code
clarifyumputun/cc-thingzSkill4946d agoMITA91Claude Code
writing-styleumputun/cc-thingzSkill4946d agoMITA52Claude Code
root-cause-investigatorumputun/cc-thingzSkill4946d agoMITA53Claude Code