-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
area:corearea:costbugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:windowsIssue specifically occurs on WindowsIssue specifically occurs on Windows
Description
Description
Context usage/token usage warnings do not appear when using slash commands in Claude Code CLI.
Environment
- Claude Code version: 2.0.76
- OS: Windows (win32)
- GitHub account: Troy2727
Steps to Reproduce
- Run any slash command (e.g.,
/help,/cost, etc.) - Observe that no token usage warning appears in the output
Expected Behavior
Token usage warnings should appear after slash command execution, similar to regular prompts.
Actual Behavior
No token usage warnings are displayed after slash commands complete.
Additional Context
DISABLE_COST_WARNINGSenvironment variable is not set- Settings file (
~/.claude/settings.json) does not contain any cost warning configuration - Token warnings appear normally during regular interactive prompts
Investigation Done
- Verified
DISABLE_COST_WARNINGSnot set in User or Machine environment variables - Checked
~/.claude/settings.json- no relevant configuration found - Confirmed settings should allow warnings to display
Metadata
Metadata
Assignees
Labels
area:corearea:costbugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:windowsIssue specifically occurs on WindowsIssue specifically occurs on Windows