Claude Code mod
guard
Guardrails for Claude Code: warns on or blocks dangerous commands, secret access and self-config edits, with a log and /guard.
Install
/plugin marketplace add LordSantox/guard
/plugin install guard@guardMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads settings, persists state, draws
- Sees
- every tool call
- Draws in
Pane- Hooks
session.startcommand.runtool.callui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- LordSantox/guard
- Folder
.- Marketplace
guard- Author
- LordSantox
- License
- MIT
- Last updated
- 20 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is guard?
Guardrails for Claude Code: warns on or blocks dangerous commands, secret access and self-config edits, with a log and /guard. It is a mod for Claude Code, from LordSantox/guard on GitHub.
What can the guard mod access?
Its widest reach is "reads" (reads settings, persists state, draws). It sees every tool call. It draws in Pane. Like any mod, it runs with your permissions.
How do I install guard?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add LordSantox/guard and then /plugin install guard@guard.
More guard & safety mods
gsd-whisper
davesienkowski/gsd-cc-mods
Shows you what gsd-core's hooks quietly tell the agent: context warnings, guard advice and guard denials.
guard
soyakaai-studio/claude-herdr-mods
Blocks risky shell commands (phone deletes, printing secrets, self-killing pkill) and strips secrets pasted into messages
grammar-guard
Ev3nt1ne/grammar-guard
Grammar fixes for prompts you type or dictate: optional auto-fix on send (LanguageTool rules or a light Haiku fix), Haiku drafts that know your project's terms, and word tools (your language to English, synonyms).
guardia-despacho
Gagaismo/orca-stack
Bloquea o corrige los scripts de despacho y revisión según las reglas del proyecto (.orca-stack.json). Apagado si el proyecto no declara despacho.
ghost-proc-guard
thieung/claude-mods
Stops Claude from starting a second copy of your dev servers on the next free port (monorepos and worktrees included), tracks the servers it starts, and stops leftovers from a /procs pane.
guardia-llaves
enpixeles-ai/mods-claude
Tapa las llaves y contrasenas antes de que Claude las vea, y le prohibe imprimir archivos de secretos.
Browse the most popular Claude Code mods, all guard & safety mods, or the skills and MCP server directories.