Skip to content

Slash Commands

Slash commands let you control your PizzaPi session directly from the web UI chat input. Type / to open the command picker, then select or type a command. Anything that looks like a / command but is not listed here is forwarded to the model as a normal user message.

Type / at the beginning of the chat input. A popover appears listing all available commands, grouped into sections:

  • Commands — built-in session and UI commands
  • Plugin Commands — commands registered by Claude Code plugins
  • Prompt Templates — prompt template shortcuts
  • Skills — skill-based commands from your configuration

The list filters as you type. For example, typing /res narrows the list to /resume.

Key Action
↑ / ↓ Move highlight through the list
Enter Select the highlighted command
Escape Close the picker

On touch devices, tap a command to select it.

Some commands have sub-commands. When you select one of these, the picker stays open and shows the available sub-options. For example, selecting /mcp then shows status, reload, disable, and enable.

If a sub-command requires an argument (like /mcp disable), selecting it fills the input with the command prefix and positions your cursor to type the argument.

Command Description
/new Start a new conversation. If linked child sessions are still active, a confirmation dialog appears first.
/resume Resume a previous session. Opens a session picker showing recent sessions.
/rewind Rewind the conversation to a previous user message (forks the session). /fork is an alias.
/stop Abort the current generation.
/background Send the currently running bash command to the background (also ctrl+shift+b in the TUI).
/shells List background shells with status, runtime, and log path.
/remote Show the relay share URL, or run /remote stop / /remote reconnect from the runner command surface. In the web UI, /remote is blocked because the web UI is connected through that relay.
/restart Restart the underlying CLI process.
Command Description
/compact [instructions] Compact the conversation context. Optionally pass custom instructions to guide summarization, e.g. /compact focus on the auth module. See Sessions & Context for how compaction works.
/name <name> Set a display name for the current session, e.g. /name auth-refactor.
/recap Ask the model for a one-line recap and save it to project memory.
/recap last Show the latest saved recap. /recap show is an alias.
Command Description
/model Open the model selector dialog.
/cycle_model Same as /model — opens the model selector.
/effort Cycle through reasoning effort levels (low → medium → high).
/cycle_effort Same as /effort.
Command Description
/plan Toggle plan mode. In plan mode, the agent explores and plans without making changes (read-only).
/memory Show this project’s memory files and loaded memory index. See Project Memory.
/workflow List saved workflows. See Workflows.
/workflow new <name> Create a starter workflow file.
/workflow <name> [json-args] Run a saved workflow, optionally with JSON args.
Command Description
/name <name> Set a display name for the current session, e.g. /name auth-refactor.
/goal Show the active goal and current counters.
/goal "{condition}" [flags] Set a success condition and optional budget. An evaluator checks it each time the agent finishes a run and keeps the agent working while it’s unmet. Flags: --max-turns, --max-tokens, --max-cost, --every N, --min-turns N, --evaluator, --keyword. See Session Goals.
/goal clear Clear the active goal. Aliases: stop, off, cancel, reset, none.
/copy Copy the last assistant message to your clipboard.
Command Description
/plugins Open the interactive plugins card: loaded and disabled plugins (commands, skills, agents, hooks, source marketplace), registered marketplaces, and buttons to enable, disable, uninstall, browse, and install. Alias for /plugin; /plugins <subcommand> works too.
/plugin list List configured plugin marketplaces and installed plugins.
/plugin marketplace add/list/remove/show Manage Claude Code plugin marketplaces.
/plugin install <name[@marketplace]> Install a plugin from a marketplace.
/plugin uninstall <name> Remove an installed plugin.
/plugin enable <name> Enable an installed plugin.
/plugin disable <name> Disable an installed plugin.
/skills List all available skills from your configuration and plugins.
/skills list Show available skills.
/skills reload Reload skills and other session resources from disk.
/sandbox Show the current sandbox status. Sub-commands: status (default), violations, config.

The /mcp command manages Model Context Protocol servers. Type /mcp (with a space) to see sub-commands:

Sub-command Description
/mcp status Show the status of all configured MCP servers.
/mcp reload Reload MCP server configurations.
/mcp disable <name> Disable a specific MCP server by name.
/mcp enable <name> Re-enable a previously disabled MCP server.
Command Description
/agents [name] Start a new session as a named agent. Without an argument, opens a picker showing all available agent definitions. With a name, spawns directly, e.g. /agents reviewer.

The agent picker shows each agent’s name and description. Select one to start a new session with that agent’s system prompt.

In addition to the built-in commands above, three types of commands appear dynamically based on your configuration:

Skills defined in your ~/.pizzapi/skills/ directory (or registered by plugins) appear in the Skills group. They are prefixed with skill: internally but shown by their short name in the picker. Running a skill command sends its content to the agent.

Claude Code plugins and PizzaPi extensions can register custom commands. These appear in the Plugin Commands group or as runner-provided commands. Each shows the command name and description provided by the plugin or extension.

For example, the extension SDK reference includes a pi.registerCommand("send-email", ...) example. A plugin or extension that registers it appears as /send-email; it is not a built-in PizzaPi command unless that extension is installed and loaded.

Prompt templates from your configuration appear in the Prompt Templates group. Selecting one inserts the template content into the conversation.

/new # Start a fresh session
/resume # Resume a previous session
/rewind # Rewind to a message and fork
/compact focus on API routes # Compact context with custom instructions
/name deploy-fix # Name the current session
/model # Switch to a different model
/effort # Cycle to the next reasoning effort level
/plan # Toggle read-only plan mode
/copy # Copy last response to clipboard
/memory # Show project memory files and loaded index
/recap last # Show the latest saved recap
/workflow # List saved workflows
/workflow audit {"files":["src/index.ts"]}
/mcp status # Check MCP server health
/mcp disable filesystem # Disable the "filesystem" MCP server
/skills reload # Re-scan skills and other resources
/plugin list # Show plugin marketplaces and installed plugins
/agents reviewer # Start a session as the "reviewer" agent