promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/bug

Reports a bug or shares your conversation.

Reports a bug or shares the conversation so far as a report. /bug [text] optionally takes a free-form description; before sending, you also choose how much session history to include and confirm on a consent screen. If logged in directly with Anthropic, the report goes to Anthropic. If the session instead runs through a third-party provider such as Amazon Bedrock or Google Cloud's Agent Platform, or if no Anthropic credentials are present, Claude Code automatically saves the report locally under ~/.claude/feedback-bundles/ instead; known API key and token patterns are redacted beforehand. This file then has to be forwarded manually to the Anthropic account contact or attached to a support request โ€” which of the two paths applies depends solely on login status, not on an argument. Alias: /share. Before version 2.1.212, /bug and /share were merely aliases of /feedback; since then /bug is a standalone command with the same dialog. For general product feedback rather than a specific bug, /feedback is the better fit.

โœ… WHEN TO USE IT?

Report a specific bug with session context

Trigger /bug Login button no longer responds and select in the dialog how much history to include.

Forward a bug report without Anthropic credentials

Run /bug on a third-party provider like Amazon Bedrock โ€” the report is automatically saved locally under ~/.claude/feedback-bundles/ and sent from there to the Anthropic contact.

โ›” WHEN NOT TO?

Not a bug, but a product idea or general feedback

/bug is designed for bug reports and sharing a session.

Better: /feedback

Assuming an argument like 'report' controls whether the report stays local

The argument in /bug [report] is just a placeholder for a freely chosen description text, not a fixed keyword. Whether the report goes to Anthropic or is saved locally is decided solely by login status.

Better: Check login status with /status instead of trying to control the destination via an argument.

SOURCES

MORE COMMANDS ยท Claude Code

/stop/team-onboarding/terminal-setup/theme/tui/ultrareview/usage-credits/voice/web-setup/workflows/pr-comments/add-dir

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ