Claude Sdk Hooks

Hooks in the Claude Agent SDK — PreToolUse, PostToolUse, UserPromptSubmit, Stop event types, the HookMatcher signature, hook function signatures, blocking vs auditing patterns, and when hooks beat permission callbacks. Read when adding deterministic guards around tool calls, when implementing audit logging, when injecting context dynamically, or when can_use_tool isn't enough.

Folken2 Updated 2 repo stars
nuvel — production-ready agents, your way

File contents

Folken2/nuvel commit 98fe5be60d

Frequently asked questions

npx get-skill add folken2/claude-sdk-hooks