claude-hooks

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

242 stars

Best use case

claude-hooks is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Claude Code hooks configuration specialist. Use when creating hooks for tool validation, logging, notifications, or custom automation in Claude Code.

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

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "claude-hooks" skill to help with this workflow task. Context: Claude Code hooks configuration specialist. Use when creating hooks for tool validation, logging, notifications, or custom automation in Claude Code.

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/claude-hooks/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/89jobrien/claude-hooks/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/claude-hooks/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How claude-hooks Compares

Feature / Agentclaude-hooksStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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

Related Skills

running-claude-code-via-litellm-copilot

242
from aiskillstore/marketplace

Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.

varlock-claude-skill

242
from aiskillstore/marketplace

Secure environment variable management ensuring secrets are never exposed in Claude sessions, terminals, logs, or git commits

linear-claude-skill

242
from aiskillstore/marketplace

Manage Linear issues, projects, and teams

ffuf-claude-skill

242
from aiskillstore/marketplace

Web fuzzing with ffuf

claude-win11-speckit-update-skill

242
from aiskillstore/marketplace

Windows 11 system management

claude-speed-reader

242
from aiskillstore/marketplace

-Speed read Claude's responses at 600+ WPM using RSVP with Spritz-style ORP highlighting

claude-scientific-skills

242
from aiskillstore/marketplace

Scientific research and analysis skills

claude-d3js-skill

242
from aiskillstore/marketplace

Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visua...

claude-ally-health

242
from aiskillstore/marketplace

A health assistant skill for medical information analysis, symptom tracking, and wellness guidance.

claude-settings-audit

242
from aiskillstore/marketplace

Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure.

hooks-management

242
from aiskillstore/marketplace

Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

hooks-automation

242
from aiskillstore/marketplace

Automated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre/post task hooks, session management, Git integration, memory coordination, and neural pattern training for enhanced development workflows.