Claude Code, Codex, Gemini CLI and OpenCode Use Different Names for the Same Commands

A developer guide compares nine everyday slash commands across Claude Code, Codex CLI, Gemini CLI and OpenCode, showing that the same job often has a different name in each tool. For example, context compaction is called /compact in three agents but /compress in Gemini CLI. The comparison, based on each vendor's documentation as of October 15, 2026, also covers commands for switching models, planning, resuming sessions and checking usage. The guide notes that some tools lack a direct equivalent, such as OpenCode, which uses a separate Plan agent instead of a /plan command. It also points out that launch flags for the same tasks differ further, with Codex using a subcommand for resuming sessions where the others use flags.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in