/bug
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Report a bug or share your conversation. You choose how much session history to include and confirm on a consent screen before anything is sent. When you're signed in to Anthropic on a first-party connection, the report goes to Anthropic; on a third-party provider, or without Anthropic credentials, Claude Code writes the report to a [local archive under ~/.claude/feedback-bundles/](/docs/en/data-usage#telemetry-services) that you forward yourself. In the [VS Code extension](/docs/en/vs-code#use-the-prompt-box), /bug opens the extension's own feedback dialog instead; requires Claude Code v2.1.229 or later. When you run it while Claude is responding, Claude Code opens the dialog immediately. Before v2.1.232, Claude Code queued the command until the turn finished. Alias: /share. Before v2.1.212, /bug and /share were aliases of /feedback
Anthropic's own wording. Read off Commands, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.232Bug reports no longer show your working directory in the consent screen
The /bug confirmation screen no longer shows your working directory path.
named in this entry
-
v2.1.232/bug opens its dialog immediately
/bug now opens its dialog straight away instead of queueing.
named in this entry
-
v2.1.223Feedback form gets a real multi-line details editor and a size limit message
The feedback form keeps your typed details after submit or Ctrl-C and warns before you exceed the size cap.
named in this entry
-
v2.1.223Bug reports from cloud workspaces are scoped to the session
Bug reports filed from a cloud workspace always attach that session's details.
named in this entry
Documentation pages
- Commands reference table Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- Data usage mentions it Claude Code CLI
- Tools reference mentions it Claude Code CLI
- Use Claude Code in VS Code mentions it Claude Code CLI
- Zero data retention mentions it Claude Code CLI
- Troubleshooting MCP Apps mentions it Claude Documentation
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.