Include tool name in async hook completion messages

Resolved 💬 3 comments Opened Mar 28, 2026 by Rupali59 Closed Apr 30, 2026

Summary

When an async hook completes, the system reminder message says:

Async hook PreToolUse completed

This doesn't indicate which tool triggered the hook, making it hard to correlate when multiple tools fire in quick succession.

Proposed change

Include the tool name in the message:

Async hook PreToolUse completed for Read

or

Async hook PreToolUse completed (tool: Read)

The tool name is already available in the hook's stdin JSON payload (tool_name), so this should be a small change in the message formatting.

Why

  • When hooks run async, several can complete out of order. Without the tool name, it's unclear which invocation just finished.
  • This is especially noisy with plugins like the Vercel plugin that fire pretooluse-skill-inject on every Read|Edit|Write|Bash call.
  • A minor UX improvement that helps users and AI assistants track hook activity.

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗