creating-hooks

Installation
SKILL.md

STARTER_CHARACTER = 🪝

Setup

First, update the reference docs to get the latest from Anthropic:

python ~/.claude/skills/creating-hooks/scripts/update-docs.py

What Hooks Are

Shell commands that execute at lifecycle points in Claude Code. Unlike prompts, hooks are deterministic—they always run when triggered.

Configuration

Hooks live in settings files:

  • ~/.claude/settings.json - User settings (all projects)
  • .claude/settings.json - Project settings (shared via git)
  • .claude/settings.local.json - Local project settings (not committed)
Installs
6
GitHub Stars
214
First Seen
Feb 14, 2026
creating-hooks — lexler/skill-factory