meta:hook-creator

Official

Auto-create Claude Code hooks for automation.

Authoroakoss
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams automate Claude Code workflows by generating and validating event-hook configurations in a structured, frontmatter-driven format.

Core Features & Use Cases

  • Hook definition generator: Create and update PreToolUse, PostToolUse, and other hook configurations in a consistent JSON structure.
  • Validation-ready output: Provides ready-to-test hook definitions and guidance to ensure compatibility with the Hooks Reference and validation script.
  • Use Case: A developer needs to add a new PreToolUse hook for a custom tool; this Skill outputs the exact JSON snippet to paste into .claude/settings.json.

Quick Start

Add the following to .claude/settings.json under the appropriate event to configure a simple hook example:

{ "hooks": { "PostToolUse": [ { "matcher": "Write", "hooks": [ { "type": "command", "command": ""$CLAUDE_PROJECT_DIR"/.claude/hooks/script.sh", "timeout": 30 } ] } ] } }

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: meta:hook-creator
Download link: https://github.com/oakoss/open-saas-kit/archive/main.zip#meta-hook-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 223,000+ vetted skills library on demand.