creating-claude-hooks - Creating and Publishing Claude Code Hooks
Guide for creating executable hooks with event handling, JSON I/O, and PRPM package publishing
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create hook files
- write hook scripts
- validate hook format
- publish PRPM package
- configure hook events
- handle JSON input
- set exit codes
- secure hook execution
Inputs
- hook event name
- hook script language
- package manifest
- hook documentation
Outputs
- executable hook file
- PRPM package
- hook documentation
- stdout messages
Requirements
- executable file permission
- shebang line
- JSON input parsing
- stdin handling
- exit code handling
- PRPM registry access
