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.

self-compact

StevenLi-phoenix/claude-code-self-compact-plugin

Gives Claude a compact_context tool: it decides when to compact, the mod compacts once the turn ends, only past the idle-compaction size, reminds it past 300k tokens, carries on with the work it names, and a Stop hook such as /goal cannot hold it back