
hide-hooks
Conditionally hide successful hook execution messages
Install
/plugin install hide-hooks@towcRun it inside Claude Code after adding the marketplace with /plugin marketplace add towc/claude-marketplace.
Contents
Discovered from sourceCommands 2
Patching Claude to hide successful hook execution messages...
This will:
- Find the Claude executable (resolving any symlinks)
- Create a backup file (e.g., claude.bak.js)
- Patch the code to hide "hook succeeded" messages
- 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