Topic
All blog posts, tools, and guides about Hooks from Developers Digest.
15 resources - 5 posts, 10 guides

A guard hook that crashes, times out or points at a missing script lets the tool call through by default in Claude Code. v2.1.295 adds onFailure: block. Here is what each coding agent does when your policy hook breaks, with real test runs.

Claude Code mods are plugins whose JavaScript handlers run inside Claude Code. What they do that hooks and skills cannot, a first mod, and the trust question.

Commercial underwriters drown in PDF submissions. Here is how to build a Claude Agent SDK triage bot with skills, hooks, and a clean audit trail.

Claude Code hooks still install by hand-editing JSON. The Hookyard prototype shows what a hook package manager should look like, from manifest to safe install.

Manufacturing teams ship ladder logic and ESP32 firmware without code review. Here is a Codex CLI setup with hooks that catches the dangerous patterns first.
SessionStart hooks can persist env vars across Bash tool calls.
GuideEvent-driven automation with 20+ lifecycle events.
GuideFire when subagents spawn and finish.
GuideFire on task lifecycle events.
GuideFire when settings or CLAUDE.md files change during a session.
GuideFire before and after context compaction.
GuideRun shell scripts on events with environment variable passing.
GuideUse Claude itself to handle hook logic instead of shell scripts.
GuideSpawn subagents to handle complex hook logic.
GuideRun hooks in the background without blocking the session.
GuideKeep exploring

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.
Explore 844 topics
Browse All Topics