Loading...
Loading...
Generate a self-contained HTML report that debugs what is in a Claude Code or Codex session's context window and how every token is spent — context budget, the hidden cost of retained thinking, the dumb-zone cutoff, loaded CLAUDE.md/skills, and the full history.
npx skill4agent add mark-life/agent-skills session-report/session-report$session_idscripts/$session_id# Node >= 22.18 / >= 23.6 (native TS type-stripping; most Claude Code users have Node):
node generate-report.ts "$session_id" --open
# Bun:
bun run generate-report.ts "$session_id" --open
# Older Node (no type-stripping) — no install needed, npx fetches it:
npx tsx generate-report.ts "$session_id" --opencommand -v node bunnode generate-report.ts /path/to/<id>.jsonl --out report.html --window 1000000$session_id/session-reportls -t ~/.claude/projects/*/*.jsonl | head~/.claude/projects/*/--open--out <file>./ccx-<id>.html--window <tokens>--window 200000--dumb-zone <frac>0.40--no-subagents--no-redact--codexusageinput + cache_read + cache_creationoutput_tokens~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonlmodel_context_windowscripts/lib/codex.ts--no-redact