Slash command typeahead showing available commands when typing a forward slash
Slash commands are shortcuts for common Codex actions inside a workspace thread. Type / followed by a command name to run operations such as compacting conversation history, initialising project guidance, or inspecting MCP status.

Using Slash Commands

  1. Type / at the beginning of a new line in the chat input
  2. Wait for the typeahead menu to appear
  3. Continue typing to filter commands
  4. Press Enter or click a command to select it
  5. Add optional arguments if the command accepts them
  6. Send the message as normal
For example, /compact focus on the authentication changes asks Codex to compact the conversation while preserving an emphasis on the authentication work.

Available Commands

Jaidu exposes the same non-interactive slash commands that Codex makes available in its CLI environment.
Commands that require an interactive TUI flow are not available in Jaidu.
CommandDescription
/compactSummarise the conversation to free tokens
/initGenerate an AGENTS.md scaffold in the current directory
/statusDisplay thread configuration and token usage
/mcpList configured MCP tools
For full details, see the Codex slash commands documentation.

Command Discovery

When a workspace thread starts, Jaidu discovers the available Codex slash commands automatically. The typeahead shows Discovering commands… while this is happening. Commands are cached per workspace so subsequent uses are instant.
If you change your Codex installation or slash-command environment, refresh by creating a new thread.