Clawdbot Slash Commands
Use slash commands to interact with Clawdbot AI assistant. Learn available commands and how to create custom commands.
Clawdbot Slash Commands Overview
Slash commands provide quick access to common actions and skills. Type / followed by a command name to execute.
Built-in Commands
General Commands
| Command | Description |
|---|---|
/help | Show available commands |
/status | Show gateway status |
/clear | Clear conversation |
/reset | Reset session |
Agent Commands
| Command | Description |
|---|---|
/agent | Switch agent |
/model | Change AI model |
/persona | Change persona |
Session Commands
| Command | Description |
|---|---|
/new | New conversation |
/save | Save conversation |
/export | Export transcript |
Skill Commands
Skills that are user-invocable appear as slash commands:
| Command | Description |
|---|---|
/commit | Generate commit message |
/review | Code review |
/explain | Explain code |
Command Syntax
Basic Usage
/commandWith Arguments
/command arg1 arg2With Options
/command --option valueCreating Custom Commands
Via Skills
Create a skill with user-invocable: true:
---
name: my-command
description: My custom command
user-invocable: true
---
Instructions for the agent...Via Config
{
"commands": {
"custom": [
{
"name": "todo",
"description": "Add a todo item",
"action": "run_agent",
"prompt": "Add todo: {{args}}"
}
]
}
}Provider-Specific Commands
Discord Slash Commands
Register slash commands with Discord:
{
"providers": {
"discord": {
"slashCommands": {
"register": true,
"commands": ["help", "status"]
}
}
}
}Telegram Bot Commands
Register commands with BotFather:
clawdbot providers telegram register-commandsCommand Dispatch
Direct Tool Dispatch
Bypass the model and call a tool directly:
---
name: exec
user-invocable: true
command-dispatch: tool
command-tool: bash
---Agent Dispatch
Route to a specific agent:
---
name: code
user-invocable: true
command-dispatch: agent
command-agent: coder
---Next Steps
- Clawdbot Skills - Create skills
- Clawdbot Tools - Tool configuration
- Clawdbot CLI - CLI reference