Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Frontend Development
agentworkforce avatar

Creating Claude Hooks

agentworkforce/relay

This is your reference for building executable hooks that tap into Claude Code's event system. It covers the four main events (session start, prompt submit, tool call, assistant response), shows you how to handle JSON input from stdin and use exit codes to block operations, and walks through the PRPM package structure if you want to publish. The format requirements are specific: you need shebangs, executable permissions, and proper quoting around variables. Most useful when you're actually writing a hook and need to remember whether blocking is exit 2 or when to use stderr vs stdout. The examples are practical, showing real validation and logging patterns in both bash and TypeScript.

GitHub stars
719
last updated
Jun 11, 2026
View on GitHubSave

Install

$ npx -y skills add agentworkforce/relay --skill creating-claude-hooks --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Quick Reference

Hook File Format

AspectRequirement
Location.claude/hooks/<event-name>
FormatExecutable file (shell, TypeScript, Python, etc.)
PermissionsMust be executable (chmod +x)
ShebangRequired (#!/bin/bash or #!/usr/bin/env node)
InputJSON via stdin
OutputText via stdout (shown to user)
Exit Codes0 = success, 2 = block, other = error
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/agentworkforce/relay
Category
Frontend Development
License
Apache-2.0
First seen
Jun 11, 2026

More from agentworkforce/relay

All 18
  • Creating Claude Rules
  • Creating Skills
  • Debugging Websocket Issues
  • Deploying To Staging Environment
  • Frontend Design
  • Github Oauth Nango Integration
  • Implementing Command Palettes
  • Prpm Json Best Practices
  • Relay 80 100 Workflow
  • Review Fix Signoff Loop
  • Setting Up Relayfile
  • Using Agent Relay
  • Writing Agent Relay Workflows
  • Browser Testing With Screenshots
  • Choosing Swarm Patterns
  • Creating Agent Skills Skill
  • Creating Claude Agents

Recommended

More Frontend Development
1agentworkforce avatarfrontend-designagentworkforce/relayCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat0skills.sh installs
2agnosticui avatarupdate-component-docsagnosticui/agnosticuiUpdate component documentation when code changes0skills.sh installs
3butterbase-ai avatarjourney-frontendbutterbase-ai/butterbase-skillsUse as the frontend build stage of the Butterbase journey. Implements the Frontend section of 02-plan.md by delegating to deploy-frontend. Scaffolds (if needed)0skills.sh installs
4callstackincubator avatarreact-native-testingcallstackincubator/agent-skills>0skills.sh installs
5callstackincubator avatarvercel-react-native-skillscallstackincubator/agent-skillsA collection of agent-optimized React Native skills for AI coding assistants.0skills.sh installs
6composiohq avatarfrontend-designcomposiohq/awesome-claude-pluginsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat0skills.sh installs