Hook Development
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 advanced prompt-based hooks API.
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-plugins-official/Hook Development skilz install anthropics/claude-plugins-official/Hook Development --agent opencode skilz install anthropics/claude-plugins-official/Hook Development --agent codex skilz install anthropics/claude-plugins-official/Hook Development --agent gemini
First time? Install Skilz: pip install skilz
Works with 22+ AI coding agents
Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...
Extract and copy to ~/.claude/skills/ then restart Claude Desktop
git clone https://github.com/anthropics/claude-plugins-official cp -r claude-plugins-official/plugins/plugin-dev/skills/hook-development ~/.claude/skills/ Need detailed installation help? Check our platform-specific guides:
Related Agentic Skills
automating-mail
by SpillwaveSolutionsAutomates Apple Mail via JXA with AppleScript dictionary discovery. Use when asked to "automate email", "send mail via script", "JXA Mail automation",...
automating-reminders
by SpillwaveSolutionsAutomates Apple Reminders using JavaScript for Automation (JXA). Use when asked to "create reminders programmatically", "automate reminder lists", "JX...
mastering-postgresql
by SpillwaveSolutionsPostgreSQL development for Python with full-text search (tsvector, tsquery, BM25 via pg_search), vector similarity (pgvector with HNSW/IVFFlat), JSONB...
automating-contacts
by SpillwaveSolutionsAutomates macOS Contacts via JXA with AppleScript dictionary discovery. Use when asked to "automate contacts", "JXA contacts automation", "macOS addre...
Agentic Skill Details
- Owner
- anthropics (GitHub)
- Repository
- claude-plugins-official
- Type
- Other
- Meta-Domain
- N/A
- Primary Domain
- N/A
- Market Score
- 0.0
AI-Detected Topics
Extracted using NLP analysis
Report Security Issue
Found a security vulnerability in this agent skill?