Home / Claude Code mods / Security / garde-prod

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.

Updated 2026-10-07

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.

TypeClaude code mod
AuthorDarkSawOktay
RepositoryDarkSawOktay/claude-mods
Popularity2 GitHub stars
CategorySecurity
SecurityLow risk (88/100)
Rank#1,147 of 5,272 Claude Code mods; #132 in Security
LicenseMIT
Last commit2026-10-07
Hooks4 events
SeesBash calls
Draws onAbovePrompt, 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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.state.get
$.state.set
$.ui.copydraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install garde-prod?

  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/DarkSawOktay/claude-mods
    claude plugin validate ./claude-mods/garde-prod
  3. 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)