Agent skill · software engineering · aiskillstore

claude-hooks

Claude Code hooks configuration specialist. Use when creating hooks for

Why this skill is useful

Adds specific patterns and configurations for Claude Code hooks that the AI wouldn't reliably generate on its own.

What it needs

About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Claude Hooks Skill Creates and configures hooks for Claude Code to automate workflows and extend functionality. What This Skill Does Creates PreToolUse validation hooks Sets up PostToolUse logging/cleanup Configures notification hooks Implements custom automation Documents hook patterns When to Use Tool execution validation Audit logging Custom notifications Workflow automation Security controls Reference Files references/CLAUDEHOOK.template.md - Hook configuration examples and patterns Hook Events Event Trigger Use Case ------- --------- ---------- PreToolUse Before tool executes Validation, blocking PostToolUse After tool completes Logging, cleanup Notification Claude sends notification Alerts Stop Claude stops Final reports Configuration Location Hooks are configured in ~/.claude/settings.json under the hooks key. Best Practices Keep hooks fast (< 1 second) Handle errors gracefully Use specific matchers Test hooks independently Avoid verbose output

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/claude-hooks

View the source on GitHub

Browse the @skills marketplace