Hey, I was looking at my own huge token usage and I’ve noticed that there is some adversarial reaction towards past tool uses in my message history done when sending/receiving requests to anthropic api (meaning: huge cache write every turn instead of huge cache reads and small cache writes). I’ve been investigating the issue thoroughly and I’ve noticed that it may be coming from within the binary itself. It relates to some form of tool use history corruption. I’ve noticed a flag “cch=00000” has been changing a lot in those transcripts and sometimes appeared in past transcripts which lead to tool Temporary fix is simple: Run on js code: npx @anthropic-ai/claude-code Don’t ask me how much time I looked for it. I hope in the coming days I’ll give you a proper explanation. I gotta get some sleep. submitted by /u/skibidi-toaleta-2137
Originally posted by u/skibidi-toaleta-2137 on r/ClaudeCode
