Awesome Claude Code Hooks banner
ithiria894 ithiria894

Awesome Claude Code Hooks

Development community

Description

Curated collection of Claude Code hooks for event-driven automation

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Awesome Claude Code Hooks [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)

Curated collection of Claude Code hooks — event-driven automations that trigger before or after Claude Code actions.

Hooks are shell commands that run automatically when Claude Code performs specific actions. They're defined in `settings.json` and trigger on events like `PreToolUse`, `PostToolUse`, `Notification`, `Stop`, and more.

Looking for complete workflow recipes? See [awesome-claude-code-workflows](https://github.com/ithiria894/awesome-claude-code-workflows). Looking for tools and skills? See [awesome-claude-code](https://github.com/hesreallyhim/awesome-claude-code).

Contents


Security and Prompt Injection

Hooks that detect and block prompt injection attacks in tool outputs.

  • Lasso Claude-Hooks - Scans tool outputs for 50+ prompt injection patterns including instruction overrides, role-playing jailbreaks, encoded payloads, and data exfiltration commands. Injects warnings into Claude's context. Triggers on: PostToolUse.
  • dwarvesf/claude-guardrails - Hardened security config with deny rules, destructive command blocking, pipe-to-shell blocki