karanb192/claude-code-hooks
A collection of JavaScript hooks that customize Claude Code's behavior for security, automation, and notifications.

Velocity · 7d
+3.1
★ / day
Trend
→steady
star history
This repository offers ready-to-use hooks for Claude Code that run before and after tool execution. Pre-tool-use hooks can block dangerous operations like secret exfiltration or risky shell commands, while post-tool-use hooks automate tasks like git staging. The hooks support configurable safety levels and include a test suite of 262 passing tests.