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.
| Type | Claude code mod |
|---|---|
| Author | Arkboi-GG |
| Repository | Arkboi-GG/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (80/100) |
| Rank | #4,982 of 9,397 Claude Code mods; #572 in Security |
| Last commit | 2026-11-16 |
| Hooks | 4 events |
| Sees | classic hooks, every tool call |
| Draws on | AbovePrompt |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.process.run | runs processes |
$.session.id | |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install env-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)