vibehacker

Anthropic Hook Development

Skill

Official 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.

Anthropic Hook Development: rating on VibeHacker

Updates may be delayed by image caching.

Anthropic Hook Development cover

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.

Used Anthropic Hook Development?

Log in to write a review.

No reviews yet

Used it? Write the first review.