claude-code - 💡(How to fix) Fix [Bug] Claude ignores explicit instructions to avoid shortcuts despite custom hooks and memory configuration

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (31688 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T20:51:01.038Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (28047 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T20:51:05.166Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26068 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T14:21:44.659Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:19.559Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:21.921Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:26.882Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:03:50.200Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:03:56.249Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:04:01.133Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (32700 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:13:04.993Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (32700 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n …

Root Cause

Bug Description I keep telling it time and time again, don't cut corners, describing specifically how not to cut corners. I built hooks, skills, specifically to avoid having it doing that, and it keeps cutting corners all the time. I created memories, I told it in Claude.md. This is driving me nuts. And now that I'm considering quitting Claude Code, because not only is it getting slower and slower, because you guys keep throttling it, but on top of that, now it It just finds new ways to not do what I ask it to do.

Code Example

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (31688 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T20:51:01.038Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (28047 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T20:51:05.166Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26068 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T14:21:44.659Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:19.559Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:21.921Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:26.882Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:03:50.200Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:03:56.249Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:04:01.133Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (32700 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:13:04.993Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (32700 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n …
RAW_BUFFERClick to expand / collapse

Bug Description I keep telling it time and time again, don't cut corners, describing specifically how not to cut corners. I built hooks, skills, specifically to avoid having it doing that, and it keeps cutting corners all the time. I created memories, I told it in Claude.md. This is driving me nuts. And now that I'm considering quitting Claude Code, because not only is it getting slower and slower, because you guys keep throttling it, but on top of that, now it It just finds new ways to not do what I ask it to do.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.143
  • Feedback ID: 1022239b-375b-470d-844b-5266838116d8

Errors

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (31688 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T20:51:01.038Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (28047 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T20:51:05.166Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26068 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T14:21:44.659Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:19.559Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:21.921Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26116 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:52:26.882Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:03:50.200Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:03:56.249Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (30925 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:04:01.133Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (32700 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T16:13:04.993Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (32700 tokens) exceeds maximum allowed tokens (25000). 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 UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n …

Note: Content was truncated.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude ignores explicit instructions to avoid shortcuts despite custom hooks and memory configuration