Claude Session Monitor
Browse, analyze and continue your Claude Code sessions — right inside VS Code.
Claude Code stores every session as a JSONL file under ~/.claude/projects/. This extension scans them and gives you a fast, themed way to explore what you've done across repositories → branches → sessions, with per-session token / cost / duration detail and a cross-session analytics dashboard.
Install
Open the Extensions view, search “Claude Session Monitor”, and click Install — or via Quick Open (Ctrl/Cmd+P):
ext install super-coder-doctor.claude-session-monitor
📖 Documentation
Full step-by-step guides & live demo (English / 简体中文):
claude-session-monitor
Screenshots
Session detail — dark / light
Analytics dashboard — dark / light
Features
- Sessions sidebar — a dedicated activity-bar view listing your sessions, grouped by repository and git branch (or a flat, time-sorted list). Live counts, star/favorite, and a favorites group.
- Scope toggle — show sessions from all repositories or only the current workspace repository.
- Session detail — open any session in a rich, themed panel: full transcript, tool calls, sub-agents, token/context and cost breakdown.
- Analytics dashboard — cost, token trends, tool distribution, activity heatmap and cross-session aggregation.
- Quick Open — fuzzy-search any session by title / repo / branch and jump straight to its detail (
Ctrl+Alt+S / Cmd+Alt+S).
- Auto-refresh — the list updates automatically as sessions change on disk.
- Status bar — shows the current session count; click to open the dashboard.
- Native theming — follows your VS Code color theme (light / dark / high-contrast) and display language (English / 简体中文).
- Restores on reload — detail and dashboard panels come back after a window reload.
Requirements
- Claude Code installed, with at least one session recorded under
~/.claude/projects/.
Extension Settings
| Setting |
Default |
Description |
csm.scanDirectory |
"" |
Directory to scan for sessions. Empty uses ~/.claude/projects. Changing it requires a window reload. |
csm.autoRefresh |
true |
Automatically refresh the list when session files change on disk. |
Commands & Keybindings
| Command |
Keybinding |
Where |
CSM: Quick Open Session… |
Ctrl+Alt+S / Cmd+Alt+S |
anywhere |
CSM: Refresh Sessions |
Ctrl+R / Cmd+R |
when the Sessions view is focused |
CSM: Open Dashboard |
— |
Command Palette / view title |
The Sessions view title bar also offers scope, sort, collapse-all and refresh actions.
Support & Issues
Found a bug or have a feature request? Please open an issue:
claude-session-monitor/issues
Prefer a manual or offline install — or need a specific/older version? Download the packaged .vsix for each release from
Releases, then in the Extensions view use the ⋯ menu → Install from VSIX….
License
MIT