Conditionally hide successful hook execution messages

Install

/plugin install hide-hooks@towc

Run it inside Claude Code after adding the marketplace with /plugin marketplace add towc/claude-marketplace.

Contents

Discovered from source

Commands 2

Patching Claude to hide successful hook execution messages...

This will:

  1. Find the Claude executable (resolving any symlinks)
  2. Create a backup file (e.g., claude.bak.js)
  3. Patch the code to hide "hook succeeded" messages
  4. Show you how to revert the change if needed

What this hides:

  • Only hides successful hook execution messages (e.g., "hook succeeded: Success")
  • Error messages and other hook output remain visible
  • Does NOT affect Claude's ability to see hook feedback

⚠️ Warning: This modifies the Claude binary and is unsupported by Anthropic. Use at your own risk. Future Claude updates will overwrite this patch.

Important: Restart Claude after patching to see the changes.

The script will automatically detect if sudo is required.

${CLAUDE_PLUGIN_ROOT}/hide-hooks.js

Reverting the hide-hooks patch...

This will restore the Claude binary from backup and make hook messages visible again.

${CLAUDE_PLUGIN_ROOT}/revert-patch.sh

Sponsors

Details

Marketplace
towc/claude-marketplace
Source
towc/claude-hide-hooks
Category
Community

More from towc/claude-marketplace

All 2