Earlier quoted context omitted.
The audit point is especially interesting. Is your Claude token-audit tool available anywhere?
I didn't update it for a while. It reads your local conversation history, correlate input/output token with usage (claude doesn't give exact breakdown), and classify if they are subagent/tooluse/normal message/whatever. Let me know if I can make it any way useful to you. https://github.com/kmcheung12/ccaudit
I burned all my tokens researching how to save tokens
201–210 of 237 posts
Re: I burned all my tokens researching how to save tokens
#202Earlier quoted context omitted.
Trust me there are plenty of us using cloud AI to actually ship stuff. We just aren't writing blog posts about it.
what did you ship?
Re: I burned all my tokens researching how to save tokens
#203Re: I burned all my tokens researching how to save tokens
#204Earlier quoted context omitted.
no ur wrong
Well you both seem like well educated people, so can we bring in some thinking here and determine whether it is 2.5% or 10%? How could this be verified? I don't think I'm good enough at math and ai research to find a reliable way.
Re: I burned all my tokens researching how to save tokens
#205Earlier quoted context omitted.
no ur wrong
Well you both seem like well educated people, so can we bring in some thinking here and determine whether it is 2.5% or 10%? How could this be verified? I don't think I'm good enough at math and ai research to find a reliable way.
Re: I burned all my tokens researching how to save tokens
#206The reason most people burn through their allocated limits is mostly because of sub-agents. Stop using them and you will find out that even the Pro tier is enough for daily 8-12h coding sessions. Don't use Fable though.
I don’t think subagents are the problem. Uncontrolled fan-out is. Separate contexts and independent analysis are extremely useful for larger tasks. In my experience, Pro is far too limited for sustained programming, although that probably depends a lot on the kind of engineering work you do. Fable is great, but overkill for most tasks. Sonnet and Opus are already good enough for the execution work. I find Fable much…
Re: I burned all my tokens researching how to save tokens
#207The reason most people burn through their allocated limits is mostly because of sub-agents. Stop using them and you will find out that even the Pro tier is enough for daily 8-12h coding sessions. Don't use Fable though.
If you ask the AI to do more work, it uses more tokens. If you do more of the work instead, fewer tokens are used.
I've been looking at Matt Pocock's skills recently, and they're very useful. But they use tokens. You can do that work yourself without the token usage, and just have the AI do the coding, or you can tell the AI to do everything and pay the cost.
And you can scale it down even further, and reduce the AI to a glorified code completion tool, and use way fewer tokens. But it's not going to speed up your work nearly as much.
For now, finding the right balance is important. In the future, I think things will eventually shift to the point that we just hand most of it to the AI and let it go without worrying about tokens.
Re: I burned all my tokens researching how to save tokens
#208echo "$OUT" | claude-mem-save so, does agents are ultra aware their output is used in a bash line or did bash now have some magic quote super power? I'd bet this only really work 2% of the time in real world.
At the shell level, the agent does not need to know about Bash. The contents of "$OUT" are passed to echo as one argument, then sent to claude-mem-save over stdin. Bash does not re-evaluate them as shell code. printf '%s\n' "$OUT" would be more robust than echo. Whether claude-mem-save can use arbitrary output is a separate question.
Re: I burned all my tokens researching how to save tokens
#209Earlier quoted context omitted.
no ur wrong
Well you both seem like well educated people, so can we bring in some thinking here and determine whether it is 2.5% or 10%? How could this be verified? I don't think I'm good enough at math and ai research to find a reliable way.
Re: I burned all my tokens researching how to save tokens
#210Earlier quoted context omitted.
Most of "What are you working on?" is AI assisted; not much is shipped. https://hn.algolia.com/?query=working%20author%3Adavid927&so...
Checking all the past "what are you working on?" threads just to realize that, somewhere in August 2024 stuff just exploded and the average thread goes reached ~1000 messages, from ~50 pre-August.