LogoClawIndex
CasesSkillsAbout
LogoClawIndex

hook-development - Develop Claude Code plugin hooks

Provides guidance for creating and configuring prompt-based and command hooks for Claude Code plugin events.

Tags

Updated: 2026-10-01

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Define prompt hooks
  • Define command hooks
  • Configure plugin hooks
  • Configure user settings
  • Validate tool calls
  • React to tool results
  • Load session context
  • Persist environment variables
  • Match tools with regex
  • Return hook decisions

Inputs

  • Hook configuration JSON
  • Hook event JSON
  • Project directory
  • Plugin directory
  • User settings path
  • Hook event fields

Outputs

  • Hook configuration files
  • Permission decisions
  • Validation feedback
  • System messages
  • Session environment variables
  • Hook execution status

Requirements

  • Claude Code environment
  • Plugin hook support
  • Command execution environment
  • LLM support 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 development
hooks
event automation
tool validation
prompt hooks
command hooks
Define prompt hooks
Define command hooks
Configure plugin hooks
Configure user settings
Hook configuration JSON
Hook event JSON
Project directory
Hook configuration files
Permission decisions
Validation feedback