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.

phylax

ajbarea/techne

Opt-in Claude Code hooks: refuse attribution lines in commits and PRs, refuse staging COMMITS.md, refuse commits and pushes that carry a secret, refuse issue and PR bodies past their length budget, warn on commits in a main checkout, refuse a subagent call that would silently inherit the session's model, restart idle sessions onto an updated Claude Code, and route work to cheaper models while...