Hook Development

Hook Development

anthropics

Hook Development

Hook Development

Create and configure event-driven automation hooks for Claude Code plugins with prompt and command support.

New tool
0 downloads
Free

About

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

Key Features

Prompt-based and command-based hook types
Tool call validation and modification
Session start and completion standards
Flexible tool name and regex matchers

Privacy & Security

Data Collection

This tool follows industry-standard security practices and only collects data necessary for functionality.

Information

Developeranthropics
Version0.1.0
Ratingeveryone
LanguagesEnglish

Actions

  • Validate tool calls before execution
  • React to tool results
  • Enforce completion standards
  • Load project context