mastering-hooks

Official

Deterministic Claude hooks for safer code.

AuthorSpillwaveSolutions
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Master Claude Context Hooks (CCH) provides a deterministic runtime that intercepts Claude Code events and executes configured actions via a hooks.yaml file, giving precise control over code behavior.

Core Features & Use Cases

  • Install, configure, and manage PreToolUse, PostToolUse, PermissionRequest, and other events with a Rust-based runtime.
  • Create, troubleshoot, and optimize hooks.yaml rules using declarative patterns, templates, and references.
  • Use hooks to inject context, run validation scripts, or block dangerous actions, improving safety and productivity.

Quick Start

Install CCH, initialize a hooks.yaml, and test a simple rule against a Write operation to verify behavior.

Dependency Matrix

Required Modules

None required

Components

assetsreferences

💻 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: mastering-hooks
Download link: https://github.com/SpillwaveSolutions/code_agent_context_hooks/archive/main.zip#mastering-hooks

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.