adding-hooks
CommunityConfigure and automate with Claude Code hooks.
Authorkkhys
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Claude Code users often need to automate repetitive tool interactions and manage event-driven workflows. This skill provides a structured approach to configure, customize, and manage hooks that trigger actions before or after tool usage, helping teams enforce consistency and automation across projects.
Core Features & Use Cases
- Define hook events (PreToolUse, PostToolUse, UserPromptSubmit, etc.) and their matching rules to flexibly control tool behavior.
- Create command and prompt hooks with timeouts, and compose multi-step automation that integrates scripts and templates.
- Use cases include automatic input validation, auditing/logging of tool usage, and enforcing safety constraints during tool execution.
Quick Start
Create a basic PreToolUse hook that validates input before a tool runs, then logs the event.
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: adding-hooks Download link: https://github.com/kkhys/claude-code-marketplace/archive/main.zip#adding-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.