| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /agents Manage subagents — list built-in, local, and remote subagents; enable, disable, or configure. | Gemini CLI | parallel-agents | Gemini CLI |
| 2 | /clear Clear the terminal screen and visible history (same as Ctrl+L). | Gemini CLI | session-management | Gemini CLI |
| 3 | /commands List and reload custom .toml slash commands. Run /commands reload after adding or modifying commands without restarting. | Gemini CLI | setup | Gemini CLI |
| 4 | /compress Replace the current chat context with a summary to save tokens and free up context window space. | Gemini CLI | context-management | Gemini CLI |
| 5 | /init Analyze directory and generate a tailored GEMINI.md for persistent project memory. | Gemini CLI | setup | Gemini CLI |
| 6 | /mcp Manage MCP servers — list, describe, show schema, enable, disable, reload, or configure OAuth. | Gemini CLI | integrations | Gemini CLI |
| 7 | /memory refresh Reload memory from global, project, and subdirectory GEMINI.md files without restarting. | Gemini CLI | setup | Gemini CLI |
| 8 | /memory show Display the concatenated hierarchical memory from all active GEMINI.md files. | Gemini CLI | setup | Gemini CLI |
| 9 | /model set Choose and optionally persist the active model. Pass --persist to save as default. | Gemini CLI | configuration | Gemini CLI |
| 10 | /permissions Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts. | Gemini CLI | configuration | Gemini CLI |
| 11 | /plan Switch to Plan Mode (read-only) where Gemini produces an approved plan before making any changes. | Gemini CLI | planning | Gemini CLI |
| 12 | /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 |
| 13 | /resume Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints. | Gemini CLI | session-management | Gemini CLI |
| 14 | /rewind Navigate backward through history; revert chat and/or code to a prior state (also Esc Esc). | Gemini CLI | session-management | Gemini CLI |
| 15 | /skills Manage agent skills — list, enable, disable, or reload. | Gemini CLI | configuration | Gemini CLI |
| 16 | /stats Detailed usage statistics — session totals, per-model breakdown, and tool call counts. | Gemini CLI | diagnostics | Gemini CLI |
| 17 | /tools List available tools. Pass 'desc' for descriptions or 'nodesc' for compact list. | Gemini CLI | configuration | Gemini CLI |
| 18 | /vim Toggle Vim mode for the composer. Saved to ~/.gemini/settings.json. | Gemini CLI | configuration | Gemini CLI |