hooks-manager

Define and manage event-driven hooks for automated actions before or after events.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/fixthatbug/claude-agent-skill-workflow --skill hooks-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hooks-manager
Source: https://github.com/fixthatbug/claude-agent-skill-workflow/tree/main/.claude/skills/hooks-manager
Command: npx skills add https://github.com/fixthatbug/claude-agent-skill-workflow --skill hooks-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables Claude to define and manage event-driven hooks, allowing for automated actions before or after specific events (e.g., tool use, user prompts). It provides a flexible way to extend AI behavior and integrate with external systems.

Core Features & Use Cases

  • Event-Driven Automation: Triggers custom scripts or actions based on predefined events (e.g., pretooluse, posttooluse), enhancing dynamic behavior.
  • Configuration Guide: Provides detailed instructions for setting up and configuring various types of hooks, simplifying implementation.
  • Mailbox Patterns: Guides on using mailboxes for asynchronous communication between hooks and other components, improving system responsiveness.
  • Use Case: Automatically log all tool invocations to an external monitoring system (posttooluse hook), or validate user input before processing (userpromptsubmit hook), ensuring compliance and data integrity.

Quick Start

Use the hooks-manager skill to create a 'posttooluse' hook that logs the tool name and its output to a file.