create-hooks

Community

Automate Claude's behavior with event-driven hooks.

AuthorEric-Ness
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill empowers you to programmatically control Claude's behavior, automating tasks, enforcing standards, and customizing workflows without altering core code. It eliminates manual intervention for repetitive checks, notifications, and context injections, saving you time and reducing complexity in your development process.

Core Features & Use Cases

  • Event-Driven Automation: Execute shell commands or LLM prompts in response to various Claude Code events like tool usage (PreToolUse, PostToolUse), session lifecycle (SessionStart, SessionEnd), or user interactions (UserPromptSubmit).
  • Workflow Customization & Safety: Implement custom validation logic (e.g., blocking destructive git commands), automate code formatting after edits, inject project-specific context at session start, or trigger desktop notifications when Claude needs input.
  • Flexible Hook Types: Choose between command hooks for deterministic tasks (logging, external tool execution) and prompt hooks for complex, context-aware decision-making using an LLM.

Quick Start

"I need to create a hook that logs every bash command Claude executes to a file. Show me how to set it up."

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: create-hooks
Download link: https://github.com/Eric-Ness/NewsAnalysisBSkyPoster/archive/main.zip#create-hooks

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