| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /diff Display the current git diff of files modified by the agent in this session. | Antigravity CLI | utility | Antigravity CLI |
| 2 | /exit Exit the active session and terminate agy safely. Alias: /quit. | Antigravity CLI | session-management | Antigravity CLI |
| 3 | /fork Fork the current conversation thread into a new session, keeping original history intact. Alias: /branch. | Antigravity CLI | session-management | Antigravity CLI |
| 4 | /logout Log out of your active Google user session and wipe local authentication caches. | Antigravity CLI | configuration | Antigravity CLI |
| 5 | /rename Rename the active conversation thread for better tracking and retrieval. | Antigravity CLI | session-management | Antigravity CLI |
| 6 | /resume Resume or switch to a past conversation session. Aliases: /switch, /conversation. | Antigravity CLI | session-management | Antigravity CLI |
| 7 | /background Detach the current session to run as a background agent and free this terminal. Optionally pass a final instruction before detaching. | Claude Code | parallel-agents | Claude Code |
| 8 | /clear Start a new conversation with empty context. Previous session stays in /resume; use /rewind (v2.1.191+) to undo a clear in-session. Aliases: /reset, /new. | Claude Code | session-management | Claude Code |
| 9 | /fork Spawn a forked subagent that inherits the full conversation and works on a directive while you keep going in the main session. | Claude Code | parallel-agents | Claude Code |
| 10 | /loop Run a prompt repeatedly on a schedule while the session stays open. Omit the interval and Claude self-paces between iterations. | Claude Code | automation | Claude Code |
| 11 | /model Switch the AI model and save it as your default for new sessions. Adjust effort level with left/right arrows on models that support it. | Claude Code | configuration | Claude Code |
| 12 | /remote-env Set or view the default environment for cloud agents spawned from Claude Code sessions. | Claude Code | configuration | Claude Code |
| 13 | /resume Resume a previous conversation by ID or name, or open the session picker. | Claude Code | session-management | Claude Code |
| 14 | /stop Stop the attached background session while keeping its transcript and git worktree. | Claude Code | parallel-agents | Claude Code |
| 15 | /tasks View and manage background work in the current session. Stops from the tasks panel are permanent as of v2.1.191. | Claude Code | parallel-agents | Claude Code |
| 16 | /usage Show session cost, plan usage limits, and activity stats. Includes breakdown by skill, subagent, plugin, and MCP server on paid plans. | Claude Code | diagnostics | Claude Code |
| 17 | /archive Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'. | Codex CLI | session-management | Codex CLI |
| 18 | /model Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only. | Codex CLI | configuration | Codex CLI |
| 19 | /new Start a new conversation inside the same CLI session without clearing the terminal view. | Codex CLI | session-management | Codex CLI |
| 20 | /permissions Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session. | Codex CLI | configuration | Codex CLI |
| 21 | /resume Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over. | Codex CLI | session-management | Codex CLI |
| 22 | /status Display session configuration and token usage — active model, approval policy, writable roots, and context capacity. | Codex CLI | diagnostics | Codex CLI |
| 23 | /model Set or list available models for the current session. | Cursor CLI | configuration | Cursor CLI |
| 24 | /new-chat Start a new chat session with empty context. | Cursor CLI | session-management | Cursor CLI |
| 25 | /resume Resume a previous chat session by folder name. | Cursor CLI | session-management | Cursor CLI |
| 26 | /sandbox Configure sandbox mode and network access settings for the current session. | Cursor CLI | configuration | Cursor CLI |
| 27 | /usage View Cursor streaks and usage statistics for the current session. | Cursor CLI | diagnostics | Cursor CLI |
| 28 | /resume Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints. | Gemini CLI | session-management | Gemini CLI |
| 29 | /stats Detailed usage statistics — session totals, per-model breakdown, and tool call counts. | Gemini CLI | diagnostics | Gemini CLI |
| 30 | /compact Summarize the current session to save tokens. Alias: /summarize. | OpenCode | context-management | OpenCode |
| 31 | /new Start a new session. Aliases: /clear. Keybind: Ctrl+x n. | OpenCode | session-management | OpenCode |
| 32 | /sessions List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l. | OpenCode | session-management | OpenCode |
| 33 | /share Share the current session publicly. | OpenCode | session-management | OpenCode |