hook

Manage Claude Code hooks by enabling, disabling, and monitoring their status.

77|4|Updated Jun 20, 2022
One-click install
npx skills add https://github.com/htlin222/dotfiles --skill hook-htlin222
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hook
Source: https://github.com/htlin222/dotfiles/tree/main/claude.symlink/skills/hook
Command: npx skills add https://github.com/htlin222/dotfiles --skill hook-htlin222

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a streamlined way to manage and monitor the hooks that automate actions within the Claude Code environment, ensuring smooth operation and aiding in debugging.

Core Features & Use Cases

  • Hook Status Monitoring: Quickly check if hooks are enabled or disabled.
  • Hook Management: Temporarily disable problematic hooks or re-enable them when needed.
  • Debugging & Performance: View hook logs and performance metrics to identify and resolve issues.
  • Use Case: If a specific hook is causing unexpected behavior or slowing down your workflow, you can use this Skill to disable it temporarily while you investigate.

Quick Start

Check the status of all your Claude Code hooks.

Frequently Asked Questions about hook

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if Claude Code hooks are enabled or disabled in my current session?

To check Claude Code hooks status, the Skill parses session settings and checks for disabled files to report whether each hook is currently enabled or disabled. This provides immediate visibility into your active automation workflows.

Why is my workflow slowing down and how can I monitor hook performance metrics?

To monitor hook performance, the Skill reads execution log files to identify slow hooks. If a hook is delaying your workflow, you can temporarily disable it while you investigate the underlying performance issue.

How do I temporarily disable a problematic hook for debugging?

To debug a problematic hook, you can disable it temporarily to stop its automated actions. This isolates the hook behavior, allowing you to investigate unexpected actions without permanently altering your settings.

What is the best way to manage noisy hooks during an automation workflow?

The best way to manage noisy hooks is to monitor their execution logs and selectively disable the specific hooks causing disruptions. This ensures smooth session operation while maintaining your other necessary automations.

Can I re-enable a hook after disabling it in Claude Code?

Yes, you can re-enable a disabled hook. The Skill manages the session state by updating the parsed settings and removing the hook from the disabled files, restoring its automated actions within the environment.