creating-claude-hooks

Official

Publish reliable Claude hooks.

AuthorAgentWorkforce
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps create Claude Code hooks, including required format, events, JSON I/O conventions, exit codes, security requirements, and PRPM package structure.

Core Features & Use Cases

  • Hook Format: Location, executable format, shebang, input/output expectations.
  • Events: session-start, user-prompt-submit, tool-call, assistant-response.
  • Use Case: Publish a PRPM hook for auto-validation on session start.

Quick Start

Request: "Create a Claude hook at .claude/hooks/session-start that outputs a log line and validates input."

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: creating-claude-hooks
Download link: https://github.com/AgentWorkforce/relay/archive/main.zip#creating-claude-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository