I Built a VS Code Extension That Solves One of the Most Frustrating Problems in AI-Assisted Development
Source: Dev.to
Problem
A few weeks ago I was debugging an authentication issue with Claude Code. After about 45 minutes, the credits ran out mid‑sentence. I switched to Gemini and had to explain everything from scratch—the codebase, the bug, and what I’d already tried. The same thing happened the next day, and again the day after that. The repeated loss of context became extremely frustrating.
Session Bridge AI
Session Bridge AI is a free VS Code extension that automatically maintains a SESSION.md file in your project. While you work, it captures:
- Your current Git diff
- Open files
- Progress notes
When your AI tool stops responding, you can press Ctrl + Alt + N, copy the generated session summary, paste it into the next tool, and continue exactly where you left off—no re‑explaining, no lost context. It typically takes about ten seconds to get back into the flow.
Token Dashboard
While building the extension I discovered that Claude Code writes detailed token‑usage logs to the local machine. I added a token dashboard to the extension that reads those logs and shows:
- Total tokens consumed
- Cost per project
On my own machine the dashboard reported 6.48 million tokens used in the past 30 days, which was a surprise. The dashboard is included in the extension and requires no additional setup beyond having Claude Code installed.
Installation & Usage
- Current version: v0.5.1
- Compatible with Gemini (free), Claude, and OpenAI
- Setup time: roughly 2 minutes
To install, search for “Session Bridge AI” in the VS Code Marketplace and follow the on‑screen instructions.
Source Code & Further Information
The source code is available on GitHub for anyone who wants to explore or contribute. For more of my projects, you can visit my personal website (link provided in the extension’s README).