| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 101 | /agents Manage subagents — list built-in, local, and remote subagents; enable, disable, or configure. | Gemini CLI | parallel-agents | Gemini CLI |
| 102 | /clear Clear the terminal screen and visible history (same as Ctrl+L). | Gemini CLI | session-management | Gemini CLI |
| 103 | /commands List and reload custom .toml slash commands. Run /commands reload after adding or modifying commands without restarting. | Gemini CLI | setup | Gemini CLI |
| 104 | /compress Replace the current chat context with a summary to save tokens and free up context window space. | Gemini CLI | context-management | Gemini CLI |
| 105 | /init Analyze directory and generate a tailored GEMINI.md for persistent project memory. | Gemini CLI | setup | Gemini CLI |
| 106 | /mcp Manage MCP servers — list, describe, show schema, enable, disable, reload, or configure OAuth. | Gemini CLI | integrations | Gemini CLI |
| 107 | /memory refresh Reload memory from global, project, and subdirectory GEMINI.md files without restarting. | Gemini CLI | setup | Gemini CLI |
| 108 | /memory show Display the concatenated hierarchical memory from all active GEMINI.md files. | Gemini CLI | setup | Gemini CLI |
| 109 | /model set Choose and optionally persist the active model. Pass --persist to save as default. | Gemini CLI | configuration | Gemini CLI |
| 110 | /permissions Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts. | Gemini CLI | configuration | Gemini CLI |
| 111 | /plan Switch to Plan Mode (read-only) where Gemini produces an approved plan before making any changes. | Gemini CLI | planning | Gemini CLI |
| 112 | /restore Revert files to their pre-tool state using checkpointing. Pass a tool_call_id to restore a specific checkpoint. | Gemini CLI | session-management | Gemini CLI |
| 113 | /resume Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints. | Gemini CLI | session-management | Gemini CLI |
| 114 | /rewind Navigate backward through history; revert chat and/or code to a prior state (also Esc Esc). | Gemini CLI | session-management | Gemini CLI |
| 115 | /skills Manage agent skills — list, enable, disable, or reload. | Gemini CLI | configuration | Gemini CLI |
| 116 | /stats Detailed usage statistics — session totals, per-model breakdown, and tool call counts. | Gemini CLI | diagnostics | Gemini CLI |
| 117 | /tools List available tools. Pass 'desc' for descriptions or 'nodesc' for compact list. | Gemini CLI | configuration | Gemini CLI |
| 118 | /vim Toggle Vim mode for the composer. Saved to ~/.gemini/settings.json. | Gemini CLI | configuration | Gemini CLI |
| 119 | /compact Summarize the current session to save tokens. Alias: /summarize. | OpenCode | context-management | OpenCode |
| 120 | /connect Add a provider and API key to connect a new AI model provider. | OpenCode | configuration | OpenCode |
| 121 | /details Toggle tool execution details in the conversation output. | OpenCode | configuration | OpenCode |
| 122 | /editor Open the external $EDITOR for composing messages — useful for long or structured prompts. Keybind: Ctrl+x e. | OpenCode | context-management | OpenCode |
| 123 | /exit Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q. | OpenCode | session-management | OpenCode |
| 124 | /export Export the current conversation to Markdown and open in $EDITOR. Keybind: Ctrl+x x. | OpenCode | session-management | OpenCode |
| 125 | /init Guided AGENTS.md setup for the current project. | OpenCode | setup | OpenCode |
| 126 | /models List available models across all configured providers. Keybind: Ctrl+x m. | OpenCode | configuration | OpenCode |
| 127 | /new Start a new session. Aliases: /clear. Keybind: Ctrl+x n. | OpenCode | session-management | OpenCode |
| 128 | /redo Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r. | OpenCode | session-management | OpenCode |
| 129 | /sessions List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l. | OpenCode | session-management | OpenCode |
| 130 | /share Share the current session publicly. | OpenCode | session-management | OpenCode |
| 131 | /themes List available themes and switch the visual theme. Keybind: Ctrl+x t. | OpenCode | configuration | OpenCode |
| 132 | /thinking Toggle visibility of reasoning blocks in the response. | OpenCode | configuration | OpenCode |
| 133 | /undo Remove the last message and its responses, and revert any file changes made. Git-backed — requires a git repository. Keybind: Ctrl+x u. | OpenCode | session-management | OpenCode |