β—† Claudius
Status

claude-code-hooks

Hook

πŸͺ A growing collection of useful Claude Code hooks. Copy, paste, customize.

by karanb192Β·karanb192/claude-code-hooksΒ·JavaScript
86Β· A
Install
git clone https://github.com/karanb192/claude-code-hooks
Stars
529
7d change
β–² 0.57%
Downloads / week
β€”
Last active
today
About

πŸͺ Ready-to-use hooks for Claude Code, shipped as a 22-plugin installable marketplace: safety, automation, notifications, and more.

Claude Code and agents like it run shell commands, edit files, and install packages on their own. claude-code-hooks enforces least privilege on that autonomy at runtime: every tool call passes through a `PreToolUse` or `PostToolUse` hook that allows, denies, or modifies it, with the reason fed back to the agent. Hooks run outside the model as separate processes, so prompt injection can't talk its way past them. The safety set blocks `.env` and secret exfiltration, `curl | sh`, `rm -rf`, force…

Read more on GitHub β†’
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
8 months
developer-toolsautomation#collection#ai-tools#anthropic#claude-code-hooks#claude-code-plugin#cli#hooks#marketplace#notifications#plugin#security