Guards

2 mods

Guards sit in front of the tools Claude uses. They can allow, deny or rewrite a tool call before it runs, for example to block risky shell commands or keep secrets out of tool output, using the tool.call and tool.check hooks.

delete-guard

systemNEO/claude-code-mods

Deleting outside the project folder requires the user's approval (Bash, PowerShell, cmd, subagents, MCP).

★ 1ToastsGuardsCommands

overwrite-guard

systemNEO/claude-code-mods

Stops Claude from rewriting whole existing files: Write on an existing file and shell commands that replace one (>, tee, cp, mv, python/node writes) are refused with a request to use Edit.