🪝
AI EngineeringTypeScript

Creating Claude Hooks

by AgentWorkforce

Creating Claude Hooks is an AI Engineering skill for Claude Code, published by AgentWorkforce in relay.

801 stars64 forkson AgentWorkforce/relayAdded 2026/08/23+1% in starsRepository updated 2026/08/22
agentagent-collaborationagent-communicationagent-skillsagentic-aiagentsheadlessorchestrationorchestration-systemsreal-timeslack
Install in seconds
Install Creating Claude Hooks
Copy Creating Claude Hooks into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/AgentWorkforce/relay/tree/main/.claude/skills/creating-claude-hooks-skill ~/.claude/skills/creating-claude-hooks-skill

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/AgentWorkforce/relay.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/creating-claude-hooks-skill/SKILL.md in AgentWorkforce/relay
Installs to
~/.claude/skills/creating-claude-hooks-skill
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering2451 skills

What Creating Claude Hooks does

Creating Claude Hooks explains how to build Claude Code hooks with the right executable format, event handling, JSON I/O, exit codes, and package structure. Use it when creating, troubleshooting, or publishing a hook package.

Creating Claude Hooks is cataloged under AI Engineering on DirSkills. Creating Claude Hooks comes from a repository tagged agent, agent-collaboration, agent-communication, agent-skills and agentic-ai.

Documentation

README

Creating Claude Code Hooks

Use this skill when creating, improving, or publishing Claude Code hooks. Provides essential guidance on hook format, event handling, I/O conventions, and package structure.

When to Use This Skill

Activate this skill when:

  • User asks to create a new Claude Code hook
  • User wants to publish a hook as a PRPM package
  • User needs to understand hook format or events
  • User is troubleshooting hook execution
  • User asks about hook vs skill vs command differences

This is the opening of the README. Read the full README on GitHub.

Commands Creating Claude Hooks provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /command
  • /review-pr

Frequently asked about Creating Claude Hooks

  • What else does AgentWorkforce publish alongside Creating Claude Hooks?

    Creating Claude Hooks is one of 25 skills that DirSkills catalogs from AgentWorkforce/relay, the repository it ships in. Its siblings there include Agent Relay, Agent Relay and Animation Review. Each one is a separate skill with its own page in this directory, installs the same way Creating Claude Hooks does, and is maintained by AgentWorkforce in that same repository. The rest of the collection is listed on the AgentWorkforce/relay page.

  • How does Creating Claude Hooks compare to other AI Engineering skills?

    Creating Claude Hooks ranks #1608 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Creating Claude Hooks against them. Open each page to compare what they document and how they install.

More from AgentWorkforce/relay

Creating Claude Hooks is one of 25 skills cataloged on DirSkills from AgentWorkforce/relay.

See all 25 skills
🤝
1w ago

Agent Relay

Agent Relay coordinates registered agents in real time using channels, DMs, threads, reactions, inbox checks, and worker spawn or release. Use it when your session is already in a Relay workspace and needs to communicate or coordinate with peers.
AI Engineering
80164
🔗
1w ago

Agent Relay

Agent Relay coordinates multiple Codex agents through shared messaging, handoffs, and status tracking. Use it when workers need peer-to-peer updates, ACK/BLOCKED/DONE signals, or a shared workspace.
AI Engineering
80164
🎞️
1w ago

Animation Review

Animation Review checks animation and motion code against a strict craft bar focused on timing, easing, origin, performance, and accessibility. Use it when reviewing UI motion changes and deciding whether they should be approved.
Quality
80164
📸
1w ago

Browser Testing With Screenshots

Browser Testing With Screenshots automates Chrome interactions and screenshot capture to verify web app UI flows. Use it when you need visual confirmation of layouts, forms, or localhost behavior during development.
Quality
80164
🧩
1w ago

Choosing Swarm Patterns

Choosing Swarm Patterns helps you pick the right Agent Relay orchestration pattern for coordinating multiple AI agents. It covers the core and specialized swarm patterns, with decision guidance and YAML or fluent builder examples.
AI Engineering
80164
🧠
1w ago

Choosing Swarm Patterns

Choosing Swarm Patterns helps you pick the right Agent Relay orchestration pattern for coordinating multiple AI agents. Use it to choose and configure YAML or builder-based workflows for fan-out, pipeline, hub-spoke, consensus, mesh, handoff, cascade, dag, debate, and hierarchical patterns.
AI Engineering
80164