1
0 Comments

How I auto-capture coding sessions from 25+ AI tools

Hey! New article on the Nokos session capture architecture.

The problem: every AI coding tool — Claude Code, Cursor, Copilot, ChatGPT — stores conversations differently. And most of it vanishes when you close the terminal.

I built a pipeline that captures all of them automatically:
- Session hooks (Claude Code SessionEnd + PreCompact, Codex notify)
- VS Code extension (Roo Code, Cline)
- Cron-based file watching as a safety net for long-running sessions
- 7 dedicated parsers that normalize every format into one schema
- AI summarization so you get searchable titles and tags, not raw JSONL

The fun part: Claude Code fires "Compacting conversation" 3-5 times per session, each triggering the hook. Solved it with daily session IDs — same-day pushes upsert, next day starts fresh.

Full deep dive with architecture diagrams and code:
https://dev.to/tomokiikeda/how-i-auto-capture-coding-sessions-from-25-ai-tools-architecture-deep-dive-2p3i

Are you capturing your AI coding sessions? How do you keep track of what you've built?

posted toAvatar for product Nokos
Nokos