hook-generator

Generate Claude Code hook configurations for event-driven automation.

3|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/squirrelsoft-dev/claude-builder --skill hook-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hook-generator
Source: https://github.com/squirrelsoft-dev/claude-builder/tree/main/skills/hook-generator
Command: npx skills add https://github.com/squirrelsoft-dev/claude-builder --skill hook-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates and configures Claude Code hooks for event-driven automation and safe, deterministic behavior.

Core Features & Use Cases

  • Generates hook configurations for PreToolUse, PostToolUse, Notification, and more
  • Safe updates to settings.json with merging and validation
  • Templates for common patterns (auto-formatting, logging, notifications)

Quick Start

Use the hook-generator to create a PostToolUse or PreToolUse hook and update settings.json.