/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.
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/ that you forward yourself. In the VS Code extension, /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-09-28.
In the changelogs
6Releases whose published page names /bug.
-
v2.1.293
Bug reports and saved feedback drafts now carry a host value
The
/bugpanel and the feedback drafts panel now pass a host value along when they send or package a reportfound in this entry's text, named in this entry
-
v2.1.251
Feedback and bug command availability checked in one place
The switches hiding /feedback and /bug now behave the same in menus and commands.
named in this entry, found in this entry's text
-
v2.1.232
Bug 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, found in this entry's text
-
v2.1.232
/bug opens its dialog immediately
/bug now opens its dialog straight away instead of queueing.
named in this entry, found in this entry's text
-
v2.1.223
Feedback 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.223
Bug 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
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The 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.
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.