polyclaw v5.0.0

Slash Commands

Slash commands in the TUI

Polyclaw supports an extensive set of slash commands, shared between Bot Framework channels and the WebSocket chat interface.

Session Commands

CommandDescription
/newStart a new conversation session
/sessionShow current session info
/sessionsList all archived sessions
/sessions clearClear all sessions
/session delete <id>Delete a specific session
/clearClear all memory files

Skill Commands

CommandDescription
/skillsList all available skills
/addskill <name>Install a skill from the catalog
/removeskill <name>Uninstall an installed skill

Plugin Commands

CommandDescription
/pluginsList all plugins
/plugin enable <id>Enable a plugin
/plugin disable <id>Disable a plugin

MCP Commands

CommandDescription
/mcpList all MCP servers
/mcp enable <name>Enable an MCP server
/mcp disable <name>Disable an MCP server
/mcp add <name> <url>Add an MCP server
/mcp remove <name>Remove an MCP server

Schedule Commands

CommandDescription
/schedulesList scheduled tasks
/schedule add <min> <hour> <dom> <month> <dow> <prompt>Add a scheduled task
/schedule remove <id>Remove a task

Model Commands

CommandDescription
/modelsList available models
/model <name>Switch to a different model

Profile Commands

CommandDescription
/profileShow agent profile
/configShow current configuration
/config <KEY> <VALUE>Update a configuration value

Communication Commands

CommandDescription
/channelsList connected channels
/callInitiate a voice call to configured target
/phone <number>Set default phone number

System Commands

CommandDescription
/statusShow system status
/helpShow command help
/preflightRun preflight checks
/changeBrowse recent sessions
/lockdown on/offEnable/disable lockdown mode

Command Processing

Commands are processed by CommandDispatcher in app/runtime/messaging/commands.py. The dispatcher:

  1. Checks for exact command matches first
  2. Falls back to prefix matching for parameterized commands
  3. Returns a structured response or delegates to the agent
  4. Works identically across Bot Framework and WebSocket channels