mirror of
https://github.com/openai/codex.git
synced 2026-04-30 01:16:54 +00:00
The TUI supports long-running turns and agent threads, but quick side questions have required interrupting the main flow or manually forking/navigating threads. This PR adds a guarded `/side` flow so users can ask brief side-conversation questions in an ephemeral fork while keeping the primary thread focused. This also helps address the feature request in #18125. The implementation creates one side conversation at a time, lets `/side` open either an empty side thread or immediately submit `/side <question>`, and returns to the parent with Esc or Ctrl+C. Side conversations get hidden developer guardrails that treat inherited history as reference-only and steer the model away from workspace mutations unless explicitly requested in the side conversation. The TUI hides most slash commands while side mode is active, leaving only `/copy`, `/diff`, `/mention`, and `/status` available there.
27 lines
1.8 KiB
Plaintext
27 lines
1.8 KiB
Plaintext
Use /compact when the conversation gets long to summarize history and free up context.
|
|
Start a fresh idea with /new; the previous session stays in history.
|
|
Use /feedback to send logs to the maintainers when something looks off.
|
|
Switch models or reasoning effort quickly with /model.
|
|
Use /permissions to control when Codex asks for confirmation.
|
|
Run /review to get a code review of your current changes.
|
|
Use /skills to list available skills or ask Codex to use one.
|
|
Use /status to see the current model, approvals, and token usage.
|
|
Use /statusline to configure which items appear in the status line.
|
|
Use /fork to branch the current chat into a new thread.
|
|
Use /side to start a side conversation in a temporary fork without polluting the main thread.
|
|
Use /init to create an AGENTS.md with project-specific guidance.
|
|
Use /mcp to list configured MCP tools.
|
|
Run `codex app` to open Codex Desktop (it installs on macOS if needed).
|
|
Use /personality to customize how Codex communicates.
|
|
Use /rename to rename your threads for easier thread resuming.
|
|
Use the OpenAI docs MCP for API questions; enable it with `codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcp`.
|
|
Join the OpenAI community Discord: http://discord.gg/openai
|
|
Visit the Codex community forum: https://community.openai.com/c/codex/37
|
|
You can run any shell command from Codex using `!` (e.g. `!ls`)
|
|
Type / to open the command popup; Tab autocompletes slash commands.
|
|
When the composer is empty, press Esc to step back and edit your last message; Enter confirms.
|
|
Press Tab to queue a message when a task is running; otherwise it sends immediately (except `!`).
|
|
Paste an image with Ctrl+V to attach it to your next message.
|
|
You can resume a previous conversation by running `codex resume`
|
|
Use /copy or press Ctrl+O to copy the latest agent response as Markdown.
|