Skip to content

Allow custom prompt or template for thread title generation #29677

Open

Description

@MuhammedAlkhudiry

Feature request

Please add a supported way to customize the prompt or template Codex uses when generating thread titles.

Use case

I want generated titles to follow a consistent prefix pattern, for example:

  • [✨ FEAT] feature work
  • [⚠️ BUG] bugs, investigations, failing checks
  • [♻️ REF] refactors or cleanup
  • [🧭 PLAN] planning or research
  • [📌 OTHER] admin/setup/simple questions

Example:

[⚠️ BUG] Checkout login redirect failure

Why

Thread history is easier to scan when generated titles follow a personal taxonomy. Manual rename and cleanup automations work, but they are after-the-fact. A title-generation prompt/template would make the first title correct.

Notes

This should affect only title generation, not the main agent prompt, and it should not overwrite titles the user manually set.

Related: #24289, #14482, #15444, #24202.

Activity

  1. added
    enhancement
    session
    config
    on Jun 23, 2026
  2. added
    app
    and removed on Jul 30, 2026
  3. tlmader commented on Aug 26, 2026

    @tlmader

    I second this. It's very annoying to have to add my issue IDs to each chat.

  4. wstoettinger commented on Oct 1, 2026

    @wstoettinger

    I also need configurable titles, particularly per-project naming conventions!

    Generic opening prompts therefore produce titles that are difficult to distinguish across projects.

    The proposed template support would help if it allowed:

    • Project/repository name variables, such as [project] - [task summary].
    • Project-specific title instructions e.g. in AGENTS.md files.
    • Optional title generation or refinement after the first assistant response, using the context established during that turn.
    • all while preserving manually assigned titles.

    For example, “fix the failing tests” should produce distinguishable titles for two different repositories without requiring me to repeat the project name in every opening prompt.

    Related: #38498 covers project prefixes, and #14044 covers optional title updates as the conversation evolves.

  5. Austin1serb commented on Nov 24, 2026

    @Austin1serb

    +1 for this, it would be very cool to maybe just like enter a short system prompt for what you what the titles to get generated as.

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

    Broken flowUser Requestappconfigenhancementsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions