Slash commands let you run actions without leaving the task composer. Available commands vary based on your environment and access.
Use a slash command
- In the task composer, type
/. - 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 command | Description |
|---|---|
/approve | Approve one retry of a recent automatic-review denial, when automatic review is active. |
/cloud | Run the task in the cloud, when cloud execution is available. |
/cloud-environment | Choose the cloud environment for the task. |
/compact | Compact the current task’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 task into a new local task 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 task in the selected local project. |
/mcp | Open MCP status to view connected servers. |
/memories | Configure whether the task can use or generate memories, when Memories is available. |
/model | Choose the model for the current task. |
/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 tasks. |
/reasoning | Choose the reasoning effort for the current task. |
/review | Start code review mode to review uncommitted changes or compare against a base branch. |
/side | Start a temporary side conversation without interrupting the main task. |
/status | Show the task ID, context usage, and rate limits. |
/task | Start a task without a project. |
/worktree | Run 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.