claude-hook-builder
OfficialAutomate Claude Code workflows with custom hooks.
AuthorMEDICALCOR
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Implementing Claude Code hooks for tool validation, automation, and workflow enhancement requires understanding various hook events, types, and JSON configurations. This Skill simplifies the process, allowing you to easily customize and control your AI agent's behavior.
Core Features & Use Cases
- Interactive Hook Creation: Guides you through defining hook purpose, trigger events (PreToolUse, PostToolUse), and matching tools for precise automation.
- Script & Prompt-based Hooks: Helps create both deterministic bash scripts and intelligent LLM-driven prompt hooks for flexible decision-making.
- Configuration Guidance: Provides clear examples for integrating hooks into
settings.jsonwith proper exit codes and JSON outputs, ensuring seamless operation. - Use Case: "I want to automatically format Python files after Claude edits them. Show me how to create a
PostToolUsehook forWrite|Editoperations."
Quick Start
I need a hook that validates bash commands before Claude executes them. How do I set up a PreToolUse hook for the Bash tool?
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: claude-hook-builder Download link: https://github.com/MEDICALCOR/medicalcor-core/archive/main.zip#claude-hook-builder Please download this .zip file, extract it, and install it in the .claude/skills/ directory.