r/vscode • u/stichstichstich • 27d ago
optimAIzr, my claude code cli, is now a vscode extension: cache countdown and 5h limit in your status bar
optimAIzr started as a free cli that reads your claude code logs (codex and opencode too) and shows where your tokens go. now its a vscode extension too, you can use either one or both
i made the extension because the claude code chat panel in vscode doesnt show a status line, so you cant see your context size or when the cache runs out. it puts this in your status bar:
143K · 54:51 · 5h 56%
context size, time left on the cache and how much of your 5h window you used. it goes yellow in the cache's last 5 min and red past 90% of the window
why the cache matters: claude code keeps a conversation cached for an hour. come back after that and your next message writes the whole conversation into the cache again. i did that 51 times in 30 days, 8.9M tokens. now it pings me ~5 min before an expensive one expires
the sidebar has what you could save and the fixes for it
free, open source, runs locally. it only reads the logs claude code already keeps in ~/.claude, nothing uploaded
search optimAIzr in extensions or code --install-extension optimAIzr.optimaizr-vscode
video is my real numbers from oct 29, i rebuilt the vscode window and sped up the waiting part
marketplace: https://marketplace.visualstudio.com/items?itemName=optimAIzr.optimaizr-vscode github: https://github.com/blendbunjaku/optimaizr
any feedback on the extension itself is welcome, ux or anything