[Feature Request] Increase context window size for Claude Code CLI

Resolved 💬 3 comments Opened Nov 8, 2025 by alissonlinneker Closed Nov 12, 2025

Bug Description
The memory of this is awful! 200k tokens is very bad for a CLI! Improve this! It forgets everything throughout development, and CLAUDE.md or context are useless!

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.34
  • Feedback ID: b770e479-b3ec-45cc-8259-fe43a287d533

Errors

[{"error":"MaxFileReadTokenExceededError: File content (43068 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at rUQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1639:25198)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:1301)\n    at async YN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:3283)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3591:1395","timestamp":"2025-11-06T19:11:52.198Z"},{"error":"MaxFileReadTokenExceededError: File content (34442 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at rUQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1639:25198)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:1301)\n    at async YN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:3283)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3591:1395","timestamp":"2025-11-06T19:13:55.556Z"},{"error":"MaxFileReadTokenExceededError: File content (34329 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at rUQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1639:25198)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:1301)\n    at async YN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:3283)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3591:1395","timestamp":"2025-11-06T19:14:31.439Z"},{"error":"MaxFileReadTokenExceededError: File content (34171 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at rUQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1639:25198)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:1301)\n    at async YN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1648:3283)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3591:1395","timestamp":"2025-11-06T19:15:06.480Z"},{"error":"AbortError: The operation was aborted\n    at abortChildProcess (node:child_process:759:27)\n    at AbortSignal.onAbortListener (node:child_process:829:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:845:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:778:26)\n    at runAbort (node:internal/abort_controller:488:10)\n    at abortSignal (node:internal/abort_controller:459:3)\n    at AbortController.abort (node:internal/abort_controller:507:5)\n    at Timeout._onTimeout (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3760:2042)\n    at listOnTimeout (node:internal/timers:605:17)\n    at process.processTimers (node:internal/timers:541:7)","timestamp":"2025-11-06T19:17:42.635Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at PD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4413)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4141\n    at Array.map (<anonymous>)\n    at gC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4132)\n    at YSQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1752:6597)\n    at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:98:19414)\n    at yt (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:42806)\n    at x9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38347)\n    at Np (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38275)\n    at J$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38129)","timestamp":"2025-11-06T19:18:02.

Note: Error logs were truncated.

View original on GitHub ↗

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