Developer resources · Checked October 8, 2026

ChatGPT & Codex slash commands

A separate reference for the app and the Codex terminal.

Choose the section for your app. Commands depend on version, environment, and enabled features; type / in your composer to see what is available.

ChatGPT / Codex app

CommandUse it for
/approveRetry approval
/archiveArchive chat
/chatProjectless chat
/cloudCloud execution
/cloud-environmentCloud selection
/compactContext summary
/fastFaster tier
/feedbackProduct feedback
/forkChat copy
/goalPersistent objective
/ide-contextEditor context
/initProject instructions
/localLocal execution
/mcpTool status
/memoriesMemory settings
/modelModel selection
/newFresh chat
/petDesktop pet
/pinPin chat
/planPlanning mode
/projectProject selection
/reasoningReasoning depth
/renameChat name
/reviewCode review
/sideSide chat
/statusSession details
/usageAccount usage
/worktreeIsolated checkout

Official app command reference

Codex CLI additions

The terminal has its own menu. These are CLI-oriented entries; do not assume they appear in every chat interface. See the official reference for shared commands, aliases, arguments, and platform restrictions.

CommandUse it for
/permissionsApproval policy
/ideEditor inputs
/keymapKeyboard mapping
/vimVim input
/setup-default-sandboxWindows sandbox
/sandbox-add-read-dirWindows read access
/agentAgent selection
/appsConnector picker
/pluginsPlugin browser
/hooksLifecycle hooks
/clearClear conversation
/deletePermanent deletion
/copyCopy response
/diffWorking changes
/exitExit terminal
/experimentalExperimental options
/skillsSkill browser
/importConfiguration import
/logoutSign out
/mentionFile attachment
/personalityResponse style
/psBackground terminals
/stopStop terminals
/appDesktop handoff
/rawRaw scrollback
/resumeSaved sessions
/quitExit terminal
/debug-configConfiguration diagnosis
/statuslineFooter settings
/titleTerminal title
/themeSyntax colors
/petsTerminal companion

Official Codex CLI reference

Skills and custom prompts

Use $ to select an available skill. Enabled skills may also appear in the slash menu. Installed custom prompts use /prompts:name. This inventory found no files in the local ~/.codex/prompts directory. Installed skills and plugins are separate from built-in commands.

A useful starting point

/plan Add a resource page with links and short descriptions. Identify the files to edit and how to check mobile layout.

After implementation, inspect the actual page and code changes before publishing.

← Back to the resource library