github / github/copilot-cli

Auto-rename session on exit

Open
#2,546 0 comments 0 reactions 0 assignees View on GitHub
area:configuration area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

When closing Copilot CLI, sessions are left with default/unnamed labels unless the user manually runs /rename before exiting. This makes it hard to find and resume past sessions later, as they lack meaningful descriptions. Most users forget to rename, resulting in a list of unnamed sessions that all look the same.

### Proposed solution

Add a configuration option (e.g., auto_rename_on_exit: true) that automatically triggers the /rename auto-generation
logic when the user exits the CLI via /exit, /quit, ctrl+d, or ctrl+c ×2. This would use the existing conversation-based name
generation — no user input required.

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.