Esta página aún no se ha traducido - se muestra la versión en English.

Slash commands

All 24 chat commands: what each does, where it works (terminal, web page, chat platforms) and an example.

En esta página

Slash commands

Type / in the terminal chat or the web chat to see the commands. Each one is written once, as a small class that answers with data, and every surface draws that answer its own way. In chat platforms type the command as a message; the default prefix is / and a gateway can change it.

Where is T terminal, W web page, G chat platforms. A command marked G still needs to be in the gateway's allow list; the default list is help, info, tools, notes, remember and model.

Conversations

CommandWhereDoesExample
/newT W GStart a new conversation. The old one stays in the list/new
/sessionsT W GList your recent conversations, numbered/sessions
/resume [number or id]T W GGo back to one and show what was said. No argument: the most recent/resume 2
/name <name>T WName this conversation/name Quarterly plan
/fork [name]T WCopy this conversation, messages and all, and carry on in the copy/fork Other approach
/clearT W GForget this conversation's messages, keep the conversation/clear
/compactT W GReplace older messages with a summary. Needs a summary model on the agent's memory/compact
/export [file] [--format=md\|html]T WSave the conversation. The file name decides the format unless --format says/export plan.html
/exit (alias /quit)TLeave the chat/exit

On a gateway, /new, /clear, /compact, /sessions and /resume are off until the gateway sets commands.conversation: true.

Know what is going on

CommandWhereDoesExample
/helpT W GList the commands you can run here/help
/infoT W GAgent, model, conversation, message count, notes and database/info
/toolsT W GList the agent's tools/tools
/contextT WHow big the context is and what it is made of. Worked out locally, no model call/context
/stats [days] [--by=model\|provider\|day\|user]TTokens the model calls used. /stats enable turns usage recording on/stats 7 --by=day
/keysT WWhich key does what, with the action name of each. ? alone does the same/keys

Models

CommandWhereDoesExample
/modelT W GShow the model in use, its profile, context window and vision support/model
/profile [name]TPick a profile from a list, or switch straight to one. The conversation is kept/profile fast
/defaultTGo back to the app's default model/default
/ping [profile]T W GTest that the model answers, with one tiny question. Says how long it took, or why it did not/ping fast

Over --connect or --server, /profile can only switch among the profiles the server lists in agentApi.profiles.

Notes

CommandWhereDoesExample
/remember <text>T W GKeep a note about you/remember I prefer short answers
/notesT W GOpen the notes screen (terminal)/notes
/notes listT W GPrint your notes and the agent's, with how full each is/notes list
/notes add [agent] <text>T W GAdd a note about you, or with agent about the agent's work/notes add agent Use metric units
/notes edit <id> <text>T W GChange a note; the id is the short code in the list/notes edit a3f New text
/notes remove <id>T W GRemove a note. Removing the agent's needs an admin token over --connect/notes remove a3f
/notes statsT W GCharacters used against the limit, and the rough tokens they add/notes stats

Your terminal

These act on your own machine or your own session, so they stay in the terminal.

CommandWhereDoesExample
/prompt [style]TShow or change the message box look for this chat/prompt box, /prompt top +git -clock
/copyTCopy the last answer to the clipboard (OSC 52, honoured by most terminals)/copy
/record [file], /record stopTRecord the screen as a .cast file/record demo.cast

Add your own

An extension adds commands such as /deploy or /roll 2d6 to the chat, and a first extension walks through one. The commands over HTTP are GET /__bxagents/commands and POST /__bxagents/command, see Run control.

Editar esta página Descargar Markdown Última actualización Nov 4, 2026, 1:52:43 PM Report an issue