Reference

Slash commands

Every / command in Grok Build Workbench — chat and window, ask Grok, and names that only work in the Grok Build terminal.

Type / in the composer to see commands. Pick one from the list, or keep typing the name. Commands with extra text after them (a title, a URL, a prompt) need that extra text.

A shorter everyday list lives on Working with Grok.

Chat and window

These run in the Workbench itself — they do not send a new job to Grok, except where noted.

CommandWhat it does
/new /clear /cleanStart a new chat in this project
/rewind /undoRewind files and later messages
/planSwitch to Plan mode
/askSwitch to Ask mode
/always-approve /autoSwitch to Auto (tools approved without asking)
/copyCopy the latest reply
/exportCopy the conversation as Markdown
/rename /titleRename this chat — add the new title after the command
/deleteDelete this chat (asks first)
/model /mSet the model — add the model id, or opens Settings if you omit it
/settings /config /preferences /prefsOpen Settings
/theme /tOpen appearance settings
/docs /howto /guidesOpen the Grok Build docs in your browser
/usage /costOpen your xAI usage page
/loginSign-in help
/logoutSign-out help
/quit /exitQuit Grok Build Workbench
/view-plan /show-plan /plan-viewShow the current plan
/session-info /status /infoShow session details

Ask Grok to do something

These send a prepared request into the chat. Grok then does the work.

CommandWhat it does
/commitInspect the diff, write a commit message, and commit. Does not push.
/reviewReview uncommitted changes. Does not edit files unless you ask.
/compactCompress conversation history. Keeps decisions, paths, and unfinished work.
/transcribe /yt /youtubeTranscribe a YouTube video — add a URL or video id
/imagineGenerate an image — add what you want pictured
/imagine-videoGenerate a video — add what you want animated
/rememberSave a note to memory — add the fact to keep
/memory /memShow or manage memory for this project
/flushSave important facts from this session into memory now
/dreamConsolidate memory — merge session notes into topics
/btwAsk a side question without dropping the main task
/loopRun a prompt on a repeating interval — add the interval and the prompt
/goalSet or manage an autonomous goal
/deep-researchStart a research workflow — add the question
/workflowLaunch or control a workflow
/workflowsList active and recent workflow runs
/feedbackSend feedback about the Workbench or Grok Build
/doctorDiagnose this session (auth, model, folder). Suggests fixes. Does not edit files.

Grok Build terminal only

These names show up because they exist in the Grok Build terminal. They do not run in the Workbench. If you pick one, the app says so instead of failing silently.

CommandWhat it would do in the terminal
/contextShow context-window use
/resumeReload a previous session
/dashboard /agents-dashboard /sessionsAgent dashboard
/forkBranch this session
/edit-promptEdit the draft in an external editor
/home /welcomeReturn to the welcome screen
/effortSet reasoning effort
/multiline /mlToggle multiline Enter
/historySearch prompt history
/compact-modeToggle compact display
/vim-modeToggle vim scrollback keys
/minimalSwitch to the minimal terminal UI
/fullscreen /fullSwitch to the fullscreen terminal UI
/hooksManage hooks
/pluginsManage plugins
/marketplaceOpen the plugin marketplace
/skillsManage skills
/mcpsManage MCP servers
/tutorial /tour /onboardingOpen the onboarding tutorial
/import-claudeImport Claude settings
/config-agents /agentsManage agent definitions
/personasManage personas
/privacyCoding data and training
/timestampsToggle message timestamps
/release-notes /changelogView release notes