askill
claude-hooks

claude-hooksSafety 85Repository

Claude Code hooks configuration specialist. Use when creating hooks for tool validation, logging, notifications, or custom automation in Claude Code.

1 stars
1.2k downloads
Updated 1/6/2026

Package Files

Loading files...
SKILL.md

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

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

75/100Analyzed 2/16/2026

Well-structured reference skill for Claude Code hooks with good metadata and clear organization. Provides useful event reference table and best practices, but would benefit from concrete examples directly in the document rather than relying on external template reference.

85
80
80
70
65

Metadata

Licenseunknown
Version1.0.1
Updated1/6/2026
Publisher89jobrien

Tags

github-actionsllmobservabilitysecuritytesting