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-lens
Darvl-52/agent-lens
Work with the agent in one place: each edit checked against your CLAUDE.md as it is made and each turn's diff reviewed, the branch through lenses (/changes); the OpenSpec change read for you (/spec); the skill each prompt needs loaded for it (/router).