[FEATURE]: Improve /rename command to be AI powered #6792

Open
opened 2026-02-16 18:05:17 -05:00 by yindo · 1 comment
Owner

Originally created by @kth8 on GitHub (Jan 19, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I use Opencode heavily which results in tons of sessions being created. Trying to resume a specific previous session based on the initial message title is a real struggle. Currently using the /rename command is a really awkward experience. I think it would it would make sense to make it AI powered so it can accurately reflect the active session based on context. Here is a proof of concept:
img

tldr:

  1. User types /rename in the session
  2. Prompt text is set something along the lines of "Use the update_session_title tool to rename this session to reflect the current context or topic in 1 sentence."
  3. User can review/edit the prompt before sending to AI if they want a specific title
  4. AI uses the tool to rename the session based on context
  5. UI displays the renamed session with the new title
Originally created by @kth8 on GitHub (Jan 19, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request I use Opencode heavily which results in tons of sessions being created. Trying to resume a specific previous session based on the initial message title is a real struggle. Currently using the `/rename` command is a really awkward experience. I think it would it would make sense to make it AI powered so it can accurately reflect the active session based on context. Here is a proof of concept: ![img](https://i.imgur.com/Z2baNuv.png) tldr: 1. User types `/rename` in the session 2. Prompt text is set something along the lines of "Use the update_session_title tool to rename this session to reflect the current context or topic in 1 sentence." 3. User can review/edit the prompt before sending to AI if they want a specific title 4. AI uses the tool to rename the session based on context 5. UI displays the renamed session with the new title
yindo added the discussion label 2026-02-16 18:05:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #1389: Feature Request: Rename Session Title - earlier feature request for the same functionality
  • #6153: Session rename dialog: auto-select text or start empty for faster renaming - related UX improvement for /rename command
  • #7965: Autonaming of sessions does not work - addresses auto-generation of session names
  • #8336: [FEATURE]: Better session resume ergonomics - related feature for improving session management UX
  • #5097: When use vertex models (like gemini 3 pro perview) no session name generated - session auto-naming issue with specific models
  • #4133: [FEATURE]: Use a cheap model to name sessions - proposes using AI to generate session titles

Feel free to ignore if your specific use case for AI-powered /rename command differs from these related issues.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #1389: Feature Request: Rename Session Title - earlier feature request for the same functionality - #6153: Session rename dialog: auto-select text or start empty for faster renaming - related UX improvement for /rename command - #7965: Autonaming of sessions does not work - addresses auto-generation of session names - #8336: [FEATURE]: Better session resume ergonomics - related feature for improving session management UX - #5097: When use vertex models (like gemini 3 pro perview) no session name generated - session auto-naming issue with specific models - #4133: [FEATURE]: Use a cheap model to name sessions - proposes using AI to generate session titles Feel free to ignore if your specific use case for AI-powered /rename command differs from these related issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6792