Earlier quoted context omitted.
> If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself. Sure, for 4/5 interactions then will ignore those completely :) Try for yourself: add to CLAUDE.md an instruction to always refer to you as Mr. bcherny and it will stop very soon. Coincidentally at that…
The number of times I’ve written “read your own fucking Claude.md file” is a bit too numerous. “You’re absolutely right! I see here you don’t want me to break every coding convention you have specified for me!”
I've used it pretty extensively over the year and never had issues with this.
If you hit autocompact during a chat, it's already too long. You should've exported the relevant bits to a markdown file and reset context already.