Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
89jobrien avatar

Claude Hooks

  • 27 installs
  • 4 repo stars
  • Updated April 11, 2026
  • 89jobrien/steve

claude-hooks is a Claude Code skill that creates and configures hooks - PreToolUse, PostToolUse, Notification, and Stop - for tool validation, logging, notifications, and automation.

About

claude-hooks is a Claude Code skill that creates and configures hooks to automate workflows and extend Claude Code. It covers PreToolUse validation, PostToolUse logging and cleanup, notification hooks, and custom automation. A developer uses it to add tool-execution validation, audit logging, or security controls to their Claude Code setup. Hooks are configured in ~/.claude/settings.json and it ships a hook-template reference.

  • Creates and configures Claude Code hooks for validation, logging, and automation
  • Covers PreToolUse, PostToolUse, Notification, and Stop hook events
  • Configures hooks in ~/.claude/settings.json with a bundled template

Claude Hooks by the numbers

  • 27 all-time installs (skills.sh)
  • Ranked #9,601 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

claude-hooks capabilities & compatibility

Capabilities
hook configuration · tool validation · audit logging · agent automation
Use cases
orchestration · security audit
Pricing
Free
From the docs

What claude-hooks says it does

Creates and configures hooks for Claude Code to automate workflows and extend functionality.
SKILL.md
Hooks are configured in `~/.claude/settings.json` under the `hooks` key.
SKILL.md
npx skills add https://github.com/89jobrien/steve --skill claude-hooks

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs27
repo stars4
Last updatedApril 11, 2026
Repository89jobrien/steve

What it does

Create and configure Claude Code hooks for tool validation, logging, notifications, and custom automation.

Who is it for?

Adding validation, logging, notification, or automation hooks to a Claude Code setup

Skip if: Hook systems for tools other than Claude Code

When should I use this skill?

You are creating hooks for tool validation, logging, notifications, or custom automation in Claude Code

What you get

Configured Claude Code hooks (validation, logging, notification, automation) in settings.json.

  • configured hooks in settings.json
  • PreToolUse/PostToolUse/Notification/Stop hook definitions

By the numbers

  • 4 documented hook events (PreToolUse, PostToolUse, Notification, Stop)

Files

SKILL.mdMarkdownGitHub ↗

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

Related skills

FAQ

What hook events are available?

PreToolUse (before a tool executes), PostToolUse (after it completes), Notification (when Claude sends a notification), and Stop (when Claude stops).

Where are hooks configured?

In ~/.claude/settings.json under the hooks key.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.