Hook Development - Create and configure Claude Code plugin hooks
Create event-driven Claude Code plugin hooks to validate operations, enforce policies, add context, and integrate external tools.
Tags
Updated: 2026-10-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create prompt-based hooks
- Create command hooks
- Configure hook events
- Validate tool calls
- React to tool results
- Enforce completion standards
- Load session context
- Persist session variables
- Match tools with patterns
- Process hook JSON input
Inputs
- Hook configuration files
- Hook event JSON
- Tool names
- Tool inputs
- Tool results
- User prompts
- Stop reasons
- Plugin scripts
Outputs
- Permission decisions
- Completion decisions
- System messages
- Transcript output
- Updated tool inputs
- Environment variable changes
- Hook exit statuses
Requirements
- Claude Code plugin environment
- Prompt-capable language model
- Command hook runtime
- Plugin hook permissions
