Guards

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

kgai-mod

kgaidev/kgai

Experimental kgai add-on for Claude Code with function hooks: checks each code-editing turn for a structural decision on the side, records it without a line in the transcript, and draws kgai's own tool calls as one line each. Requires the kgai plugin.