Remix.run Logo
alFReD-NSH 3 days ago

How it does it monitor usage?

Maciej-roboblog 3 days ago | parent | next [-]

Check 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 3 days ago | parent | next [-]

Wow, 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

Maciej-roboblog 3 days ago | parent [-]

Haha, 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 3 days ago | parent [-]

Film 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 3 days ago | parent [-]

Okay, sounds good — if I manage to do it, I’ll send you a message

alFReD-NSH 3 days ago | parent | prev | next [-]

It'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 3 days ago | parent [-]

Yes, 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...

Hortinstein 3 days ago | parent | prev [-]

Is 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 3 days ago | parent [-]

Yes in next relesase with duckdb, We will have the possibility of a simple export

soco 3 days ago | parent | prev [-]

I 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 3 days ago | parent [-]

This tool is for plans with a fixed cost — like Pro Max x5 or x10 — not for API usage.