Slash Command Interference: Image Upload Fails with Read Tool Error

Resolved 💬 4 comments Opened Jun 19, 2025 by BobbyWang0120 Closed Jul 1, 2025

Bug Description
When using a custom slash command, I've encountered a consistent issue where Claude Code attempts to use the Read tool on an image pasted via Ctrl+V. This invariably leads to a "file not found" error, even when explicitly instructing Claude Code not to read the file but to directly "see" the image. Consequently, Claude Code fails to recognize any user-uploaded images in this scenario. However, when no slash command is used, Claude Code successfully processes and views the pasted images without issue.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.29
  • Feedback ID: e29896a3-cd8b-4087-b5e9-36d710aefdfe

View original on GitHub ↗

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