building-hooks

Community

Claude Code hook automation and policy enforcement.

AuthorC0ntr0lledCha0s
Version1.0.0
Installs0

System Documentation

What problem does it solve?

You can create and manage Claude Code event hooks to automate policy, logging, and pre/post-processing around tool invocations.

Core Features & Use Cases

  • Hook schemas & events (PreToolUse, PostToolUse, UserPromptSubmit, Stop, SessionStart)
  • Command hooks (bash-based) and prompt hooks (LLM-based)
  • Return values for control flow (continue, decision, reason, systemMessage)
  • Security considerations and validation guidance
  • Progressive discovery of resources (references, scripts, templates)

Quick Start

Use hooks to validate a PreToolUse event by running a script and returning a decision object.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: building-hooks
Download link: https://github.com/C0ntr0lledCha0s/claude-code-plugin-automations/archive/main.zip#building-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository