Rename Current Thread
- Generate a clear, specific, distinctive title from the main goal of the conversation, prioritizing the most recent active task. Include the main subject and at least one of its action, outcome, or scope. Preserve the key name of any relevant project, module, document, or platform. Do not include
@name,$name, or their arguments in the title. - Ensure the title is distinguishable from other threads. Avoid generic titles such as "Handle issue," "Modify code," "Update document," "Skill changes," or "Requirements discussion." Prefer "Improve name thread-title rules" over "Modify skill."
- Remove leading whitespace, repeated leading
❤️markers, and whitespace immediately following them to obtain the base title. - Parse the invocation arguments:
- If the invocation contains the standalone argument
1, set the title to❤️ <base title>. - Otherwise, set the title to
<base title>, removing any important marker.
- If the invocation contains the standalone argument
- Call
codex_app__set_thread_titlewithtitleand omitthreadIdso only the current thread is renamed. - After the tool succeeds, briefly confirm the new title. If the tool is unavailable or fails, report the failure accurately and do not claim completion.
Use the conversation's primary language for the title.