hook-skill
CommunityMaster Claude Code Hooks
Authormaxoreric
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill empowers you to create, debug, and configure custom logic that runs automatically at specific points during Claude Code's execution, giving you fine-grained control over the AI's behavior.
Core Features & Use Cases
- Event-Driven Logic: Execute custom scripts or prompts based on predefined events like
PreToolUse,PostToolUse,SessionStart, orStop. - Control & Validation: Intercept tool calls, validate inputs/outputs, automatically approve actions, or prevent unwanted operations.
- Use Case: Automatically approve reading
.mdand.txtfiles, or prevent the execution of dangerous bash commands likerm -rf /by implementingPreToolUsehooks.
Quick Start
Create a hook that automatically approves reading markdown files by using the hook skill.
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: hook-skill Download link: https://github.com/maxoreric/sop-engine/archive/main.zip#hook-skill 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.