Marketplace claude-hooks

Claude Code hooks configuration specialist. Use when creating hooks for

install
source · Clone the upstream repo
git clone https://github.com/aiskillstore/marketplace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiskillstore/marketplace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/89jobrien/claude-hooks" ~/.claude/skills/aiskillstore-marketplace-claude-hooks && rm -rf "$T"
manifest: skills/89jobrien/claude-hooks/SKILL.md
source content

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/CLAUDE_HOOK.template.md
    - Hook configuration examples and patterns

Hook Events

EventTriggerUse Case
PreToolUseBefore tool executesValidation, blocking
PostToolUseAfter tool completesLogging, cleanup
NotificationClaude sends notificationAlerts
StopClaude stopsFinal 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