โ Back to command reference
๐ Command Rosetta: the same task on 5 platforms
This table shows, for a task (e.g. "compact context") in each row, what the matching command is called on each of the 5 CLI platforms. An entry "โ" doesn't mean the task is impossible, just that the platform has no dedicated documented command for it. Click a command name to jump to the full description.
As of: 18.07.2026
โโโ means: this platform has no dedicated documented command for it.
Context & Files
| Task | Claude Code | Codex CLI | Cursor CLI | Aider | Antigravity CLI |
|---|---|---|---|---|---|
| Compact contextSummarize the conversation so far to free up space in the context window. | /compact | โ | /summarize | โ | โ |
| Add file/folder to contextAdd an additional file or directory to the session's working context. | /add-dir | โ | /add-dir | /add | /add-dir |
| Clear context/historyStart a new, empty session or chat history. | /clear | /new | /clear | /clear | /clear |
| Visualize context usageShow what's currently taking up space in the context window. | /context | โ | /context | โ | /context |
| Edit project config/instructionsView and edit project-wide instructions or rules (e.g. CLAUDE.md, Cursor rules). | /memory | โ | /rules | โ | โ |
Models & Costs
| Task | Claude Code | Codex CLI | Cursor CLI | Aider | Antigravity CLI |
|---|---|---|---|---|---|
| Switch modelChange the AI model used for the current session. | /model | /model | /model | /model | /model |
| List available modelsList or browse all models available for the account. | โ | โ | agent models | /models | agy models |
| Toggle extended thinkingEnable extended thinking (reasoning), make it visible, or set its token budget. | /thinking | โ | /show-thinking | /think-tokens | โ |
| Show cost/token usageShow token usage, API usage, or cost for the session. | /usage | โ | โ | /tokens | /usage |
Session & History
| Task | Claude Code | Codex CLI | Cursor CLI | Aider | Antigravity CLI |
|---|---|---|---|---|---|
| Resume sessionResume an earlier conversation or session. | /resume | /resume | /resume | โ | /resume |
| Branch session (fork/branch)Branch the current conversation into a new, independent copy. | /branch | /fork | /fork | โ | /fork |
| Rename sessionGive the current session a custom name. | /rename | โ | /rename | โ | /rename |
| Undo changes (undo/rewind)Reset the conversation and/or code to an earlier point. | /rewind | โ | /rewind | /undo | /rewind |
| View diffView the not-yet-committed code changes as a diff. | /diff | /diff | /changes | /diff | /diff |
| Copy response/textCopy the last response or a chat message to the clipboard. | /copy | โ | /copy | /copy | /copy |
| Trigger code reviewTrigger a review of the current code changes or a pull request. | /code-review | /review | โ | โ | โ |
Modes & Permissions
| Task | Claude Code | Codex CLI | Cursor CLI | Aider | Antigravity CLI |
|---|---|---|---|---|---|
| Autonomy mode / run without confirmationDefine which actions the agent may execute automatically without asking. | /permissions | /permissions | /run-everything | โ | agy --dangerously-skip-permissions |
| Toggle sandbox modeRestrict file and command execution to an isolated sandbox. | /sandbox | โ | /sandbox | โ | agy --sandbox |
| Plan mode (plan first, then act)Have a plan created before any code is changed. | /plan | /plan | /plan | /architect | /planning |
Automation & Extensions
| Task | Claude Code | Codex CLI | Cursor CLI | Aider | Antigravity CLI |
|---|---|---|---|---|---|
| Manage MCP serversView, add, or manage connected MCP servers. | /mcp | /mcp | /mcp | โ | /mcp |
| Manage subagents/custom agentsConfigure and monitor subagents or custom agents. | /agents | โ | โ | โ | /agents |
| Run shell command directlyRun a shell command directly from within the session. | โ | โ | /shell | /run | !<shell-command> |
| Start headless/non-interactiveStart the CLI non-interactively, e.g. for scripts or CI. | โ | codex exec | โ | โ | agy -p / --print |
| Web search/researchSearch the web or pull a web page into the chat as context. | /web-search | โ | โ | /web | โ |
Help & Management
| Task | Claude Code | Codex CLI | Cursor CLI | Aider | Antigravity CLI |
|---|---|---|---|---|---|
| Show helpShow help and an overview of available commands. | /help | โ | /help | /help | /help |
| Log out/log inSign out of the connected account. | /logout | โ | /logout | โ | /logout |
| Report bug/feedbackGive feedback or report a bug to the provider's team. | /feedback | โ | /feedback | /report | /feedback |
| ExitEnd the current CLI session. | /exit | โ | /exit | /exit | /exit |