[BUG] System Reminder STILL transfering ENTIRE CONTENTS of Edited files costing massive tokens for no good reason

Resolved 💬 3 comments Opened Oct 15, 2025 by acidtech Closed Oct 15, 2025

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?

System Reminder STILL tansfers the ENTIRE FILE contents after an Edit is completed. And it continues to do this multiple times. An edit of 10 lines of code can cost 50K,100k or even your entire 200K context window in some cases because of the MULTIPLE "reminders" about the file being editing including the ENTIRE FILE CONTENTS. WHat should have cost less than 1000k is blowing through an entire session of context in MINUTES. This is a bug that has existed since 2.0.13 at least. So MAYBE you guys should ACTUAL LOOK AT THESE TICKETS AND FIX THEM.

What Should Happen?

system reminder should ONLY show the diff of the edited file. Instead if does show the diff(original lines and edited lines) AND it tacks on the oringinalFile contents, EVERY TIME IT SENDS THE REMINDER. I specifically have documented this before in previous releases showing the SAME PROBLEM. Eating an ENTIRE 200K context window in MINUTES because of a handful of lines of edited text.

FIX THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Error Messages/Logs

Steps to Reproduce

Edit a large file with the built in Edit tool. Soon there after the system reminder will trigger and send the ENTIRE FILE CONTENTS to Claude AGAIN. And it may do it again shortly there after. But any edit at all will trigger at least ONE system reminder with the ENTIRE FILE CONTENTS.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.10

Claude Code Version

2.0.17

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Windows Terminal

Additional Information

WSL2 Linux

View original on GitHub ↗

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