| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /context List all files, symbols, and references currently loaded inside the agent's context window. | Antigravity CLI | context-management | Antigravity CLI |
| 2 | /diff Display the current git diff of files modified by the agent in this session. | Antigravity CLI | utility | Antigravity CLI |
| 3 | /open Open the specified file directly inside your host's configured preferred text editor. | Antigravity CLI | utility | Antigravity CLI |
| 4 | /memory Edit CLAUDE.md memory files, enable or disable auto-memory, and view auto-memory entries. | Claude Code | setup | Claude Code |
| 5 | /diff Show the Git diff including files Git isn't tracking yet. Review Codex's edits before committing or running tests. | Codex CLI | code-review | Codex CLI |
| 6 | /ide Include open files, current selection, and other IDE context in the next prompt without re-explaining what's open. | Codex CLI | context-management | Codex CLI |
| 7 | /mention Attach a file or folder to the conversation via popup picker so Codex references it directly in the next turn. | Codex CLI | context-management | Codex CLI |
| 8 | /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 |
| 9 | /ask Switch to Ask mode for read-only exploration — the agent searches and answers questions without editing any files. | Cursor CLI | exploration | Cursor CLI |
| 10 | /rules Create new rules or edit existing rules in .cursor/rules (.mdc files) for persistent project guidance. | Cursor CLI | setup | Cursor CLI |
| 11 | /memory refresh Reload memory from global, project, and subdirectory GEMINI.md files without restarting. | Gemini CLI | setup | Gemini CLI |
| 12 | /memory show Display the concatenated hierarchical memory from all active GEMINI.md files. | Gemini CLI | setup | Gemini CLI |
| 13 | /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 |
| 14 | /redo Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r. | OpenCode | session-management | OpenCode |
| 15 | /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 |