hook-creator

Create Claude Code hook configurations for shell commands at lifecycle events.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/beom84/Draft --skill hook-creator-beom84
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hook-creator
Source: https://github.com/beom84/Draft/tree/main/.claude/skills/hook-creator
Command: npx skills add https://github.com/beom84/Draft --skill hook-creator-beom84

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Create Claude Code hooks to run shell commands at lifecycle events, enabling automatic formatting, logging, and policy enforcement.

Core Features & Use Cases

  • Hook Events: PreToolUse, PostToolUse, PermissionRequest, Notification, and more
  • Matcher Patterns: apply hooks to all tools or specific tools (e.g., Bash, Edit|Write)
  • Storage & Scope: project-level or user-level hook configurations
  • Use Case: Auto-format edited files after edits, or log tool activity for auditing

Quick Start

Create a hook configuration JSON and place it in your Claude settings file:

  • Project: .claude/settings.json
  • User: ~/.claude/settings.json