claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Context Usage > 100% on fresh session | Context low · Run /compact to compact & continue

Open gvo opened this issue 2 months ago • 2 comments

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?

Can't even do anything because my context is insanely over-filled even on a fresh session. /compact does nothing.

Context low · Run /compact to compact & continue

/context ⎿   Context Usage ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ claude-opus-4-5-20251101 · 7692k/200k tokens (3846%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System prompt: 7627.9k tokens (3814.0%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System tools: 16.5k tokens (8.2%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ Messages: 2.4k tokens (1.2%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛝ Autocompact buffer: 45.0k tokens (22.5%) ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁

 SlashCommand Tool · 6 commands
 └ Total: 1.9k tokens

What Should Happen?

Start a fresh session like normal 🤣

Error Messages/Logs

> /context
  ⎿  
      Context Usage
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-opus-4-5-20251101 · 7692k/200k tokens (3846%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛁ System prompt: 7627.9k tokens (3814.0%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛁ System tools: 16.5k tokens (8.2%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛁ Messages: 2.4k tokens (1.2%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛝ Autocompact buffer: 45.0k tokens (22.5%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁

     SlashCommand Tool · 6 commands
     └ Total: 1.9k tokens

Steps to Reproduce

Start claude code from windows terminal

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.62

Claude Code Version

2.0.64

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

gvo avatar Dec 10 '25 13:12 gvo

Can't run /doctor

Diagnostics
 └ Currently running: native (2.0.64)
 └ Path: native
 └ Invoked: C:\Users\gvo\.local\bin\claude.exe
 └ Config install method: native
 └ Auto-updates: default (true)
 └ Search: OK (bundled)

 Press Enter to continue…

Presses ENTER

> /doctor 
  ⎿  Claude Code diagnostics dismissed

gvo avatar Dec 10 '25 13:12 gvo

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/12285
  2. https://github.com/anthropics/claude-code/issues/13508
  3. https://github.com/anthropics/claude-code/issues/12333

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 10 '25 13:12 github-actions[bot]

Image

facing the same

bogoconic1 avatar Dec 11 '25 01:12 bogoconic1

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Dec 18 '25 14:12 github-actions[bot]