Chris Collins

Project

claude-session-analyzer (claude-trace)

A native analyzer for Claude Code session logs: it ingests every session into SQLite and shows how much reading, searching, and sub-agent work happened before code was written.

Started 17 August 2026 · updated 16 September 2026 · repository

Applied AIDeveloper tools

Claude Code records every session as a JSONL file. claude-trace ingests all of them into SQLite and lets me drill into how the work actually happened — in particular, how much reading, searching, and sub-agent activity came before each edit.

The dashboard

What it does

  • Incrementally ingests ~/.claude/projects//.jsonl (only new bytes on each run).

  • Derives episodes — one user turn up to the next file edit — and the tool calls in each, flagged as reads, searches, Bash, sub-agents, or modifications.

  • Views for projects, sessions, episodes (with raw drill-in), a timeline with watermarks to split statistics before and after a point, and full-text search.

  • CSV export of episodes and tool calls.

  • Deep-links straight to a project; Chief uses this.

How it is built

Go: a ct CLI for ingest and queries, a native Wails app, a REST API (embedded in the app or run headless with ct serve), and an MCP server (ct mcp). The data model keeps every raw event alongside derived tables and an FTS5 index.

Status

Working and in daily use.

Try it

curl -fsSL https://raw.githubusercontent.com/geekychris/claude-session-analyzer/main/scripts/install.sh | bash

Updates

No updates yet.