DEV Community

Cover image for Code Insights – Turn AI coding sessions into lasting knowledge
Srikanth Rao M
Srikanth Rao M

Posted on

Code Insights – Turn AI coding sessions into lasting knowledge

I built a CLI tool that parses AI coding sessions from Claude Code, Cursor, Codex CLI, and Copilot CLI into a local SQLite database with terminal analytics and a browser dashboard.

The core problem: developers using AI coding tools generate thousands of session files containing real knowledge — debugging approaches, architectural decisions, patterns — but never revisit them.

How it works: Each source tool has a provider that discovers and parses session files into a common format. Everything goes into SQLite (WAL mode, better-sqlite3). The CLI provides cost/usage analytics. The dashboard (Vite + React SPA at localhost) gives you session browsing and LLM-powered insight extraction.

Fully local, MIT licensed, no accounts needed.

Docs: https://code-insights.app/docs/getting-started/introduction

Install: npm install -g @code-insights/cli

GitHub: https://github.com/melagiri/code-insights

Top comments (0)