Anthropic Hook Development
SkillOfficial guide for writing Claude Code plugin hooks, from PreToolUse guards to prompt-based Stop and SessionStart hooks.
by anthropics Listed Nov 20, 2025
Clone or download it from github.com, then drop the folder into ~/.claude/skills/ (Claude Code) or your agent's skills directory.
Product badge
Share this product's name and rating in your README or on your website.
Updates may be delayed by image caching.
About Anthropic Hook Development
Part of Anthropic's plugin-dev toolkit. The skill covers every hook event (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, UserPromptSubmit, PreCompact and more) and how to wire them up inside a plugin.
It leans into prompt-based hooks, so you can validate tool calls or block risky commands with a short policy instead of a pile of shell scripts.
No reviews yet
Used it? Write the first review.