CLAUDE CODE
394 items
272 posts, 3 tools, 119 guides
Guide
Subagent Context Isolation - Claude CodePrevent bloating the main conversation with research or exploration.
Guide
SessionStart Hook - Claude CodeFires when a session begins; load env vars and initialize state.
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.

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