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.
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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de49312f4f17262ad231be4fedf09047d8cf1a41afeda4df84d7816c56b479ab
|
|
| MD5 |
581d6d3c3a3edb2c4423b166f2b45886
|
|
| BLAKE2b-256 |
e5470a59c1b405bdd3c82134293553f7fb9dac060ab7531bd872a42290559286
|
File details
Details for the file copilot_sessions-1.3.0-py3-none-any.whl.
File metadata
- Download URL: copilot_sessions-1.3.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc5a9b2e61b4755afd8a0099bd6dedcd37ebd910750865425324adec84a612cf
|
|
| MD5 |
f7272f8fbbd476a8d07c3100a6398b71
|
|
| BLAKE2b-256 |
a4a9e888fd51994847fd3b6be5ec3af9d7de1df5b37f02a9eaffacded6de6b6a
|