env-guard

env-guard is a Claude Code mod by Arkboi-GG that a green/red environment badge above the prompt that turns red when Claude's tool calls touch anything that looks like production.

Updated 2026-11-16

What is env-guard?

env-guard is a Claude Code mod by Arkboi-GG that a green/red environment badge above the prompt that turns red when Claude's tool calls touch anything that looks like production. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorArkboi-GG
RepositoryArkboi-GG/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (80/100)
Rank#4,982 of 9,397 Claude Code mods; #572 in Security
Last commit2026-11-16
Hooks4 events
Seesclassic hooks, every tool call
Draws onAbovePrompt

Is env-guard safe to install?

env-guard scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. 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
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.process.runruns processes
$.session.id
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

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

Or ask Claude to set it up

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

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

More from Arkboi-GG/claude-mods

This repository has 6 Claude Code mods on MCPMods.

  • agent-crabs: A pixel-art crab for every running subagent, dressed for its role, showing what it is working on. (Low risk)
  • preflight: A live pre-commit checklist above the prompt: re-runs your typecheck, lint or any command after Claude edits files. (Low risk)
  • repo-status: A live git strip above the prompt: branch, ahead/behind, changed files and the open pull request's checks. (Low risk)
  • stack-health: Status dots above the prompt for your Docker Compose services and any local ports you name. (Review before installing)
  • task-progress: A bar above the prompt: gradient task progress while Claude works, usage rings (context, 5h, 7d) while idle. (Low risk)