LogoClawIndex
CasesSkillsAbout
LogoClawIndex

Hook Development - Create and configure Claude Code hooks

Provides guidance for creating Claude Code plugin hooks that validate operations, enforce policies, load context, and automate workflows.

Tags

Updated: 2026-10-01

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Configure hook events
  • Validate tool calls
  • React to tool results
  • Enforce completion standards
  • Load session context
  • Run deterministic checks
  • Use prompt-based decisions
  • Persist session variables

Inputs

  • Hook configuration files
  • Hook event JSON
  • Tool inputs and results
  • User prompts or stop reasons
  • Plugin and project paths

Outputs

  • Hook decisions
  • Transcript messages
  • Updated tool inputs
  • System messages
  • Session environment variables
  • Exit statuses

Requirements

  • Claude Code hook environment
  • Prompt-capable model for prompt hooks

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
tool validation
prompt-based hooks
command hooks
Configure hook events
Validate tool calls
React to tool results
Enforce completion standards
Hook configuration files
Hook event JSON
Tool inputs and results
Hook decisions
Transcript messages
Updated tool inputs