Anyone have good tips or resources on token management best practices? Because I’ve hit the limiter with one single prompt now on Opus 4.7. What I’m reading so far seems to be: -selective use of models based on task complexity -encoding large repos into more digestible and relevant data structures to reduce constant reingesting -ask Claude to limit output to X tokens (as output tokens are more expensive) -reduce flai…
I’m working on a tool that is a more token-efficient code search than grep. I don’t have hard numbers yet, but it’s been working for me to get longer sessions. https://github.com/ebcode/SourceMinder
I was looking at tree-sitter myself for this task.