English

Slash commands

Reference for slash commands in the ChatGPT desktop app

Slash commands let you run actions without leaving the chat composer. Available commands vary based on your environment and access.

Use a slash command

  1. In the chat composer, type /.
  2. Select a command from the list, or keep typing to filter (for example, /status).

You can also explicitly invoke skills by typing $ in the chat composer. See Skills & Plugins.

Enabled skills also appear in the slash command list. Custom prompts appear as /prompts:<name> commands.

Available slash commands

Slash command Description
/approve Approve one retry of a recent automatic-review denial, when automatic review is active.
/cloud Run the chat in the cloud, when cloud execution is available.
/cloud-environment Choose the cloud environment for the chat.
/compact Compact the current chat's context.
/fast Turn a catalog-provided Fast service tier on or off, when available.
/feedback Open the feedback dialog to submit feedback and optionally include logs.
/fork Copy a local chat into a new local chat or worktree.
/goal Set a persistent goal for ChatGPT to work toward; use /plan first to shape it.
/ide-context Turn shared IDE context on or off.
/init Generate an AGENTS.md scaffold for the current project.
/local Run the chat in the selected local project.
/mcp Open MCP status to view connected servers.
/memories Configure whether the chat can use or generate memories, when Memories is available.
/model Choose the model for the current chat.
/pet Wake or tuck away the desktop pet.
/personality Choose how Codex responds, when the current model supports personalities.
/plan Toggle plan mode for multi-step planning.
/project Choose a project for new chats.
/reasoning Choose the reasoning effort for the current chat.
/review Start code review mode to review uncommitted changes or compare against a base branch.
/side Start a temporary side chat without interrupting the main chat.
/status Show the chat ID, context usage, and rate limits.
/task Start a chat without a project.
/worktree Run the chat in a new Git worktree.

Set or manage a goal with /goal

ChatGPT desktop app goal progress controls above the composer

Use /goal in the app composer to start Goal mode. A goal is a persistent objective that ChatGPT works toward until it finishes the task, pauses, or needs more input. To define the goal with ChatGPT first, start with /plan, then set the refined goal with /goal.

When a goal is active, the app shows its progress above the composer. Use the buttons in that progress row to pause or resume the goal, edit the goal text, or clear the goal instead of typing another slash command. You can keep steering ChatGPT with follow-up messages while the goal runs.

For guidance on writing effective goals, see Goal mode.