CLAUDE CODE
328 items
207 posts, 3 tools, 118 guides
Guide
UserPromptSubmit Hook - Claude CodeFires before Claude processes user input; can validate or block.
Guide
UserPromptExpansion Hook - Claude CodeFires when a slash command expands; can block or inject context.
Guide
PreToolUse Hook - Claude CodeFires before any tool executes. Allow, deny, defer, or modify the call.
Guide
PostToolUse Hook - Claude CodeFires after a successful tool call. Good for feedback and follow-ups.
Guide
PostToolUseFailure Hook - Claude CodeFires on tool execution errors for logging, alerting, and retry.
Guide
PermissionRequest Hook - Claude CodeFires when a permission dialog appears. Auto-approve or auto-deny.
Guide
ConfigChange and InstructionsLoaded Hooks - Claude CodeFire when settings or CLAUDE.md files change during a session.
Guide
Prompt-Based Hooks - Claude CodeUse Claude itself to handle hook logic instead of shell scripts.
Guide
MCP Installation Scopes - Claude CodeLocal, project, user, and plugin-level MCP configurations.

Get Smarter About AI Dev
New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.
One email per weekReal code, not theoryFree forever