[BUG] /context could not get ~/.claude/CLAUDE.md a real tokens takes in my session windows

Resolved 💬 3 comments Opened Mar 31, 2026 by CSberlin Closed Apr 4, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

when i type /context command in cc, get ~/.claude/CLAUDE.md: 0 tokens in my session windows, but actually it would take some tokens.

What Should Happen?

give me ~/.claude/CLAUDE.md an actual tokens takes in my session windows

<img width="871" height="711" alt="Image" src="https://github.com/user-attachments/assets/5e9c5680-ed72-4d6f-bf64-e7bd783f348b" />

Error Messages/Logs

Steps to Reproduce

only type claude in terminal, then type /context enter can reproduce

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.87

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗