upvote
Thank you for sharing these tips! Just checked RTK and Headroom out and looks like Headroom actually uses RTK under the hood for CLI output compression: https://github.com/chopratejas/headroom#compared-to
reply
Didn’t realize that, thank you!
reply
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
reply
Oh nice! Thank you, I will definitely give this a shot.

I was looking at tree-sitter myself for this task.

reply
It's still in beta, and I'm hoping to get more feedback, so feel free to post in the issues or reach out directly if you run into any problems.
reply
What was your single prompt? That seems highly unlikely.
reply
“Ok Claude, I bet you can’t hit the usage limit in one shot… let’s see what you got you little token gremlin”

;)

I just asked it to do a security analysis in a subagent of an unmaintained browser extension and then go fix vulnerabilities it found so I can use it without worrying.

reply