Just a heads up. I was getting frustrated by the HUGE toll that 4.6 had on token usage. Came across this post for RTK (seems to be quite useful, ymmv)
https://www.reddit.com/r/ClaudeAI/comments/1r2tt7q/i_saved_10m_tokens_89_on_my_claude_code_sessions/
, and then as I was doing the install I was paying attention to the git commands more than I normally do because that’s one of the tests.
I
had
noticed recently that the way Opus did its commits had changed, but it’s a commit right…tomato tomayto. Well one of the things it does now is a complete git diff. That’s… well that can be 100 lines or more. And when it’s doing document updates and all sorts of stuff, that’s a LOT of characters = a LOT of tokens. I wonder how much of the ‘extra’ that 4.6 is using in regards to tokens is actually down to that single command.
Solution was to add this in the Claude.md:
Commits: Do NOT run
git diffbefore committing — it floods context with token-heavy diffs (especially.beads/issues.jsonl). Use git status+git diff --statinstead. You already know what you changed. If you need to inspect a specific file, usegit diff <file> selectively.
So… if you’re like me, just have a look, hopefully it’ll be useful to you.
submitted by
/u/Captain_Bacon_X
Originally posted by u/Captain_Bacon_X on r/ClaudeCode
