LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

Capabilities

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

Source

  • Spec: SKILL.md

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.
Claude Code
plugin hooks
event-driven automation
prompt hooks
command hooks
tool validation
workflow automation
Create prompt-based hooks
Create command hooks
Configure hook events
Validate tool calls
Hook configuration files
Hook event JSON
Tool names
Permission decisions
Completion decisions
System messages