Slash commands
Type
/ at the start of the message box to see these commands. Choose a command from the list, or keep typing to filter it. The command is placed in the message box. Add any text it needs, then press Enter to run it.
Commands don't run while you have files attached to the message.
Chat commands
These run in Knowledge Worker Agent. Nothing is sent to the assistant.
| Command | What it does |
|---|---|
/new |
Starts a new chat. |
/clear |
Starts a new chat. |
/undo |
Removes your last message and the reply to it from the chat. Files the assistant changed stay as they are. |
/rewind |
Same as /undo. |
/copy |
Copies the assistant's last reply to the clipboard. |
/export |
Downloads the chat as a JSON file, named session-<id>.json. |
/model |
Opens Select Model, to choose a model for this chat. |
/skill |
Opens the Toolbox with only skills shown. Text after the command becomes the search, for example /skill slides. |
/mcp |
Opens the Connectors dialog. |
/help |
Shows a short tip about commands. |
Prompt commands
These fill in a ready-made prompt and send it to the assistant.
| Command | Sends |
|---|---|
/diff |
A request to summarize the changes in the chat's folder, using git diff and git status. |
/review |
A request for a thorough review of the current changes, covering bugs, security issues, style, and improvements. |
/pr |
A request to review the pull requests for the current branch: their status, checks, and review comments. |
/plan topic |
A request for a detailed implementation plan for the topic. |
/research topic |
A request to research the topic in depth. |
/ask question |
The question, asked as a quick side question. The assistant answers without creating or changing files. |
/init |
A request to create or update an AGENTS.md file that describes the repository for the assistant. |
/ask does nothing without a question after it.
Other commands
A command that isn't in the list, such as
/compact, isn't sent to the assistant. Knowledge Worker Agent says that it's only available in the command-line shell.
Keyboard use
| Key | In the command list |
|---|---|
| ↑ and ↓ | Move through the list. |
| Enter | Choose the highlighted command. |
| Esc | Close the list. |