Context display shows 15% free but reports 'Context limit reached'

Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Jan 14, 2026 · closed Jan 15, 2026

Description

The /context command shows available space, but Claude Code immediately reports "Context limit reached" when trying to continue.

Steps to Reproduce

  1. Use Claude Code until context gets high
  2. Run /context to check usage
  3. Attempt to continue working

Observed Behavior

❯ /context 
  ⎿   Context Usage
     ⛁ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-opus-4-5-20251101 · 166k/200k tokens (83%)
     ...
     ⛶ Free space: 31k (15.4%)

❯ lets keep working 
  ⎿  Context limit reached · /compact or /clear to continue

Expected Behavior

Either:

  • The context display should show accurate "usable" free space (accounting for any buffers/reserves)
  • Or the "context limit reached" threshold should match what /context reports as used

Environment

  • Claude Code CLI
  • Model: claude-opus-4-5-20251101

View original on GitHub ↗

5 Comments

kegonzales · 7 months ago

having the same problems

seanGSISG · 7 months ago

#18241

mikegil · 7 months ago

Same here: /context
⎿ Context Usage
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛀ claude-opus-4-5-20251101 · 166k/200k tokens (83%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System prompt: 2.8k tokens (1.4%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ System tools: 16.8k tokens (8.4%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ Skills: 910 tokens (0.5%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ Messages: 145.5k tokens (72.7%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ Compact buffer: 3.0k tokens (1.5%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛶ Free space: 31k (15.5%)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
⛁ ⛁ ⛁ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ ⛀

Skills · /skills

User
└ meta-prompt: 60 tokens
└ load_context: 31 tokens
└ plan_w_scouters: 31 tokens
└ load_web_docs: 30 tokens
└ quick-plan: 30 tokens
└ plan_w_docs: 30 tokens
└ find_and_summarize: 29 tokens
└ plan: 28 tokens
└ execute: 28 tokens
└ build_in_parallel: 24 tokens
└ scout: 23 tokens
└ scout_plan_build: 22 tokens
└ question: 22 tokens
└ research: 21 tokens
└ publish: 20 tokens
└ noodle: 19 tokens
└ compile_workflow: 19 tokens
└ frame: 18 tokens
└ think: 18 tokens
└ background: 17 tokens
└ noodle-includes:personal-context-questions: 17 tokens
└ agent-sonnet: 16 tokens
└ parallel_subagents: 16 tokens
└ noodle-includes:first-noodle-onboarding: 16 tokens
└ prime: 15 tokens
└ agent-opus: 14 tokens
└ implement: 13 tokens
└ ideate: 13 tokens
└ agent-haiku: 13 tokens
└ doctor: 12 tokens
└ project: 12 tokens
└ help: 12 tokens
└ todo: 12 tokens
└ resolve_failed_e2e_test: 12 tokens
└ conditional_docs: 12 tokens
└ orchestrate: 12 tokens
└ generate_branch_name: 11 tokens
└ classify_issue: 11 tokens
└ resolve_failed_test: 10 tokens
└ cleanup_worktrees: 10 tokens
└ test: 10 tokens
└ track_agentic_kpis: 9 tokens
└ classify_adw: 9 tokens
└ prepare_app: 8 tokens
└ install_worktree: 8 tokens
└ pull_request: 8 tokens
└ includes:agent-core: 8 tokens
└ in_loop_review: 7 tokens
└ commit: 7 tokens
└ start: 7 tokens
└ document: 6 tokens
└ test_e2e: 6 tokens
└ install: 6 tokens
└ feature: 6 tokens
└ tools: 6 tokens
└ release: 4 tokens
└ patch: 4 tokens
└ bug: 4 tokens
└ deploy: 3 tokens
└ review: 3 tokens
└ task: 2 tokens

❯ update board and handoff, context very low
⎿  Context limit reached · /compact or /clear to continue

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ 
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏵⏵ bypass permissions on (shift+tab to cycle) Context low (2% remaining) · Run /compact to compact & continue

mysehyunhope · 7 months ago

exactly same issue since i updated into 2.1.12.
even 60K context limit left, it shows up.

windows native, powershell, windows 10 pro

github-actions[bot] · 7 months ago

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.