hooks-automation
Comprehensive guide to Claude Code hooks — the system for running shell commands, LLM prompts, or subagents automatically at specific points in Claude Code's lifecycle. Use when creating, configuring, debugging, or understanding Claude Code hooks. Trigger phrases: "create a hook", "hook configuration", "hooks.json", "PreToolUse", "PostToolUse", "SessionStart", "hook events", "hook matchers", "automate with hooks", "prompt hooks", "agent hooks", "hook lifecycle", "UserPromptSubmit", "PermissionRequest", "PostToolUseFailure", "SubagentStart", "SubagentStop", "Stop hook", "TeammateIdle", "TaskCompleted", "PreCompact", "SessionEnd", "Notification hook". Also for blocking dangerous commands, auto-formatting code, desktop notifications, file protection, context re-injection after compaction, async hooks, MCP tool hooks, and hook debugging.
Ecosystem Scores - What Happened to it
Confirmed score time unavailable
Verification Signals
PROTOCOL WARRANT
This score reflects origin + ecosystem signals. It is not a code audit.
Skill Lineage Map
Spatial graph · creator origin → derivative skills
