hook-development

47860 stars 3353 forks
54

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on adva...

Marketplace

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install anthropics/claude-code/hook-development
skilz install anthropics/claude-code/hook-development --agent opencode
skilz install anthropics/claude-code/hook-development --agent codex
skilz install anthropics/claude-code/hook-development --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/anthropics/claude-code
2. Copy the agent skill directory:
cp -r claude-code/plugins/plugin-dev/skills/hook-development ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Repository
claude-code
Stars
47860
Forks
3353
Type
Technical
Meta-Domain
web api
Primary Domain
api
Market Score
54

Report Security Issue

Found a security vulnerability in this agent skill?