Slash commands
Los slash commands empiezan con / y se escriben en el cuadro de texto de plazbot studio, seguidos de Enter. Algunos corren localmente (/help, /clear, /export) y otros envían a Studio un mensaje predefinido (/agents, /diagnose). El nombre no distingue mayúsculas y los argumentos con espacios van entre comillas.
01/<command> [args]
Lista completa
| Comando | Alias | Grupo | Qué hace |
|---|---|---|---|
/help | /? | General | Muestra la lista de comandos y atajos |
/quit | /exit, /q | General | Sale de Studio |
/agents | Agent | Lista los agentes del workspace actual | |
/load <agentId> | Agent | Carga un agente por id y muestra su configuración | |
/save | Agent | Guarda en el backend la configuración del agente cargado | |
/diagnose | Agent | Diagnostica el agente actual y reporta lo que encuentre | |
/export [path] | /download | Agent | Escribe la configuración del agente cargado como JSON en [path] (por defecto ./<nombre-del-agente>.json) |
/clear | /cls | Session | Borra los mensajes y el historial del cuadro de texto (mantiene el agente cargado y el contador de tokens) |
/reset | Session | Reinicio total: borra mensajes, agente cargado y contador de tokens | |
/compact | Session | Resume la conversación y reemplaza el historial por ese resumen |
Si escribes un comando que no existe:
01 ● Plazbot02 Unknown command: /deploy. Run /help to see the list.
/help
Muestra los comandos agrupados (General, Agent, Session) y los atajos de teclado.
01 ● Plazbot02 Plazbot Studio — slash commands0304 Type plain text to chat with the assistant.05 Slash commands run locally or send a templated prompt to the model.0607 General08 • /help (alias: /?) — Show this help with every available command09 • /quit (aliases: /exit, /q) — Exit Studio1011 Agent12 • /agents — List the agents in the current workspace13 • /load <agentId> — Load an agent by id and show its current configuration14 • /save — Save the currently loaded agent configuration to the backend15 • /diagnose — Run diagnostics on the current agent and report any issues found16 • /export [path] (alias: /download) — Write the loaded agent configuration as JSON to [path] (default: ./<agent-name>.json)1718 Session19 • /clear (alias: /cls) — Clear the message history and the input history (keeps the loaded agent and token usage)20 • /reset — Full reset: clears messages, loaded agent and token usage21 • /compact — Summarize the conversation and replace history with that summary2223 Keyboard shortcuts24 • Enter — send the message25 • ↑ / ↓ — browse your previous messages26 • Tab or → — accept the gray suggestion from your history27 • Esc — cancel the current response (or a pending channel connection)28 • Ctrl+C — exit Studio immediately29 ...
/agents
Envía a Studio List all agents in my workspace. Studio usa la herramienta list_agents y responde con la lista.
01 ● You02 List all agents in my workspace.0304 ● Plazbot05 You have 3 agents in this workspace:0607 • Ventas WA (age_AbcDef123) - active, WhatsApp08 • Soporte L1 (age_GhiJkl456) - active, Webchat09 • Reservas (age_MnoPqr789) - inactive10 ✓ Agents listed
/load
Fija el agente en la sesión (aparece en el encabezado) y pide a Studio cargarlo y mostrar su configuración. Desde ahí /save, /diagnose y /export trabajan sobre ese agente.
01/load age_AbcDef123
01 ● You02 Load the agent with id "age_AbcDef123" and show me its current configuration.0304 ● Plazbot05 Loaded Ventas WA (age_AbcDef123):06 ...07 ✓ Agent loaded
Sin id muestra Usage: /load <agentId>.
/save
Pide a Studio guardar la configuración del agente cargado (Save this agent with its current configuration.). Si el agente ya existe lo actualiza; si lo acabas de crear en la conversación, lo crea en tu workspace.
01 ● Plazbot02 Ventas WA was saved.03 ✓ Agent saved
Si no hay configuración en la sesión: No agent configuration loaded. Create one first or use /load <id>.
/diagnose
Pide a Studio diagnosticar el agente actual (Diagnose this agent and report any issues you find.). El reporte lista los puntos a revisar ordenados por severidad (critical, warning).
01 ● Plazbot02 I found 2 points to review in Ventas WA:0304 1. Critical - No timezone configured. Set the agent timezone.05 2. Warning - The prompt has no fallback instructions.06 ✓ Diagnosis complete
/export
Escribe la configuración del agente cargado en un archivo JSON (no exporta la conversación). Sin argumento usa ./<nombre-del-agente>.json en el directorio actual; acepta rutas relativas, absolutas y ~.
01/export02/export ~/agentes/ventas.json
01 ● Plazbot02 Agent configuration exported to /Users/ana/proyecto/ventas-wa.json.0304 Validate it with: plazbot agent validate /Users/ana/proyecto/ventas-wa.json
Si no hay configuración en la sesión: No agent configuration loaded. Create one first or use /load <id>. Si no se puede escribir: Could not write the file: <motivo>. Luego puedes validarlo con plazbot agent validate.
/compact
Pide a Studio un resumen de la conversación (objetivo, decisiones, estado del agente y pendientes) y, al terminar, reemplaza todo el historial por ese resumen. Los siguientes mensajes parten de ahí, con menos tokens de contexto. Si aún no hay mensajes: Nothing to compact yet.
Si cancelas con Esc mientras se genera el resumen, el historial no se reemplaza.
/clear y /reset
/clear borra los mensajes y el historial de ↑/↓, pero mantiene el agente y su configuración en la sesión, y el contador de tokens. /reset borra todo. Ninguno pide confirmación; si hay una respuesta en curso, la cancela.
| Comando | Mensajes | Agente cargado | Tokens |
|---|---|---|---|
/clear | Se borran | Se mantiene | Se mantienen |
/compact | Se resumen | Se mantiene | Se mantienen |
/reset | Se borran | Se borra | Vuelven a 0 |
/quit
Sale de Studio. Equivale a Ctrl+C.