← all repositories

karanb192/claude-code-hooks

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

432 stars JavaScript Coding Assistants
claude-code-hooks
Not currently ranked — collecting fresh signals.
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.

Frequently asked

What is karanb192/claude-code-hooks?
A collection of JavaScript hooks that customize Claude Code's behavior for security, automation, and notifications.
Is claude-code-hooks open source?
Yes — karanb192/claude-code-hooks is open source, released under the MIT license.
What language is claude-code-hooks written in?
karanb192/claude-code-hooks is primarily written in JavaScript.
How popular is claude-code-hooks?
karanb192/claude-code-hooks has 432 stars on GitHub.
Where can I find claude-code-hooks?
karanb192/claude-code-hooks is on GitHub at https://github.com/karanb192/claude-code-hooks.

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