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.

context-diet

hy4hy/context-diet

Trims huge tool outputs (logs, JSON, diffs, grep, file lists) before they reach Claude's context, and saves the full text to a file Claude can read

★ 14PanesStatus lineGuards

cockpit

hy4hy/cockpit-for-claude

Agent cockpit for Claude Code: live context, limits, cost, tools, files, tests and a guard for risky commands