Skip to content

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

Closed

Description

@salabeen

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.

Activity

  1. salabeen commented on May 13, 2026

    @salabeen
    Author

    I found #14482 after filing this. This issue overlaps with that request, especially the codex --name part, but also calls out renaming the current session and resume-picker discoverability. Feel free to close as duplicate if preferred.

  2. salabeen commented on May 13, 2026

    @salabeen
    Author

    Closing this because I realized the session rename flow already exists or is covered by existing session-name issues such as #14482. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions