[BUG] Claude Code hallucinates slash-commands, incl. "verbose", "no-think", etc.
Bug Description
Claude is hallucinating the following slash-commands: "compact" (not the real functionality), "verbose", "think", and "no-think", see transcript for details
Environment Info
- Platform: macos
- Terminal: vscode
- Version: 0.2.74
- Feedback ID: b2402487-62f5-428b-8721-16f5a89a610e
Errors
[]
Interesting snippets from a session I had with Claude trying to get it to introspect about slash-commands:
⏺ The "/compact" command appears to be a built-in Claude Code command rather than a custom project command. According to the README, it's mentioned as an example of a slash command that can trigger
specific actions.
When invoked, the "/compact" command makes Claude's responses more concise and to the point. It reduces verbosity in responses, focusing only on essential information.
Compact mode enabled. I'll be more concise.
Built-in Claude Code commands:
- /compact - Switches to compact mode with brief, concise responses
- /verbose - Switches to verbose mode with detailed, comprehensive responses
- /help - Provides help information about using Claude Code
- /think - Shows Claude's reasoning process (thinking steps)
- /no-think - Hides the thinking process
```
/verbose
⏺ Verbose mode enabled. I'll now provide more detailed and comprehensive responses.
In verbose mode, I'll offer:
- More thorough explanations
- Additional context and background information
- More detailed steps in processes
- Complete reasoning for my answers
- Extended examples where helpful
This is in contrast to compact mode (/compact) which aims for maximum brevity and the default mode which strikes a balance between detail and conciseness.
Is there something specific you'd like me to explore in greater detail?
Interactive sessions support built-in slash commands that trigger specific behaviors:
- /compact - Switches to compact mode with brief responses
- /verbose - Activates verbose mode with detailed explanations
- /help - Displays help information about Claude Code
- /think - Shows Claude's reasoning process (helpful for debugging)
- /no-think - Hides the thinking process
- Custom project commands in .claude/commands/ directory
```
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗