claude-code - 💡(How to fix) Fix /usage and /context commands stuck on 'Loading usage data…'

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The /usage and /context slash commands never resolve — they display "Loading usage data…" indefinitely and return no data.

Root Cause

The /usage and /context slash commands never resolve — they display "Loading usage data…" indefinitely and return no data.

RAW_BUFFERClick to expand / collapse

Description

The /usage and /context slash commands never resolve — they display "Loading usage data…" indefinitely and return no data.

Environment

  • Claude Code version: 2.1.143
  • OS: Linux (WSL2 — kernel 6.6.114.1-microsoft-standard-WSL2)
  • Node: v26.1.0
  • Install method: npm global (@anthropic-ai/claude-code)

Steps to reproduce

  1. Open a Claude Code session
  2. Type /usage or /context
  3. Observe "Loading usage data…" spinner that never completes

Expected behavior

Usage/context data is displayed.

Additional context

Network connectivity to api.anthropic.com is confirmed working (TLS handshake succeeds, HTTP/2 response received). Re-auth does not resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Usage/context data is displayed.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING