1. 1Claude Code Hooks Masterydisler/claude-code-hooks-masteryReference project demonstrating every Claude Code hook event with working Python scripts for logging, blocking and TTS.4k
  2. 2Multi-Agent Observabilitydisler/claude-code-hooks-multi-agent-observabilityStreams hook events from many Claude Code agents to a live web dashboard for real-time monitoring.1.6k
  3. 3Claude Code Ultimate GuideFlorianBruniaux/claude-code-ultimate-guideThe most comprehensive Claude Code guide: agentic workflows, hooks, skills, MCP servers, quizzes, and production-ready templates. 430K+ lines.6.3k
  4. 4destructive_command_guardDicklesworthstone/destructive_command_guardFast Rust PreToolUse hook that stops destructive shell, git and filesystem commands before they run.6.2k
  5. 5Continuous Claude V3parcadei/Continuous-Claude-v3Context management for Claude Code. Hooks maintain state via ledgers and handoffs. MCP execution without context pollution. Agent orchestration with isolated context windows.3.9k
  6. 6TDD Guardnizos/tdd-guardHook-based enforcer that blocks code changes which skip the red-green-refactor TDD cycle.2.4k
  7. 7Everything Claude CodeWorldFlowAI/everything-claude-codeClaude Code toolkit - agents, commands, skills, rules, and hooks for productive AI-assisted development5.8k
  8. 8Skillsharerunkids/skillshareSync skills, agents, MCP, plugins to all AI CLI tools with one command and simplify team sharing.2.9k
  9. 9Claude Memory Compilercoleam00/claude-memory-compilerHooks that capture sessions and compile them into evolving project memory for Claude Code.1.3k
  10. 10Claude Code Prompt Improverseverity1/claude-code-prompt-improverIntelligent prompt improver hook for Claude Code. Type vibes, ship precision.2k
  11. 11CC Safety Netkenryu42/cc-safety-netPre-execution guard hook that blocks dangerous git and filesystem commands issued by coding agents.1.9k
  12. 12Everything Claude Code Zhxu-xiang/everything-claude-code-zheverything-claude-code 中文翻译项目:完整的 Claude Code 配置集合(agents, skills, hooks, commands, rules, MCPs)。源自 Anthropic 黑客松获胜者的实战配置,助力中文工程师高效理解与使用 Claude Code。2k
  13. 13claude-code-hookskaranb192/claude-code-hooksCollection of safety, cost, observability and productivity hooks, also installable as a plugin marketplace.572
  14. 14Kubbkubb-labs/kubbTurn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.1.8k
  15. 15MedusaPantheon-Security/medusaAI-first security scanner. NEW in v2026.7: Claude Code compromise detection — vet .claude/ hooks, permissions & skills before you clone — plus an always-on AI attack-signature scanner and native Rust & PHP rules. Also: medusa scan --git to vet any repo, medusa secrets scan for leaked API keys. 40,000+ patterns, zero setup.1k
  16. 16Claude Code Voice Hooksshanraisshan/claude-code-hooksAdds spoken voice feedback to each Claude Code hook event.563
  17. 17Claude Code TamagotchiIdo-Levi/claude-code-tamagotchiVirtual pet that watches Claude's actions through hooks and interrupts when it breaks your rules.435
  18. 18Claude Code Configjarrodwatts/claude-code-configMy personal Claude Code configuration - rules, hooks, agents, skills, and commands1.1k
  19. 19claude-hooksjohnlindquist/claude-hooksTypeScript framework for writing typed Claude Code hooks with a generated starter setup.397
  20. 20Instagram Skillssergebulaev/instagram-skillsInstagram marketing skills for Claude Code and Codex: captions, carousels, hooks, hashtag strategy, and a weekly plan. Draft, humanize, and publish via Publora. MIT. Content engineering by Creative Content Crafts.728
  21. 21Lasso Claude Hookslasso-security/claude-hooksSecurity hooks from Lasso that scan tool output for prompt-injection attempts.271
  22. 22nWavenWave-ai/nWaveAI agents that guide you from idea to working code, with you in control at every step.631
  23. 23Abidecoldteadotai/abideMake your coding agent abide by all your project rules621
  24. 24LSP Enforcement Kitnesaminua/claude-code-lsp-enforcement-kitHooks that steer Claude Code toward LSP-based navigation instead of grep to save tokens.328
  25. 25Taskmasterblader/taskmasterStop hook for Claude Code that keeps the agent working until all plans and user requests are 100% complete533
  26. 26Gripguilyx/gripA git hook that won't let you push code you can't explain. Quizzes you on your own diff. Works with Claude Code, Codex, Cursor.439
  27. 27cchooksGowayLee/cchooksPython SDK that simplifies parsing hook input and returning decisions for Claude Code hooks.131
  28. 28TypeScript Quality Hooksbartolli/claude-code-typescript-hooksHooks that run TypeScript type checks, ESLint and Prettier automatically after Claude edits files.179
  29. 29Claudecode Rule2hookzxdxjtu/claudecode-rule2hookTransform natural language project rules into Claude Code automation hooks - Write rules in plain English and let Claude automatically generate powerful hooks for code formatting, testing, validation and more403
  30. 30Probitynizos/probityTDD enforcement and guardrail hooks for Claude Code, Codex and Copilot CLI from the TDD Guard author.241
  31. 31Claude OfficeW17ant/Claude-OfficeA pixel art virtual office that visualizes your AI agents working in real-time. Claude Code hooks, WebSocket events, and isometric pixel art.331
  32. 32Claude Code Pro Coursejustxor/claude-code-pro-courseClaude Code PRO — полный курс и гайд на русском: CLAUDE.md, settings, skills, subagents, hooks, MCP, плагины, CI. 8 лабораторных, библиотека промптов и готовый starter-kit. Здесь бесплатные курсы по chatgpt -339
  33. 33Workout GateBotchetDig/workout-gateJoke hook that blocks your prompt until you finish push-ups counted by webcam.220
  34. 34Dippyldayton/DippyLess permission fatigue, more momentum. Dippy knows what’s safe to run and keeps Claude on track when plans change.245
  35. 35Planktonalexfazio/planktonWrite-time code quality enforcement system for Claude Code. Every file edit triggers automated formatting and linting through fast Rust-based linters and dedicated Claude instances that intelligently fix remaining violations377
  36. 36claude-ip-guardcso1z/claude-ip-guardHook plugin that checks the current IP before allowing Claude Code to run.227
  37. 37Cute Claude Hooksgugug168/cute-claude-hooksChinese localisation tool for the Claude Code interface plus a set of practical hooks.205
  38. 38AI Maxzhukunpenglinyutong/ai-max一键给Claude Code 提高智商,包含生产级 agents、skills、hooks、commands、rules 和 MCP 配置334
  39. 39AI Agent Campminicoohei/ai-agent-campAI Agent Camp — non-engineer-friendly AI agent training curriculum. Lessons, skills, commands, and hooks for Claude Code, Cursor, and Codex.347
  40. 40Nimrodmixelpixx/NimrodWeb research for Claude over MCP: quality-scored Google search, clean extraction, deep research. Hosted connector for claude.ai/Desktop/Code + Nimrod Desktop toolkit (skills, agent, hooks).258
  41. 41Claude Code Spinneri1kazantsev/claude-code-spinnerЗамена фраз спиннера клод-кода для уважаемых вайбкодеров.320
  42. 42Model Router Hooktzachbon/claude-model-router-hookHooks that switch Claude's model tier automatically according to task complexity.107
  43. 43Model Matchmakercoyvalyss1/model-matchmakerLocal hook that routes each prompt to a suitable model tier to save cost.168
  44. 44agentlintmauhpr/agentlintLocal guardrail hooks that check proposed file edits and shell commands and block risky patterns.215
  45. 45Claude Code Boostyifanzz/claude-code-boostClaude Code Boost - Hook utilities for Claude Code with intelligent auto-approval165
  46. 46Claude Hooks SDKbeyondcode/claude-hooks-sdkPHP library for building Claude Code hooks with a fluent API.68
  47. 47jev-guardleepokai/jev-guardRisk-scores each tool call with session context and decides to allow, ask or deny.144
  48. 48Claude Code Crash Courseemarco177/claude-code-crash-courseHands-on crash course for Claude Code with branch-based projects on MCP, subagents, hooks, and automation.191

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs →