claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Slash command arguments discarded intermittently

Open yannbam opened this issue 2 months ago • 2 comments

Bug Description slash command arguments are discarded sometimes. not sure why this happens. text too long or when editing the command line?

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.0.24
  • Feedback ID: 1c245da8-d8bc-4c0d-b11c-380032336133

Errors

[]

yannbam avatar Oct 23 '25 12:10 yannbam

I opened a similar issue. It looks like one cause (at least) is when inserting a trailing whitespace in the command. Extract of my previous issue:

What's Wrong?

When using a plug-in command with arguments, the arguments are dismissed if there is a final space. For instance:

Image

It contains a final space, and Claude seems to understand it as if there were no provided arguments:

  • It provides the task description in blue,
  • The history (up arrow) only contains the command without the argument,
  • The output mentions there is no passed argument:
> /claude-tint-config:ticket is running…

● I notice the /ticket command was called but no ticket number was provided in $ARGUMENTS. Could you please specify which Linear ticket you'd like me to work on?

jpetitcolas avatar Nov 19 '25 15:11 jpetitcolas

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 20 '25 10:12 github-actions[bot]