Home / Claude Code mods / Security / prod-guard

prod-guard

prod-guard is a Claude Code mod by visiblesoft-es that shows a red band while a session touches production and asks you before any command that may change it, even in auto mode.

Updated 2026-11-04

What is prod-guard?

prod-guard is a Claude Code mod by visiblesoft-es that shows a red band while a session touches production and asks you before any command that may change it, even in auto mode. It is listed under Security and has 1 GitHub stars.

TypeClaude code mod
Authorvisiblesoft-es
Repositoryvisiblesoft-es/claude-mods
Popularity1 GitHub stars
CategorySecurity
SecurityReview before installing (72/100)
Rank#4,468 of 9,397 Claude Code mods; #530 in Security
LicenseMIT
Last commit2026-11-04
Hooks7 events
SeesBash calls, Monitor calls, every prompt
Draws onAbovePrompt, Pane

Is prod-guard safe to install?

prod-guard scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 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
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.process.runruns processes
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install prod-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/visiblesoft-es/claude-mods
    claude plugin validate ./claude-mods/prod-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add visiblesoft-es/claude-mods && claude plugin install prod-guard@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs prod-guard for you:

Install the "prod-guard" Claude Code mod from https://github.com/visiblesoft-es/claude-mods/tree/main/prod-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from visiblesoft-es/claude-mods

This repository has 5 Claude Code mods on MCPMods.

  • agent-dolls: Side pane with one little robot per agent (main and subagents); press one to see its conversation (Low risk)
  • claudebar-mod: claudebar as a mod: an interactive band with git, model, effort, context, rate limits, cache, tools and agents, plus det (Review before installing)
  • compact-handoff: Warns at a token threshold you choose and makes every compaction keep the plan, branch, pending checks and decisions, so (Low risk)
  • pinned-steps: Pins the step-by-step procedures Claude gives you above the prompt, so you can follow them while the conversation moves (Low risk)