Allow users to set or rename Codex CLI session titles for easier resume

Resolved 💬 2 comments Opened May 13, 2026 by salabeen Closed May 13, 2026

Feature request

Please add a way for users to explicitly set or rename Codex CLI session titles, so sessions are easier to find later with codex resume.

Problem

When using Codex CLI frequently, the resume picker becomes hard to navigate. Thread names are currently inferred automatically, and they are not always memorable or specific enough.

This is especially painful when working across multiple repositories or when several sessions have similar first prompts. The user can resume by UUID or thread name, but there does not appear to be a clear user-facing way to assign a stable, meaningful title.

Proposed UX

Any of these would help:

codex --name "work-pc clipimg setup"
codex rename "work-pc clipimg setup"
codex resume "work-pc clipimg setup"

Or inside the TUI:

/session rename work-pc clipimg setup

Expected behavior

  • A user can set a title when starting a session.
  • A user can rename the current session later.
  • The resume picker shows the user-defined title.
  • codex resume <name> can resolve the user-defined title.
  • Renaming should avoid ambiguous or shadowed names, or make ambiguity visible in the picker.

Why this matters

For CLI-heavy workflows, resume is one of the main ways to continue work. User-defined session names would make long-running or multi-repo work much easier to manage.

There are already related resume/thread-name issues, for example name-based resume behavior around automatically generated thread names. This request is specifically for a user-facing title/rename workflow.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗