claude

model-guard

🚨 Statusline that catches silent model downgrades in Claude Code — and hooks that undo a safeguard-flag downgrade: stop, switch to your recovery model, continue.

2 on GitHubby ventusffv1.14.0MITupdated 11 days ago
/

Plugin model-guard from marketplace cli-model-guard in ventusff/cli-model-guard. Commands read from the repo's manifest — 10 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (2)

  • remove

    Cleanly uninstall the model-guard statusline — unregisters statusLine from ~/.claude/settings.json (restoring any previously saved statusline), and optionally deletes the installed scripts and config.

  • setup

    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 (with a timestamped backup) and checks the keystroke channel the recovery hooks need. Safe t

Hooks (8)

  • SessionStart

    "${CLAUDE_PLUGIN_ROOT}/scripts/check-install.sh"

  • SessionStart

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

  • SessionEnd

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

  • PreModelSwitch

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

  • PostModelSwitch

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

  • PreToolUse

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

  • Stop

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

  • UserPromptSubmit

    "${CLAUDE_PLUGIN_ROOT}/scripts/guard-hook.sh"

View source on GitHub

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations

24 skills · 1 command · 1 agent · hooks

ruvnet/ruflo 81,589

5 skills + 35 modes + Material Passport pipeline. Includes v3.6.7 cross-model audit gate and v3.6.8 generator-evaluator contract.

5 skills · 16 commands · 4 agents · hooks

Imbad0202/academic-research-skills 56,698

Install the "Architecture & Domain Modeling" workflow plugin from Agentic Awesome Skills.

13 skills

sickn33/agentic-awesome-skills 49,620

Databricks skills for the CLI, Apps, Lakebase, Model Serving, Lakeflow Jobs, Spark Declarative Pipelines, Declarative Automation Bundles (DABs), and classic-to-serverless migration.

37 skills · 2 commands · hooks

anthropics/claude-plugins-official 47,076

ifixai

claudecodex

Independent auditing for AI agents, open source. Claude discovers your setup, confirms the cost, and audits your agent against the one question other tools skip: is it doing the job it's supposed to do, given your business rules and org structure? Test any model (Anthropic, OpenAI, Gemini, Azure, Bedrock, …) graded by self, one independent judge, or a cross-vendor panel; each provider is billed to its own account via a key in your settings, never the command line. Results render as an interactive artifact (with a static-report fallback).

1 skill · hooks

ifixai-ai/iFixAi 45,158

Maintain model-guard?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted