Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copilot CLI Sessions ManagerNew to Visual Studio Code? Get it now.
Copilot CLI Sessions Manager

Copilot CLI Sessions Manager

Saikishore Bikumandla

|
4 installs
| (0) | Free
Browse, manage, and clean up GitHub Copilot CLI sessions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔭 Copilot Sessions Manager — VS Code Extension

Browse, manage, and clean up your GitHub Copilot CLI sessions directly from VS Code.

Features

📋 Session Browser

  • Sidebar tree view with sessions grouped by project
  • Each session shows summary, relative date, and turn count
  • Click any session to view its full conversation

💬 Conversation Viewer

  • Full conversation with user/assistant messages
  • Markdown rendering with syntax-highlighted code blocks
  • Tabs: Conversation | Checkpoints | Plan | Files
  • Copy code blocks to clipboard

⚡ Quick Actions (right-click any session)

Action Description
Rename Update session name
Delete Remove session and all data
Move Reassign to a different project
Resume Open in a new terminal with copilot --yolo
Export Export full conversation as Markdown

🧹 Cleanup

  • Scan for empty and orphaned sessions
  • Bulk delete with confirmation
  • Ctrl+Shift+P → "Copilot Sessions: Cleanup Empty Sessions"

🔍 Search

  • Search sessions by name or content
  • Ctrl+Shift+P → "Copilot Sessions: Search Sessions"

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Copilot CLI Sessions Manager"
  4. Click Install

Requirements

  • VS Code ≥ 1.85
  • GitHub Copilot CLI installed (~/.copilot/ directory must exist)

How It Works

The extension reads directly from two data sources created by Copilot CLI:

  1. ~/.copilot/session-store.db — SQLite database (via sql.js, pure JS — no native modules)
  2. ~/.copilot/session-state/{session-id}/ — Per-session folders with events, plans, and artifacts

All operations are local. No data leaves your machine.

Commands

Command Shortcut
Copilot Sessions: Refresh (view toolbar)
Copilot Sessions: Search Sessions (view toolbar)
Copilot Sessions: Cleanup Empty Sessions Ctrl+Shift+P
Copilot Sessions: View Session (click in tree)
Copilot Sessions: Rename Session (right-click)
Copilot Sessions: Delete Session (right-click)
Copilot Sessions: Move Session (right-click)
Copilot Sessions: Resume Session (right-click)
Copilot Sessions: Export to Markdown (right-click)

Security

  • Session IDs validated as UUIDs before any filesystem or database operation
  • Path traversal protection on all file access
  • All database access is local (no network calls)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft