[BUG] /bug command does not work
Resolved 💬 19 comments Opened Jun 15, 2025 by mulka Closed Nov 30, 2025
💡 Likely answer: A maintainer (wolffiex, collaborator)
responded on this thread — see the highlighted reply below.
Would be cool if /bug actually allowed you to file a bug with Claude Code.
> /bug
⏺ Fetch(https://docs.anthropic.com/en/docs/claude-code/cli-usage)
⎿ Received 1.9MB (200 OK)
⏺ Fetch(https://docs.anthropic.com/en/docs/claude-code/troubleshooting)
⎿ Received 2MB (200 OK)
⏺ To report a bug in Claude Code, use the /bug command to send a report directly to Anthropic. You can also check for
known issues on GitHub at https://github.com/anthropics/claude-code/issues.
19 Comments
What is the output you are showing and what version of Claude Code?
1.0.24 (Claude Code)doesn't look like that;/bugprints a "modal" which submits (as described in the last point in your submission).@mulka can you clarify - are you talking about finding bugs in your code or filing a bug that exists in Claude Code? I have to assume the former, because AFAIK
/bugalready does the latter. Maybe update the title for clarity(?)I'm talking about filing bugs in Claude Code itself. If it is a feature, it isn't working for me. See the responses I'm getting in the comments above.
It's working on Ubuntu for me. Can you add back in the environment information to the issue template? That might help the anthropic team triage your issue faster.
Environment
Bug Description
/bug isn't working
Steps to Reproduce
Expected Behavior
Expected to be able to file a bug with Claude Code itself
Actual Behavior
Different things happen each time I try. See other comments
Additional Context
@mulka
I just learned even built-in Claude Code
/-commands are dynamic. For example,/terminal-setupis not in Alacritty. Maybe something is preventing/bug? Does it appear in the output of/help?1.0.25 was just released, and the CHANGELOG mentions improved detection for
/-commands.thanks so much for the help from our friendly users here. we'll investigate—/bug should be available everywhere
Just retested with 1.0.27. /bug does not appear in the list of commands when I run /help.
Ooo... I found some Claude Code documentation that mentioned the /bug command:
https://docs.anthropic.com/en/docs/claude-code/troubleshooting#getting-more-help
I guess the /bug command is listed in the README for this repo too, so it must exist, right?
My Claude Code agrees with me that /bug is not implemented. Haha
Claude is beyond reproach and doesn't like the implication of the existence of the
/bugcommand. 😂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.
hi - this should be fixed in the latest version. if you are using bedrock / vertex / azure api keys in claude code, then you are not able to use the /bug command. thanks!
@catherinewu would be great if trying to use the /bug command told us that it doesn't work with bedrock / vertex / azure
The problem with
> Unknown slash command: bugis not fixed in the latest Claude Code v2.0.55, because in certain circumstances it's a feature, not a bug. The availablility of the/bugcommand is controlled by environment variables likeCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICandCLAUDE_CODE_DISABLE_BUG_COMMAND(see https://code.claude.com/docs/en/settings), and the/bugcommand is disabled on various providers, including Bedrock (see https://code.claude.com/docs/en/data-usage#default-behaviors-by-api-provider).@catherinewu - when closing bugs, please try to provide more descriptive comments, including links to the official Claude Code documentation, because they may be hard to find.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.