Skip to content

Agents > Capabilities

Slash Commands

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Use Slash Commands in Agent Mode or Auto-Detection Mode to quickly run built-in actions or saved prompts without leaving the input field.

Slash Commands are quick actions and saved prompts you can invoke by typing / in Agent Mode or Auto-Detection Mode. They provide instant access to built-in actions like starting conversations, creating environments, switching models, opening static flows, and running saved prompts from Warp Drive.

Slash Commands menu

Slash Commands menu.

As you type, the menu filters results in real time, making it easy to find and run the command or prompt you need.

Warp currently supports the following built-in Slash Commands:

Slash CommandDescription
/add-mcpAdd a new MCP server.
/add-promptAdd a new Agent Prompt in Warp Drive.
/add-ruleAdd a new Global Rule for the Agent.
/agentStart a new agent conversation. Optionally include a prompt to send immediately.
/changelogOpen the latest Warp changelog.
/cloud-agentStart a new cloud agent conversation. *
/compactFree up context by summarizing conversation history.
/compact-andCompact the current conversation and then send a follow-up prompt.
/continue-locallyFork the current cloud agent conversation into a local Warp session. See Handoff between local and cloud agents. Available while a cloud agent conversation is active.
/conversationsOpen conversation history.
/copy-debugging-idCopy debugging information for the current conversation to your clipboard, so you can include it when reporting an issue. Available while a conversation is active.
/costToggle credit usage details in the current conversation.
/create-environmentCreate a Warp Environment (Docker image + repos) via guided setup. *
/create-new-projectHave the Agent walk you through creating a new coding project. *
/environmentSwitch the environment for the current cloud agent conversation.
/export-to-clipboardExport the current conversation to clipboard in markdown format.
/export-to-fileExport the current conversation to a markdown file.
/feedbackOpen the static feedback experience. See Using /feedback in Warp for details.
/forkForks the current conversation into a new thread with the full context and history of the original.

You can optionally include a prompt that will be sent immediately in the forked conversation.
/fork-and-compactForks the current conversation and automatically compacts the forked version.

Useful when you want a fresh, summarized starting point that preserves relevant context while trimming the rest.
/fork-fromOpen a searchable menu to fork the conversation from a specific query. Select a query to create a fork that includes everything up to that point.
/handoffHand the current local conversation off to a cloud agent, carrying its history and a snapshot of your uncommitted changes. See Handoff from local to cloud. You can optionally include a follow-up prompt. *
/harnessSwitch the harness for the current cloud agent conversation.
/hostSwitch the execution host for the current cloud agent conversation.
/indexIndex the current codebase using Codebase Context.
/initIndex the current codebase and generate an AGENTS.md file. *
/modelSwitch the base agent model for the current conversation.
/newStart a new agent conversation (alias for /agent).
/open-code-reviewOpen the code review pane.
/open-fileOpen a file for editing in Warp’s code editor.
/open-mcp-serversView the status of your MCP servers.
/open-project-rulesOpen the Project Rules file (AGENTS).
/open-repoSwitch to another indexed repository.
/open-rulesView all of your global and project rules.
/open-settings-fileOpen the Warp settings file (settings.toml) in Warp’s code editor.
/open-skillOpen an interactive menu to browse and edit project or global skills.
/orchestrateBreak a task into subtasks and run them in parallel with multiple agents. See Multi-agent orchestration. *
/planPrompt the Agent to do some research and create a plan for a task.
/profileSwitch the active execution profile.
/promptsSearch saved prompts.
/queueQueue a prompt to send after the agent finishes responding. See Prompt Queueing.
/remote-controlPublish the current third-party CLI agent session to the cloud so you can monitor and steer it from another device. See Remote Control.
/rename-conversationRename the current conversation.
/rename-tabRename the current tab. Include the new tab name as an argument (for example, /rename-tab deploy).
/rewindRewind to a previous point in the conversation.
/set-tab-colorSet the color of the current tab. Takes a required color argument: red, green, yellow, blue, magenta, cyan, or none to clear it. See Tab colors.
/skillsInvoke a skill from a searchable menu.
/usageOpen billing and usage settings.

In addition to static commands, the menu also shows Agent Prompts saved in your Warp Drive.

  • These prompts can be custom ones you’ve created or ones shared with you.
  • As you type after /, prompts are filtered dynamically, so you can quickly run them without leaving the input field.

Slash Commands menu with filtered Agent Prompts

Slash Commands menu with filtered Agent Prompts.

  • Context-aware: Many Slash Commands use your current working directory or file selection as context.
  • Quick access: Use / from anywhere in Agent Mode or Auto-Detection Mode to avoid navigating through menus.

Below is an example interaction when /init is run:

/init setup flow; 1 of 2

The /init setup flow, step 1 of 2.

/init setup flow; 2 of 2

The /init setup flow, step 2 of 2.