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.

catnap

LippInc/catnap

Claude compacts its own conversation at a clean break, then carries on by itself. A gentle note at 50% context or 300K tokens, whichever comes first, a strict one at 60% or 400K, Claude Code's auto-compact at 70% or 500K as the backstop, and a compact_now tool. All the lines are settings.