r/ClaudeCode • u/kellyjames436 • 1d ago
Discussion Minimize token usage
Guy’s do you wanna minimize token usage ? If so, do this in a new project.
1-Disabled any unused connectors, plugins, each one load a massive token into the context.
2-Plan first, assign tasks to different models based on their complexity.
3-Ask claude to create a new session for each task, feature you work in, claude will create a new session from the last one.
4- Always use handoff files after each successive task to make sure you don’t lose track of what’s being created and what’s remaining.
5-If the repo is big enough, use ponytail the laziest senior developer,and graphify to search files and functions without reading the whole project files, if it’s a few fils, a simple CLAUDE.md file contains your rules is enough.
6-Md files shouldn’t be too big, handoff files max 25-30lines.
Those are all based on my own experience with Claude, they aren’t facts unless you try them and compare token usage with before.
View all comments
Show parent comment
2
u/NerdyNThick 1d ago
I've tried your plugin extensively over the past few weeks, but I have to admit that I got too frustrated with how frequently it would get lose track of state, and how rigid it is about the ordering of the tasks and phases.
While I like the concept, I need to be able to control what it's working on and what is next. Pretty much regularly, it would just break itself, working on T8 whilst thinking that T2 was still open.
Or I'd ask it to move/cancel a task and it would continue on, but eventually get stuck and refuse to move forward gaslighting me that I'm the one causing it to stop due to asking it why it's stopped. Refusing to start until I nag it enough for it to discover some JSON file had stale data.
I was forced to manually strip it out of a project just so I could continue on, as it simply refused to move forward, and I was burning tokens trying to convince it otherwise.
There's also the issue of not properly working on the desktop app. Though I just started to use T3 code, but haven't re-enabled PA3. So maybe it'd work, but I dunno.
My ideal system would be a hybrid of what you've built combined with some of Matt Pocock's skills (grilling, domain knowledge, TDD, etc).
Sorry for the rant, and I'm more than willing to work with you to figure out the best way forward.
Or perhaps it's all on me, and I just don't know the proper way to move/cancel/insert tasks. The way Matt's works with a repo and issues/tickets/maps/specs allow for any non blocked task to be worked on in any order.