[BUG] Typing /context adds 2000 tokens to the context

Resolved 💬 8 comments Opened Nov 10, 2025 by Lyrcaxis Closed Apr 21, 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?

User prompts add ~2000 tokens to the context.

<img width="617" height="1226" alt="Image" src="https://github.com/user-attachments/assets/833d32c8-79c2-4631-aef6-bd6c07b1bfaf" />

This might be the case with all tool call responses as well, potentially adding thousands of tokens to say "0 results found" or similar responses.

What Should Happen?

User prompts and tool responses should NOT add ~2000 tokens to the context.

Error Messages/Logs

Steps to Reproduce

  1. run claude code via cli
  2. type /context
  3. type /context again
  4. see your token usage go up a ton

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.36 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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