4 ms·
How it does it monitor usage?
by alFReD-NSH 1y ago
How it does it monitor usage?
- Maciej-roboblog 1y agoCheck directory ~/.claude/projects/*/*.jsonl ;) hah very interesting topic. I have a plan to write blog post about it (all conversations history with metadata inside json lines files) What do you think about this idea? Interesting?
- M4v3R 1y agoWow, I had no idea Claude Code had this kind of verbose logging turned on by default. Looking around I also found a cool tool for converting these logs to HTML format for easy viewing: https://github.com/daaain/claude-code-log https://github.com/daaain/claude-code-log
- Maciej-roboblog 1y agoHaha, in that case it sounds like an article I could actually handle. By the way, is it better to go with an article or short-form video?
- pbowyer 1y agoFilm video, transcribe, edit to become article? I'm of an age where I rarely watch short-form videos so would read the article but you'll miss an audience if that's all you produce.
- Maciej-roboblog 1y agoOkay, sounds good — if I manage to do it, I’ll send you a message
- Hortinstein 1y agoIs there anyway to ensure these logs are output in a current project folder? Would like to store a copy in git for reference
- Maciej-roboblog 1y agoYes in next relesase with duckdb, We will have the possibility of a simple export
- alFReD-NSH 1y agoIt's definitely interesting. Probably, one could also see how much of the context is unnecessary to optimise usage. I wonder if one could also detect whether cache was used.
- Maciej-roboblog 1y agoYes, cache write and read is available to fetch i can add new flag to view this values, please create issue in repository with this idea https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor/issues/new https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor...
- soco 1y agoI keep the credits page open and refresh it from time to time, because I honestly only care about money, not about tokens whatever these are.
- Maciej-roboblog 1y agoThis tool is for plans with a fixed cost — like Pro Max x5 or x10 — not for API usage.