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.

tokendoctor

localixai/tokendoctor

The same Claude Code for up to 38% less. Replays your own past sessions to show what each change would have saved, then changes only what you pick.