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.

context-inspector

consolelabs/devkit

Context waste analyzer for Claude Code: what fills the window, re-reads, near-duplicate outputs, what compaction kept, advice

★ 15PanesGuardsCommands

loop-detective

consolelabs/devkit

Detect repeated Bash failures and edit/retry cycles with evidence, live cases and investigation prompts

★ 15PanesGuardsCommands

memory-lens

consolelabs/devkit

Recalls the few memories related to each prompt: one line for the human, one context entry for the model. Local files only, no network on the hot path.

★ 15GuardsCommandsPrompt

secrets-veil

consolelabs/devkit

Masks secret values in tool results before the model reads them: named vendor variables, value-shape patterns, and high-entropy tokens. No reveal path.