Guards

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

agent-flow

JinhaoFang/claude-mods

The agent flow pane: /flow opens a live tree of the session's subagents and teammates beside the transcript, fed by engine events, with a text fallback where no pane can be drawn.

★ 0PanesStatus lineReskins

block-destructive-commands

JinhaoFang/claude-mods

Denies Bash commands that match destructive patterns (recursive rm on roots, force push, hard reset, destructive SQL, disk formatting) before they run. A tool.call hook with a Bash matcher that returns { deny } without calling next.

★ 0Guards

image-view

JinhaoFang/claude-mods

Previews images in the prompt and in the transcript: pasted images and image paths above the prompt, images a tool read under its result; pictures in kitty and Ghostty, block thumbnails elsewhere, each with a link to the file

★ 0BandsReskinsGuards

redact

JinhaoFang/claude-mods

Rewrites sensitive data (emails, IPs, credentials, addresses, phone numbers) out of what enters the model context