Skip to main content

Terminal tool to view and manage GitHub Copilot CLI sessions

Project description

🤖 Copilot Sessions

A terminal tool to view and manage your GitHub Copilot CLI sessions — track usage, costs, premium requests, kill stale sessions, and clean up old ones.

Python License

Features

  • List & filter all Copilot CLI sessions
  • View details with full 💰 usage breakdown (tokens, models, premium requests, cost)
  • Active sessions — see what's running live
  • Kill stale/orphan live sessions
  • Delete & cleanup old sessions by age
  • Statistics — total usage across all sessions
  • Resume command — copy-paste to jump back into any session

Installation

pipx (Recommended)

pipx install copilot-sessions

pip

pip install copilot-sessions

From source

git clone https://github.com/sk3pp3r/copilot-sessions.git
cd copilot-sessions
pipx install .

Usage

copilot-sessions              # launch interactive manager
copilot-sessions --active     # show active sessions only
copilot-sessions --version    # show version
copilot-sessions --help       # full help

Interactive Commands

Key Action
l List all sessions
f Filter/search sessions
a Active sessions
v View session detail + 💰 Usage
s Show statistics
d Delete session(s)
k Kill live session(s)
c Cleanup old sessions
r Refresh
q Quit

Requirements

  • Python 3.9+
  • rich (installed automatically)
  • GitHub Copilot CLI (~/.copilot/session-state/ must exist)

License

MIT © Haim Cohen

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

copilot_sessions-1.3.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

copilot_sessions-1.3.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file copilot_sessions-1.3.0.tar.gz.

File metadata

  • Download URL: copilot_sessions-1.3.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for copilot_sessions-1.3.0.tar.gz
Algorithm Hash digest
SHA256 de49312f4f17262ad231be4fedf09047d8cf1a41afeda4df84d7816c56b479ab
MD5 581d6d3c3a3edb2c4423b166f2b45886
BLAKE2b-256 e5470a59c1b405bdd3c82134293553f7fb9dac060ab7531bd872a42290559286

See more details on using hashes here.

File details

Details for the file copilot_sessions-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for copilot_sessions-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc5a9b2e61b4755afd8a0099bd6dedcd37ebd910750865425324adec84a612cf
MD5 f7272f8fbbd476a8d07c3100a6398b71
BLAKE2b-256 a4a9e888fd51994847fd3b6be5ec3af9d7de1df5b37f02a9eaffacded6de6b6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page