๐ŸŒ
Claude
code.claude.com โ€บ docs โ€บ en โ€บ hooks
Hooks reference - Claude Code Docs
This page provides reference documentation for implementing hooks in Claude Code.
๐ŸŒ
Claude
docs.claude.com โ€บ en โ€บ docs โ€บ claude-code โ€บ hooks
Hooks reference - Claude Docs
This page provides reference documentation for implementing hooks in Claude Code.
๐ŸŒ
Reddit
reddit.com โ€บ r/claudeai โ€บ claude code now supports hooks
r/ClaudeAI on Reddit: Claude Code now supports hooks
July 1, 2025 - How do you enable this? I had a look here but couldnโ€™t find it (unless I missed it) https://docs.anthropic.com/en/docs/claude-code/settings ... I changed my whole workflow to spec-driven using UserPromptSubmit Event and Stop hooks.
๐ŸŒ
GitButler Docs
docs.gitbutler.com โ€บ features โ€บ ai-integration โ€บ claude-code-hooks
Claude Code Hooks | GitButler Docs
{ "hooks": { "PreToolUse": [ { "matcher": "Edit|MultiEdit|Write", "hooks": [ { "type": "command", "command": "but claude pre-tool" } ] } ], "PostToolUse": [ { "matcher": "Edit|MultiEdit|Write", "hooks": [ { "type": "command", "command": "but claude post-tool" } ] } ], "Stop": [ { "matcher": "", "hooks": [ { "type": "command", "command": "but claude stop" } ] } ] } } Essentially, you want to run the but claude pre-tool command before any code generation or editing, and the but claude post-tool command after it.
๐ŸŒ
GitHub
github.com โ€บ disler โ€บ claude-code-hooks-mastery
GitHub - disler/claude-code-hooks-mastery
Hooks communicate status and control flow through exit codes: ... Hook executed successfully. stdout shown to user in transcript mode (Ctrl-R) ... Critical: stderr is fed back to Claude automatically.
Starred by 2K users
Forked by 431 users
Languages ย  Python
๐ŸŒ
HexDocs
hexdocs.pm โ€บ claude_agent_sdk โ€บ hooks_guide.html
Claude Code Hooks Guide โ€” claude_agent_sdk v0.6.8
Claude Code Hooks are callback functions that execute at specific lifecycle events during Claude's agent loop.
๐ŸŒ
ClaudeLog
claudelog.com โ€บ home โ€บ mechanics โ€บ development โ€บ hooks
ClaudeLog - Claude Code Docs, Guides, Tutorials & Best Practices
Master Claude Code hooks for automated workflow responses. Learn PreToolUse, PostToolUse triggers, smart dispatching patterns, and deployment validation.
๐ŸŒ
Eesel AI
eesel.ai โ€บ blog โ€บ hooks-in-claude-code
A complete guide to hooks in Claude Code: Automating your development workflow - eesel AI
Explore our complete guide to hooks in Claude Code. Learn what they are, how they work, and their limitations for true business workflow automation.
๐ŸŒ
Apidog
apidog.com โ€บ blog โ€บ claude-code-hooks
What is Claude Code Hooks and How to Use It
July 2, 2025 - This article serves as a comprehensive guide to understanding, configuring, and leveraging Claude Code Hooks to create a fully automated and streamlined development workflow. At their core, Claude Code Hooks are user-defined shell commands that execute automatically at specific points in Claude Codeโ€™s lifecycle.
Find elsewhere
๐ŸŒ
Medium
medium.com โ€บ @joe.njenga โ€บ use-claude-code-hooks-newest-feature-to-fully-automate-your-workflow-341b9400cfbe
How Iโ€™m Using Claude Code Hooks (Newest Feature) To Fully Automate My Workflow
July 8, 2025 - Claude Code has introduced hooks that now automate your workflow in a way similar to triggers โ€” executing automatically at specific points
๐ŸŒ
Claude
claude.com โ€บ blog โ€บ how-to-configure-hooks
Claude Code power user customization: How to configure hooks | Claude
2 weeks ago - Hooks are configured in your settings files using a JSON structure with event names, matchers (to filter which tools trigger the hook), and the commands to run. They execute in your local environment with your user permissions, receiving information about the triggering event via stdin and communicating back through exit codes and stdout.
๐ŸŒ
HexDocs
hexdocs.pm โ€บ claude โ€บ guide-hooks.html
Hooks Guide โ€” claude v0.5.3
%{ hooks: %{ stop: [:compile, :format], subagent_stop: [:compile, :format], post_tool_use: [:compile, :format], # These only run on git commit commands pre_tool_use: [:compile, :format, :unused_deps] } } ... The default blocking?: false setting keeps you informed about issues without causing ...
๐ŸŒ
GitHub
github.com โ€บ hesreallyhim โ€บ awesome-claude-code
GitHub - hesreallyhim/awesome-claude-code: A curated list of awesome commands, files, and workflows for Claude Code
Numerous specialized agents, slash-commands, and strong documentation. All parts of Claude Code's system prompt, including builtin tool descriptions, sub agent prompts (Plan/Explore/Task), utility prompts (CLAUDE.md, compact, Bash cmd, security review, agent creation, etc.). Updated for each Claude Code version. Professional development environment for Claude Code with spec-driven workflow, TDD enforcement, cross-session memory, semantic search, quality hooks, and modular rules integration.
Starred by 18.5K users
Forked by 1.1K users
Languages ย  Python 98.9% | Makefile 1.1%
๐ŸŒ
GitButler
blog.gitbutler.com โ€บ automate-your-ai-workflows-with-claude-code-hooks
Automate Your AI Workflows with Claude Code Hooks | Butler's Log
July 24, 2025 - Since we want to know when something is completed, we'll use the Stop hook, which fires when everything in a session is done. ... .claude/settings.json - Project settings, only runs on that project and should be committed (for the rest of your team) .claude/settings.local.json - Local project settings, meant to not be committed, just for you. Claude Code should look for all of these files, and fire every hook that matches in any of them.
๐ŸŒ
Suite Insider
suiteinsider.com โ€บ home โ€บ complete guide: creating claude code hooks
Complete Guide: Creating Claude Code Hooks - Suite Insider
October 7, 2025 - What are Claude Code Hooks? Claude Code hooks are automated scripts that run at specific points in Claude Codeโ€™s lifecycle. They allow you to: Hook...
๐ŸŒ
Builder.io
builder.io โ€บ blog โ€บ claude-code
How I use Claude Code (+ my best tips)
September 29, 2025 - It adds some hooks for what code should run before edits are accepted, such as run Prettier on a specific file, or after edits, like write a type check on a specific file to make sure that it only accepts good and correct files.