Slash commands

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

On this page

Slash commands

Type / in the terminal chat (a menu you move through with the arrow keys, see the terminal UI) or the web chat to see the commands (on the web page the lightning button opens the same menu, and an extension's command carries the extension's name). 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, model, ping, notes and remember.

/sessions after naming and forking a conversation

/name, /fork and /sessions in a real chat.

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
/settings [name] [value\|reset] [--global]TTerminal only. Open the settings panel, or show, change or reset one setting. A name that is not one of the chat's own is a setting of the agent's Agent.yml and applies the next time the agent starts. A change is saved for this agent in its data home, or for every agent with --global/settings header compact, /settings model ollama/qwen3 --global
/clsTTerminal only. Clear the screen above the message box and the scrollback. The conversation stays, while /clear forgets its messages. Ctrl+L does the same/cls
/compactT W GReplace older messages with a summary and keep the latest few (keepRecent). The agent's own model writes the summary, unless its memory names a summary model/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, and each setting that came from one of your own Agent.yml files with the file/info
/toolsT W GList the agent's tools/tools
/volumesT W GList the folders the agent may use, by name, mode and description. Never a folder on the machine/volumes
/agent [name]TTerminal only. List the agent and its sub-agents, or switch to one and start a new conversation with it. Every agent keeps its own memory. The web page has the Talk to menu for this, and a gateway always talks to the main agent/agent researcher
/skillsT W GList the skills the agent can load, and its level: installed, project, bxagents or agent/skills
/routines [all]T WList your routines: schedule in words, status and next run (an admin adds all)./routines
/routine <name> [run\|pause\|resume\|delete confirm\|reports\|report <file>]T WShow one routine, or act on it. delete needs confirm, and no command removes a report/routine check-build pause
/contextT WHow big the context is and what it is made of, and how many of the messages its memory keeps this conversation has (a warning near the limit). 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 WOpens the shortcuts panel: which key does what, with the action name of each, narrowed by typing. ? 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
/connectT W GList the connectors and the services that ask you to sign in, and whether you are connected; /connect NAME connects one (a token goes in a hidden box on the terminal), /connect NAME off disconnects, /connect NAME tools lists and switches its tools/connect github
/logs [area] [--tail=N] [--level=warn] [--grep=text]TThe agent's logs: which there are, or the last lines of one. Admin only; over --connect it takes an admin token. To follow one live, bxAgents logs <area> --follow or --ui/logs gateways --level=warn
/vaultT W GOpen the vault screen (terminal), or list the secret names. A value is never typed in a command/vault
/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 (/extensions also works in the web page).

CommandWhereDoesExample
/extensions [name]T WList the extensions the chat loads and what each added; with a name, one in detail/extensions
/reloadTLoad the extensions and their settings again. Admin only/reload
/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

/extensions and /reload come with the extension support. 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.

Edit this page Download Markdown Last updated Nov 26, 2026, 8:45:51 AM Report an issue