r/CommandCode • u/XDSORITE • Sep 11 '26
How to view cache hit rate
I want to see the cache hit rate for my sessions how to do that. I am using the cli and I am on the 1$ plan
7
Upvotes
r/CommandCode • u/XDSORITE • Sep 11 '26
I want to see the cache hit rate for my sessions how to do that. I am using the cli and I am on the 1$ plan
View all comments
Show parent comment
1
u/ahmadawaiscom Sep 12 '26
Hey founder here. Thanks for sharing. Check out
https://commandcode.ai/docs/mods
You can use Mods to have complete programmable control over the lifecycle of loop or literally anything.
There are two compaction modes, auto and fast(burns more tokens). I have developed a new strategy that I call staircase compaction which can result in phenomenal continuous improvement of tokens over long running agents. Plan to share that soon.
But def build whatever. Mods allow you to modify any behavior of Command Code.
Even build a cache calculator as need be.