Command reference ยท Claude Code
/bug
Reports a bug or shares your conversation.
You choose how much session history to include and confirm on a consent screen first. 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 it to a local archive under ~/.claude/feedback-bundles/ that you forward yourself. Alias: /share. Before v2.1.212, /bug and /share were aliases of /feedback.
โ WHEN TO USE IT?
Report a bug with context to Anthropic
/bug
Without an Anthropic login: write the report locally and forward it yourself
/bug report
โ WHEN NOT TO?
Not a bug but a product idea or general feedback
/bug is built for bug reports and sharing a session.
Better: /feedback
SOURCES
- Claude Code docs (official) โ code.claude.com