Files
claude-hud/TROUBLESHOOTING.md
Jarrod Watts b4a2e8d53b docs: Add troubleshooting guide and installation verification
Phase 3 of v2 upgrade:
- Add comprehensive TROUBLESHOOTING.md
- Add verify-install.sh script for checking installation
- Update README with new features and troubleshooting section
- Document all 8 hook events
- Add verification instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 15:18:54 +11:00

3.1 KiB

Troubleshooting Claude HUD

HUD Not Appearing

1. Check Plugin Installation

# Verify the plugin is installed
ls ~/.claude/plugins/ | grep claude-hud

If not listed, install with:

claude /plugin install github.com/jarrodwatts/claude-hud

2. Check Plugin Validation

# Validate the plugin structure
claude plugin validate ~/.claude/plugins/claude-hud

You should see: ✔ Validation passed

3. Check Terminal Support

The HUD works best with terminals that support split panes:

  • tmux - Best support, native split
  • iTerm2 - Native split on macOS
  • Kitty - Remote control split
  • WezTerm - CLI split pane
  • Zellij - Native split

For other terminals, the HUD runs in a separate window or background.

4. Check Dependencies

# Ensure jq is installed (required for hook scripts)
which jq || echo "jq not found - install with: brew install jq"

# Check Node.js or Bun is available
which node || which bun || echo "Node.js or Bun required"

5. Manual Testing

Test the HUD manually:

# Create a test FIFO
mkfifo /tmp/test-hud.fifo

# Start the HUD (in one terminal)
cd ~/.claude/plugins/claude-hud/tui
node dist/index.js --session test --fifo /tmp/test-hud.fifo

# Send a test event (in another terminal)
echo '{"event":"PostToolUse","tool":"Read","input":{"file_path":"/test.ts"},"response":{"content":"test"},"session":"test","ts":1234567890}' > /tmp/test-hud.fifo

You should see the event appear in the HUD.

HUD Appears But No Data

Check FIFO Connection

The HUD connects via a named pipe. Check if it exists:

ls -la ~/.claude/hud/events/

You should see .fifo files for active sessions.

Check Hook Execution

Run Claude with debug mode to see hook execution:

claude --debug hooks

Look for messages about capture-event.sh being called.

Check Logs

View HUD logs if running in background:

cat ~/.claude/hud/logs/*.log

Common Issues

"jq: command not found"

Install jq:

# macOS
brew install jq

# Ubuntu/Debian
sudo apt-get install jq

# Other Linux
# Use your package manager

"Permission denied" on Scripts

Make scripts executable:

chmod +x ~/.claude/plugins/claude-hud/scripts/*.sh

HUD Freezes or Crashes

  1. Check for error in logs: cat ~/.claude/hud/logs/*.log
  2. Kill any stuck processes: pkill -f claude-hud
  3. Remove stale FIFOs: rm ~/.claude/hud/events/*.fifo
  4. Start a new Claude session

tmux Split Not Working

Ensure you're running Claude inside tmux:

# Check if in tmux
echo $TMUX

# Start tmux if not
tmux new-session

iTerm2 Split Not Working

Ensure iTerm2 is the active terminal:

echo $TERM_PROGRAM
# Should output: iTerm.app

Getting Help

If you're still having issues:

  1. Check the GitHub Issues
  2. Open a new issue with:
    • Your terminal type
    • Output of claude plugin validate
    • Any error messages from logs
    • Steps to reproduce

Debug Mode

Run the HUD with verbose output:

cd ~/.claude/plugins/claude-hud/tui
DEBUG=* node dist/index.js --session test --fifo /tmp/test.fifo