What is garde-prod?
garde-prod is a Claude Code mod by DarkSawOktay that production guard: flags every command that touches production or is risky (force push, secrets, rm -rf…), checks for a fresh database backup before a production write (can refuse without. It is listed under Security and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | DarkSawOktay |
| Repository | DarkSawOktay/claude-mods |
| Popularity | 2 GitHub stars |
| Category | Security |
| Security | Low risk (88/100) |
| Rank | #1,147 of 5,272 Claude Code mods; #132 in Security |
| License | MIT |
| Last commit | 2026-10-07 |
| Hooks | 4 events |
| Sees | Bash calls |
| Draws on | AbovePrompt, Pane |
Is garde-prod safe to install?
garde-prod scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 7 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 no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.state.get | |
$.state.set | |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install garde-prod?
- 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/DarkSawOktay/claude-mods claude plugin validate ./claude-mods/garde-prod
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/DarkSawOktay/claude-mods && claude --plugin-dir ./claude-mods/garde-prod
Or ask Claude to set it up
Paste this into Claude Code and it installs garde-prod for you:
Install the "garde-prod" Claude Code mod from https://github.com/DarkSawOktay/claude-mods/tree/main/garde-prod. Run claude plugin validate on it first and show me what it can access before you enable it.
More from DarkSawOktay/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- apk-fraicheur: Android APK freshness: is the APK up to date with the code, build in progress and its duration, failures and out-of-memo (Review before installing)
- ou-on-en-est: Where things stand: every repo's branch, uncommitted and unpushed work, PR and CI; on your server, the deployed commit a (Review before installing)
- suivi-conso: Usage tracking for Claude Code: 5-hour and weekly quota left, context, session cost, run-out forecast, saving tips, 7-da (Review before installing)