Automate your Claude Code workflow with hooks that react to events like tool usage, session stops, and file changes.
Continue readingPosts Tagged → hooks
Claude Code Extensibility: Skills vs Hooks vs Subagents
Claude Code extensibility gives you four distinct mechanisms to reshape the agentic coding workflow around your team’s needs. Skills, Hooks, Subagents, and Plugins each occupy a unique position on the extensibility spectrum, and choosing the wrong one wastes time, tokens, and context. This guide gives you a decision framework so you pick correctly the first… Continue reading
Claude Code Mods: Write a Plugin That Hooks the Engine
TL;DR 45 sec9 min coredeep dive optional Mods are the Claude Code plugin type that hooks engine events directly: your register function rides every turn, permission check, and prompt. This tutorial builds a working one from three files, then runs and tests it. Mods landed in Claude Code 2.1.287 as plugins that may modify deeper… Continue reading
Claude Gates: Make Claude Code Prove Its Work in 2026
TL;DR 45 sec9 min coredeep dive optional Claude gates are hook-based checks in your repo that block Claude Code from finishing work until your rules pass: the destructive command never runs, the edit never lands unformatted, and the session never ends on a dirty working tree. Three hook events cover most gates: PreToolUse runs before… Continue reading