codex - 💡(How to fix) Fix Auto-generate and apply a concise thread name after the first prompt

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Manual rename is useful, but it adds friction to every new thread. In practice, thread history becomes hard to scan when titles are long, generic, or just copied from the first prompt. Since Codex already has rename plumbing, automatic first-prompt naming would make the default experience much better without requiring the user to remember to run RENAME manually.

Code Example

Investigate why the app-server schema generation test fails after adding the new config endpoint.

---

App-server schema test failure
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

Codex with the existing thread rename capability (/rename / RENAME flow).

What feature would you like to see?

Codex now has a way to manually rename the current thread, but I would like the initial naming flow to be automatic:

  1. I start a new thread and enter the first real prompt.
  2. Codex derives a short, human-readable thread name from that prompt.
  3. Codex automatically applies that name to the current thread by reusing the existing rename path.

For example, if the first prompt is:

Investigate why the app-server schema generation test fails after adding the new config endpoint.

Codex could name the thread something like:

App-server schema test failure

Expected behavior

  • After the first user prompt, Codex generates a concise title for the current thread.
  • The generated title is applied automatically through the same persistence path used by manual rename.
  • The title is short enough to scan in thread history/sidebar/resume lists.
  • Codex should not overwrite a title that the user has already manually set.
  • If the prompt is too vague, Codex can either keep the current default title or wait until there is enough context.

Why this matters

Manual rename is useful, but it adds friction to every new thread. In practice, thread history becomes hard to scan when titles are long, generic, or just copied from the first prompt. Since Codex already has rename plumbing, automatic first-prompt naming would make the default experience much better without requiring the user to remember to run RENAME manually.

Related issues

This is related to, but slightly different from:

  • #15444: assistant-invokable rename when the user explicitly asks for it
  • #14482: setting an initial name manually with codex --name
  • #24060: auto-updating the title later as the conversation changes

This request is specifically about automatically naming a fresh thread shortly after the first prompt, using the existing rename mechanism.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

  • After the first user prompt, Codex generates a concise title for the current thread.
  • The generated title is applied automatically through the same persistence path used by manual rename.
  • The title is short enough to scan in thread history/sidebar/resume lists.
  • Codex should not overwrite a title that the user has already manually set.
  • If the prompt is too vague, Codex can either keep the current default title or wait until there is enough context.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING