Files
2026-05-21 13:05:53 +00:00

1.3 KiB

name, description
name description
thread-naming Use when a Codex agent should keep the current thread title short, rename a thread after the user asks for it, or update the title when the task goal becomes clear.

Thread Naming

Keep thread titles short and useful for later resume lists.

Rules

  • Use 3 to 6 words when possible.
  • Prefer concrete nouns and verbs from the current task.
  • Do not include dates, user names, punctuation-heavy labels, or generic words like "chat" unless needed.
  • Rename once the task goal is clear, and again only if the goal materially changes.

How to Rename in Telegram Bot Threads

Emit exactly one hidden directive line in normal assistant output, outside code fences:

<!-- codex-thread-rename {"title":"<short title>"} -->

The bot strips the directive, calls Codex thread rename, and syncs its local thread title. Do not use extra tool calls or Telegram commands when this directive is available.

Fallbacks

  • If the client exposes another direct thread rename capability, use it with the concise title.
  • If only Telegram commands are available, tell the user the exact /rename TITLE command to run.
  • If no rename mechanism is available, include a short suggested title in the final answer.

Examples

  • Fix Resume Buttons
  • Publish Gitea Repo
  • Format Tool Output
  • Add Rename Command