tui: add slash command help page

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-12 12:10:15 -07:00
parent ad586ba24c
commit 8fda4e0fc2
8 changed files with 286 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
---
source: tui/src/chatwidget/tests.rs
expression: rendered
---
Slash Commands
Type / to open the command popup. For commands with both a picker and an arg form, bare /command opens the picker and /command ... runs directly.
Args use shell-style quoting; quote values with spaces.
/help show slash command help
/model choose what model and reasoning effort to use
/model <model> [default|none|minimal|low|medium|high|xhigh] [plan-only|all-modes]
/fast toggle Fast mode to enable fastest inference at 2X plan usage
/fast <on|off|status>
/approvals choose what Codex is allowed to do
/approvals <read-only|auto|full-access> [--confirm-full-access] [--remember-full-access] [--confirm-world-writable] [--remember-world-writable] [--enable-windows-sandbox=elevated|legacy]
/permissions choose what Codex is allowed to do
/permissions <read-only|auto|full-access> [--confirm-full-access] [--remember-full-access] [--confirm-world-writable] [--remember-world-writable] [--enable-windows-sandbox=elevated|legacy]
/setup-default-sandbox set up elevated agent sandbox
/experimental toggle experimental features
/experimental <feature-key>=on|off ...
/skills use skills to improve how Codex performs specific tasks
/skills <list|manage>
/review review my current changes and find issues
/review uncommitted
/review branch <name>
/review commit <sha> [title]
/review <instructions>
/rename rename the current thread
/rename <title...>
/new start a new chat during a conversation
/resume resume a saved chat
/resume <thread-id>
/fork fork the current chat
/init create an AGENTS.md file with instructions for Codex
/compact summarize conversation to prevent hitting the context limit
/plan switch to Plan mode
/plan <prompt...>
/collab change collaboration mode (experimental)
/collab <default|plan>
/agent switch the active agent thread
/agent <thread-id>
/diff show git diff (including untracked files)
/copy copy the latest Codex output to your clipboard
/mention mention a file
/status show current session configuration and token usage
/debug-config show config layers and requirement sources for debugging
/statusline configure which items appear in the status line
/statusline <item-id>...
/statusline none
/theme choose a syntax highlighting theme
/theme <theme-name>
/mcp list configured MCP tools
/apps manage apps
/logout log out of Codex
/quit exit Codex
/exit exit Codex
/feedback send logs to maintainers
/feedback <bug|bad-result|good-result|safety-check|other>
/rollout print the rollout file path
/ps list background terminals
/clean stop all background terminals
/clear clear the terminal and start a new chat
/personality choose a communication style for Codex
/personality <none|friendly|pragmatic>
/realtime toggle realtime voice mode (experimental)
/settings configure realtime microphone/speaker
/settings <microphone|speaker> [default|<device-name>]
/test-approval test approval request
/multi-agents switch the active agent thread
/multi-agents <thread-id>
/debug-m-drop DO NOT USE
/debug-m-update DO NOT USE