← all repositories

karanb192/claude-code-hooks

A collection of JavaScript hooks that customize Claude Code's behavior for security, automation, and notifications.

417 stars JavaScript Coding Assistants
claude-code-hooks
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.