Primary navigation

Slash commands

Reference for slash commands in the ChatGPT desktop app

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

Use a slash command

  1. In the task 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 task composer. See Skills & Plugins.

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

Available slash commands

Slash commandDescription
/approveApprove one retry of a recent automatic-review denial, when automatic review is active.
/cloudRun the task in the cloud, when cloud execution is available.
/cloud-environmentChoose the cloud environment for the task.
/compactCompact the current task’s context.
/fastTurn a catalog-provided Fast service tier on or off, when available.
/feedbackOpen the feedback dialog to submit feedback and optionally include logs.
/forkCopy a local task into a new local task or worktree.
/goalSet a persistent goal for ChatGPT to work toward; use /plan first to shape it.
/ide-contextTurn shared IDE context on or off.
/initGenerate an AGENTS.md scaffold for the current project.
/localRun the task in the selected local project.
/mcpOpen MCP status to view connected servers.
/memoriesConfigure whether the task can use or generate memories, when Memories is available.
/modelChoose the model for the current task.
/petWake or tuck away the desktop pet.
/personalityChoose how Codex responds, when the current model supports personalities.
/planToggle plan mode for multi-step planning.
/projectChoose a project for new tasks.
/reasoningChoose the reasoning effort for the current task.
/reviewStart code review mode to review uncommitted changes or compare against a base branch.
/sideStart a temporary side conversation without interrupting the main task.
/statusShow the task ID, context usage, and rate limits.
/taskStart a task without a project.
/worktreeRun the task in a new Git worktree.

Set or manage a goal with /goal

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.