Guards

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

receipts

ryx2/slopshopper

A ledger of what Claude touched this session: files created and edited, commands run and whether they failed, the git diffstat after each turn. /receipts prints it as Markdown for a PR description or a standup, or copies it to the clipboard.

★ 1PanesReskinsGuards

secret-shield

ryx2/slopshopper

Keeps secrets out of the transcript and out of the repo: redacts API keys, tokens, private keys and password URLs from tool results before Claude reads them, and refuses a Write, Edit or Bash command that embeds one.

★ 1BandsGuardsCommands

slop-detector

ryx2/slopshopper

Catches slop as Claude writes it: refuses a file edit that replaces code with a '... rest of the code' placeholder, and tracks TODO stubs, not-implemented throws, debug prints, @ts-ignore and other leftovers in a band above the prompt and a /slop pane.

★ 1PanesBandsGuards

test-pulse

ryx2/slopshopper

Runs your test suite after every turn in which Claude changed source, and keeps the result above the prompt: green with the pass count, red with the first failing test. Detects bun, npm, pytest, cargo and go, or runs the command you set. Toasts on a regression and a recovery.

★ 1PanesBandsGuards

tripwire

ryx2/slopshopper

Holds destructive commands until you say so: rm -rf, force pushes, git reset --hard, DROP TABLE, curl | sh, sudo, chmod -R 777, edits to .env. One question in Claude's own dialog, fail-closed if the guard itself breaks, and a /tripwire log of every decision.