Loading...
Loading...
Generate an explorable HTML report of Claude Code session usage (tokens, cache, subagents, skills, expensive prompts) from ~/.claude/projects transcripts.
npx skill4agent add anthropics/claude-plugins-official session-report24h30dallanalyze-sessions.mjsnode <skill-dir>/analyze-sessions.mjs --json --since 7d > /tmp/session-report.json--since/tmp/session-report.jsonoverallby_projectby_subagent_typeby_skillcache_breakstop_promptscp <skill-dir>/template.html ./session-report-$(date +%Y%m%d-%H%M).html<script id="report-data" type="application/json"><!-- AGENT: anomalies -->overall.input_tokens.total + overall.output_tokens<div class="take bad"><div class="fig">41.2%</div><div class="txt"><b>cc-monitor</b> consumed 41% of the week across just 3 sessions</div></div>.take bad.take good.take info.fig12×.txt<b><!-- AGENT: optimizations --><div class="callout">/weekly-statustop_promptstop_promptscache_breaks