Hooks are event-driven automation scripts that run when Claude Code events occur. They help validate operations, enforce rules, and add context. You can use them to block dangerous commands or automate workflows.
There are two types of hooks. Prompt-based hooks use natural language reasoning for flexible decisions. Command hooks run bash scripts for fast checks.
Hooks support events like PreToolUse, PostToolUse, and Stop. They make your plugin smarter and safer.
Global
mkdir -p ~/.claude/skills/hook-developmentProject
mkdir -p .claude/skills/hook-developmentSource Repository
Find Skillsvercel-labs/skills
Find and install the perfect skill to extend your AI agent
Microsoft Foundrymicrosoft/azure-skills
Build, deploy, and improve AI agents on Microsoft Foundry from start to finish
Azure Aimicrosoft/azure-skills
Search, transcribe, and analyze with Azure AI tools for smarter apps
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Build, deploy, and manage your Copilot SDK apps on Azure with ease
Skill Creatoranthropics/skills
Create, test, and improve AI agent skills with easy step-by-step guidance
Image Editagentspace-so/runcomfy-agent-skills
Smart router picks the best AI model for your image editing needs
Agentspaceagentspace-so/skills
See your AI agent's live folder from any browser instantly
Openclaw Secure Linux Cloudxixu-me/skills
Secure self-hosting of OpenClaw with private control and SSH tunneling