Skip to content
Back to skills

Claude Hooks

ASecurity

Claude Code hooks configuration specialist. Use when creating hooks for

  • 416 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
securitysecurity

Works with

  • claude code

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill claude-hooks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Hooks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Hooks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-claude-hooks/badge)](https://www.skillsdirectory.com/skills/aiskillstore-claude-hooks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-hooks
description: Claude Code hooks configuration specialist. Use when creating hooks for
  tool validation, logging, notifications, or custom automation in Claude Code.
author: Joseph OBrien
status: unpublished
updated: '2025-12-23'
version: 1.0.1
tag: skill
type: skill
---

# 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

| 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

Files in this skill

  • SKILL.md1.3 KB
  • references/claude-hook.template.md3.2 KB
  • skill-report.json13.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…