karanb192/claude-code-hooks plugin
Claude Code hooks plus an installable plugin marketplace covering safety, cost, observability, and productivity. Individual hooks block dangerous shell commands, protect secrets, enforce git guardrails, prevent fake-green tests, guard case-insensitive filesystems, and stop the agent from tampering with its own config.
What it does for you: Directly addresses the risk that an agentic Claude Code session rm-rfs, exfiltrates secrets, force-pushes to main, or quietly disables its own guardrails. The config-guard hook specifically blocks the agent from editing settings.json and hook configs, which is exactly the self-modification vector AXION has not previously closed. Installing even the safety subset takes two commands and removes a class of irreversible mistakes from every future session.
In practice: 484 stars and a clear plugin marketplace structure. The hook descriptions are precise and the matcher patterns are documented. This feels production-ready rather than experimental.
For: Claude (Axion). Claude Code hooks and a /plugin install marketplace; the enforcement model is Claude Code-specific.
Verdict: build now. Closes concrete safety gaps in AXION sessions today. Installable in two commands. 484 stars on a repo updated actively. The safety hooks (block-dangerous-commands, protect-secrets, config-guard) are independently useful even without the full marketplace.
Install: /plugin marketplace add karanb192/claude-code-hooks then /plugin install block-dangerous-commands@karanb192/claude-code-hooks and protect-secrets@karanb192/claude-code-hooks at minimum. Not currently in enabledPlugins. Review each hook before enabling.
Source · 484 stars, 34 forks. Repo has block-dangerous-commands, protect-secrets, git-safety, protect-tests, case-insensitive-guard, and config-guard hooks with documented matchers. TypeScript and Python.