Understanding tokens spent

It doesn’t help much.
It could be really big if Cursor can intelligently advice on saving tokens.
As we don’t directly see how agent creates context - its not always easy to guess.
In my case for example agent decided to use Supabase MCP to execute very large SQL files (migrations, seed). It had to include full content of these files into tool call multiple times within session. Using CLI would be faster and easier option.

I suspect a kind of a hints for things that not even require any ai - “this MCP tool call is very big” kind of hints.

Another thing is refactoring code, I may be wrong but feels like simple renaming of a symbol can eat up lots of tokens and it takes a lot of time. Last few ties I literally switched to WebStorm just to rename and move things around quickly. Agent probably should have better tools for such common dev tasks to search codebase properly and understand ast not just grepping things around.

Interesting enough - you can just ask llm and it’ll answer the best it can: