Innovation Engine — insight

Session Theme Weaver

April 23, 2026

Scans the last 7 days of Claude Code session transcripts across all projects and produces a single tablet-friendly PDF brief showing the recurring themes, unfinished threads, and cross-project patterns Ethan is actually spending his cognition on. Delivered to ~/Tablet/ each Monday morning so he can review the week's mental landscape on the TCL Note with stylus annotations — turning scattered session noise into a weekly 'what is my brain actually chewing on' map.

claude-code-sessionstablet-syncdoc-markup-appanthropic-api

Create ~/bin/session-theme-weaver: bash + python script that (1) globs ~/.claude/projects/*/*.jsonl modified in last 7d, (2) extracts user prompts + first assistant line per session via jq, (3) sends the concatenated prompts to Claude Haiku via anthropic SDK with a prompt asking for 5 recurring themes, 3 unfinished threads, and 2 cross-project patterns, (4) renders output to PDF via pandoc with a clean serif theme, (5) writes to ~/Tablet/weekly-brief-$(date +%Y-W%V).pdf so tablet-sync pushes it to the Doc Markup app. Add cron entry Mon 6am via safe-append pattern. Tests first: mock jsonl fixtures + assert PDF generated + assert Haiku prompt contains session text.

Needs Review
Build timed out after 5 minutes
Active Projects
russ-telegram, innovation-engine, bys-website, .claude
Category
insight