[Bug] Excessive token consumption on initial commands - disproportionate to actual work performed
Resolved 💬 2 comments Opened Apr 7, 2026 by Efremiros Closed May 19, 2026
Bug Description
When starting a session, claude immediately used 40% or session limit, however, it just runs one or two bash commands. It's bad approach.
Environment Info
- Platform: win32
- Terminal: pycharm
- Version: 2.1.92
- Feedback ID: 626838d2-7dbb-451b-8161-a3123ef394e6
Errors
[{"error":"MaxFileReadTokenExceededError: File content (26947 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:53:46.708Z"},{"error":"MaxFileReadTokenExceededError: File content (13286 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:53:47.621Z"},{"error":"MaxFileReadTokenExceededError: File content (16250 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:53:47.886Z"},{"error":"MaxFileReadTokenExceededError: File content (14491 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:53:50.703Z"},{"error":"MaxFileReadTokenExceededError: File content (15855 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:54:00.894Z"},{"error":"MaxFileReadTokenExceededError: File content (13286 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T11:54:37.317Z"},{"error":"MaxFileReadTokenExceededError: File content (10713 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T12:05:36.027Z"},{"error":"MaxFileReadTokenExceededError: File content (26947 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T12:05:37.100Z"},{"error":"MaxFileReadTokenExceededError: File content (10713 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T12:19:33.774Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at KE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:15046)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T01:46:27.229Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at KE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:15046)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T01:46:27.231Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at KE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:15046)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T09:10:40.916Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at KE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:15…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗