Claude Code Hooks System

Community

Control Claude's actions with custom scripts.

Authormarkus41
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows users to intercept and modify Claude's behavior at various lifecycle events by executing custom scripts or commands, providing fine-grained control and automation.

Core Features & Use Cases

  • Lifecycle Event Hooks: Execute custom logic before or after tool use, session start/end, notifications, and more.
  • Customizable Actions: Block or modify tool calls, trigger external scripts, send notifications, or force Claude to continue execution.
  • Use Case: Automatically block any rm -rf commands executed by Claude's Bash tool to prevent accidental data loss, or trigger a desktop notification whenever Claude sends a message to the user.

Quick Start

Configure a PreToolUse hook to approve all tool calls by default.

Dependency Matrix

Required Modules

None required

Components

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 Code Hooks System
Download link: https://github.com/markus41/claude/archive/main.zip#claude-code-hooks-system

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.