claude-code-hooks
Hookπͺ A growing collection of useful Claude Code hooks. Copy, paste, customize.
git clone https://github.com/karanb192/claude-code-hooksπͺ Guardrails for Claude Code and Codex CLI. Browse the 22-plugin marketplace and check host compatibility.
Before an agent runs a shell command or edits a file, these hooks check the action against rules outside the model. The guard pack blocks matched secret reads, dangerous commands, test disabling and destructive Git operations. A blocked call returns a reason to the agent. The coverage limits matter: hooks only see the events their host sends, and pattern checks are not a sandbox. The rewrite record lists the command spellings the shell guards must refuse, the mentions they must allow, and theβ¦
Start with guard-pack. Choose your agent:
Claude Code, inside a session:
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- MIT
- Age
- 10 months