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 98fe5be 2 files · 13.3 KB Updated

File contents

Folken2/nuvel/tree/main/nuvel/backends/claude_agent_sdk/skills/claude-sdk-hooks commit 98fe5be60d

Frequently asked questions

npx skillmds@latest add folken2/claude-sdk-hooks