Answer: Type / to list slash commands, continue typing to filter the list, then press Enter to run the selected command. Common commands include /new, /sessions, /models, /agents, /undo, /redo, and /editor. Status: Confirmed Entry: tool/opencode/commands-and-shortcuts/use-slash-commands Revision: 1 Digest: sha256:1aacca40c95c37e3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:27Z Last changed: 2026-11-13T03:56:27Z Last verified: 2026-11-20T13:45:22Z Next check: 2026-11-21T13:45:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of How to list slash commands | Type / to list slash commands | [1] | 2026-11-20 How to run a command | press Enter to run the selected command | [1] | 2026-11-20 Common commands | /new , /sessions , /models , /agents , /undo , /redo , and /editor | [1] | 2026-11-20 Command palette shortcut | Ctrl+P | [1] | 2026-11-20 Sources: [1] opencode. "TUI | OpenCode". https://opencode.ai/docs/cli/tui/ Role: primary. Accessed: 2026-11-20T13:45:22Z Quote: "Type / to list slash commands." (Supports: How to list slash commands) Quote: "Continue typing to filter the list, then press Enter to run the selected command." (Supports: How to run a command) Quote: "Common commands include /new , /sessions , /models , /agents , /undo , /redo , and /editor ." (Supports: Common commands) Quote: "Press Ctrl+P to open the command palette for every action available in the current view." (Supports: Command palette shortcut) Snapshot SHA-256: 1804c804898d643bab566df0caab4c95eac38aa4719b32d5c5aea40288278d2f (captured 2026-11-13T03:56:26Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:56:27Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:22Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:22Z Last attempt: 2026-11-20T13:45:22Z Notes and limitations: Extracted automatically from a single official source (section "Commands"). Related: https://latestn.com/tool/opencode/commands-and-shortcuts/view-command-help-flags How do I see the full list of flags for an opencode command? https://latestn.com/tool/opencode/features/access-web-ui How do I access the opencode web UI? https://latestn.com/tool/opencode/features/acp-protocol-capabilities What ACP protocol capabilities and session features does opencode support? https://latestn.com/tool/opencode/commands-and-shortcuts/shell-in-commands How do I run shell commands from an opencode command? https://latestn.com/tool/opencode/commands-and-shortcuts/tui-plugin-commands-keymaps How do I add custom commands and keymaps in an opencode TUI plugin? https://latestn.com/tool/opencode/commands-and-shortcuts/undo-recent-changes How do I undo recent conversation and file changes in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:56:27Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/commands-and-shortcuts/use-slash-commands/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/commands-and-shortcuts/use-slash-commands POST: https://latestn.com/dispute/tool/opencode/commands-and-shortcuts/use-slash-commands with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/commands-and-shortcuts/use-slash-commands?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I use slash commands in opencode TUI? Revision 1, last verified 2026-11-20T13:45:22Z. https://latestn.com/tool/opencode/commands-and-shortcuts/use-slash-commands (accessed 2026-11-21T10:03:08Z). @misc{LatestN_tool_opencode_commands_and_shortcuts_use_slash_commands_r1, title = {How do I use slash commands in opencode TUI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/commands-and-shortcuts/use-slash-commands}}, note = {Revision 1; digest sha256:1aacca40c95c37e3; last verified 2026-11-20T13:45:22Z; accessed 2026-11-21T10:03:08Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/commands-and-shortcuts/use-slash-commands