LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

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-15

Capabilities

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

Source

  • Spec: SKILL.md
hooks
automation
validation
security
PRPM
create hook files
write hook scripts
validate hook format
publish PRPM package
hook event name
hook script language
package manifest
executable hook file
PRPM package
hook documentation