Guards

3 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.

cm-block-dangerous-commands

rotbit/claudemods-marketplace

Refuses destructive Bash commands (rm -rf /, force-push to main, DROP TABLE, curl | sh, ...) before Claude runs them, and tells Claude why.

★ 0ToastsGuards

cm-git-branch

rotbit/claudemods-marketplace

Shows the current git branch, how many files changed and ahead/behind counts in a one-line band above the prompt.

★ 0BandsGuards

cm-tool-call-counter

rotbit/claudemods-marketplace

Counts Claude's tool calls per turn and per session, shows the count beside the spinner, and adds /tally for a per-tool breakdown with error counts.