hooks-creator

Community

Define Claude Code hooks to automate events.

Authorwormholecowboy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers build Claude Code hooks for automated execution at lifecycle events, reducing manual setup and ensuring consistent behavior.

Core Features & Use Cases

  • Define hook events for PreToolUse, PostToolUse, Notification, UserPromptSubmit, Stop, SubagentStop, PreCompact, SessionStart, and SessionEnd.
  • Provide templates and examples for hook scripts (Python and Bash) and a clear configuration format.
  • Manage hook scope (project, local, user) and reference environment variables and safety considerations.

Quick Start

Create a new skill under claude-config/skills/hooks-creator with SKILL.md (frontmatter name/description) and add a sample hook configuration like a PostToolUse hook with a simple Python script that logs the executed command. Then add a supporting script in scripts/ and a reference in references/, to illustrate the workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hooks-creator
Download link: https://github.com/wormholecowboy/.dotfiles/archive/main.zip#hooks-creator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.