Slash Commands
Commands that start with / control Grok (not a normal chat question). Learn how to run them, then browse the list.
Checked against Grok Build 1.0.13 (official user guide + installed grok). If your version differs, trust in-app /docs and /release-notes.
What a slash command is
A slash command starts with /. It controls Grok (new session, settings, plan mode). It is not a normal question to the AI. Example: /new starts a blank chat. “What is a function?” without / is a normal prompt.
Why slash? You stay on the keyboard: settings, compact history, switch models, and more. Type / for the menu, or use /help.
Not a slash command: grok --yolo is a command-line flag for always-approve. There is no /yolo. In the screen use /always-approve or Ctrl+O.
How to run one (step by step)
- Click the bottom prompt (or Tab until you can type there).
- Type
/. A list appears. - Keep typing part of the name to filter (example:
/compfinds compact). - Use ↑/↓ to highlight, then Enter to run. Or finish typing the full command and Enter.
- If a command needs extra words, type them after a space:
/rename my cool session.
A menu with command names and short descriptions. Some commands open a second screen (settings, session picker). Others run immediately and print a result in the history.
Session — manage this conversation
A session is the saved chat you are in right now (history + tool results).
/new
What it does: Throws away the current conversation view and starts fresh (still in the same project folder). When to use: Topic change, or the chat got confusing.
/resume
What it does: Opens a list of older sessions so you can reopen one. When to use: “I worked on inventory yesterday—bring that chat back.”
/compact [note]
What it does: Summarizes older history so Grok has room to think (frees the context window). Optional note tells it what to keep: /compact keep the save-file format decisions. When to use: Long sessions that feel forgetful or hit limits.
/context
What it does: Shows a breakdown of what is filling Grok’s memory for this chat (system text, messages, tools, free space). When to use: Before a huge task, to see if you should compact first.
/session-info
Shows which model you are on, how you signed in, how many turns you have taken, and other session stats (including usage when available).
/fork
Starts a side chat from this point, keeping history so far, so you can try a risky idea without spoiling the original thread. Optional flags in the install: /fork [--worktree|--no-worktree] [directive].
/rewind
Steps backward to an earlier point in the chat and discards what came after (including related file snapshots when available). Alias /undo is the same command. Use carefully—it is real undo for the session timeline. (Double-Esc on an empty idle prompt can open the same rewind picker.)
/rename
Gives the session a human name: /rename inventory-ui. Helps when resuming later. /rename --auto (alone) unpins a manual title so auto-titling can resume on Build sessions.
/copy
Copies Grok’s latest answer to the clipboard. Options: /copy 2 (Nth-latest), or a file path to write text (handy over SSH). Also backs up to ~/.grok/last-copy.txt (or GROK_COPY_FILE).
/export
Saves or copies the whole conversation.
/delete
What it does: Deletes the current session’s history after a confirm. Returns to the welcome screen, or to the dashboard when you opened the session from the dashboard. Other ways: in /resume or the welcome session list, press d then y; on the dashboard, Ctrl+X twice or click [✗]. Permanent—use when a throwaway chat should not clutter your list.
/cd [path]
What it does: Changes the working directory for new agents (menu label from the installed binary). Example shape: /cd path/to/project. This is a real builtin in the command table even though the public slash-guide page may not give it its own heading—if it is missing from your menu, trust /help for your build.
/find [text]
Search the conversation history (the messages above the typing box) for text. Fullscreen only (hidden in minimal mode—run /fullscreen if needed).
/jump
Jump to a turn in the conversation (navigate the transcript by turn). Fullscreen only.
/timeline
Open the timeline / turn-navigation surface for this session. Fullscreen only (hidden in minimal mode).
/recap
Summarize the session so far (handy before compact or handoff).
/share
Share this session via URL when sharing is available for your account/build. If disabled, Grok will say so.
/quit
Leaves Grok and returns you to the normal terminal.
/home
Leaves the session and returns to the welcome screen (there is no default key binding for this—slash only).
/edit-prompt
Opens your external editor for the prompt in either render mode (fullscreen or minimal). Grok tries $VISUAL, then $EDITOR, then vi. Typing /edit-prompt starts an empty draft (it replaces whatever is in the composer). To edit an existing draft, use the command palette → Edit Prompt in External Editor (or Ctrl+G in minimal mode).
Model & working mode
/model
Switches which AI model powers answers (different models have different strengths/cost). Example: /model grok-4.6 (or the display name from /model’s list). For reasoning models you can add an effort as a second argument.
/effort
For models that support it, sets how hard the model “thinks” (low → xhigh). Higher can be slower/more thorough.
/always-approve
Turns on “skip most permission popups” (sometimes nicknamed YOLO). Run it again to go back to Ask. Leave off while learning. Keyboard: Ctrl+O. CLI flags (not slash): --always-approve or --yolo.
/auto
Lets Grok auto-allow safer tools; riskier work may still ask you. Only appears when the auto permission-mode feature is enabled on your build. If it is missing from the menu, stay on Ask.
/plan
Enters plan mode: Grok designs an approach for your approval before editing product code. Optional text: /plan add user login. You can also cycle modes with Shift+Tab (Normal → Plan → Auto when enabled → Always-approve).
/view-plan
Open a preview of the current saved plan.
/multiline
When on, Enter inserts a newline; send with Shift+Enter or Alt+Enter. Mid-turn, bare Enter on an empty composer can still force-send the top queued follow-up.
/history
Open prompt-history search (fuzzy over prompts you sent this session). On an empty prompt, ↑ is the quick path to the last prompt.
/vim-mode
Toggle optional Vim-style keys for moving in history (j/k, and more). Off by default; beginners can ignore. Setting saves to [ui] vim_mode.
/minimal · /fullscreen
Switch how this session looks in place (no restart—the current turn, draft, queue, and permission mode stay). Fullscreen is the usual full Grok screen; minimal is an experimental layout that uses more of your terminal’s normal scrollback. Does not rewrite config—use /settings → Default screen mode (or [ui] screen_mode) for permanent defaults. Mode gates: fullscreen-only include /find, /jump, /timeline, /theme, /tutorial, /dashboard; minimal-only is /expand. /workflow runs opens a live pane in fullscreen and prints a text overview in minimal instead of refusing.
/compact-mode
Tighter visual spacing (display density), not the same as /compact history compression.
Memory (optional long-term notes)
Memory is an experimental feature that can remember facts across sessions. It is off by default. Enabling is covered in Sessions & Memory.
/remember
Always available: save one note right now (“staging server is eu-west”).
/memory
Browse or toggle memory when enabled.
/flush · /dream
Write session knowledge into memory / reorganize memories. Need memory enabled.
Extensions — skills, plugins, agents, MCP
These open management UIs. You will understand each concept in later lessons; commands are listed here so the encyclopedia is complete.
/skills · /plugins · /marketplace · /hooks · /workflows
Same extensions window, different tabs: reusable recipes, installable bundles, store browsing, lifecycle scripts, and the saved-workflow catalog. Alias /plugin is the same as /plugins. Shell extras: /plugins also accepts list, install <source>, uninstall <name>, update, and reload (the pager UI usually does the same work visually). The shell also advertises /hooks-list, /hooks-trust, /hooks-add, /hooks-remove, and /hooks-untrust; in the fullscreen pager those are mostly folded into the /hooks modal (project trust often still via /hooks-trust or the modal Trust action).
/hooks-list · /hooks-trust · /hooks-add · /hooks-remove · /hooks-untrust
Shell-side hooks management (list loaded hooks, trust/untrust the project folder, add/remove hook paths). May be hidden from the pager slash menu—use the /hooks modal first. Project hooks need folder trust before they run.
/mcps
Manage MCP servers (bridges to other apps/tools).
/config-agents
Open the agents modal: view/manage agent definitions, set the default, switch the active one.
/personas
Create, edit, and delete personas (overlays a subagent can apply).
Media
/imagine
Generate an image from a text description.
/imagine-video
Generate a short video from a description (multi-step under the hood).
Automation & multi-session
/loop
Run a prompt on a recurring interval (30m, 1 hour, …). Minimum interval is 60 seconds. Recurring tasks expire after 7 days.
/goal
Set/manage an autonomous goal that only completes after independent evidence review. Subcommands: status, pause, resume, clear. Only appears when goal mode is enabled for the session—if missing, use normal prompts or workflows instead.
/deep-research
Start a structured research workflow with sources and verification; follow progress in /workflow runs.
/workflow
Launches or manages a saved multi-agent script by display name (not the internal run id). Bare /workflow prints a text overview of this session’s runs. /workflow runs is the live run dashboard (fullscreen pane; text overview in minimal). Named launches can pass --agent-budget N (child-agent cap) and --effort LEVEL (child reasoning, without changing this session’s /effort). Then: pause, resume, stop, save plus the run’s display name.
/workflows
Opens the extensions modal on the Workflows catalog tab (built-ins, project .grok/workflows/*.rhai, user ~/.grok/workflows/*.rhai)—browse-only. Launch one with /workflow <name>; watch it in /workflow runs. This is not the live run list.
/dashboard
Fullscreen overview of running top-level sessions (multi-session)—peek, reply, dispatch, pin, rename, stop, or attach. Aliases /agents-dashboard and /sessions are the same command. Fullscreen only (hidden in minimal). Not the same as /config-agents (alias /agents), which manages agent definitions. Disable with GROK_AGENT_DASHBOARD=0 or [dashboard].enabled = false. Chord: Ctrl+\. Also try the command palette or grok dashboard from a normal terminal.
/tasks
List background tasks, subagents, and scheduled tasks. Full TUI: Ctrl+G toggles the tasks pane (in minimal mode, Ctrl+G may mean external-edit draft instead—use this slash or the palette if the chord conflicts).
/queue
List prompts queued behind the running turn. Mid-turn, plain Enter with text queues follow-ups; empty Enter / send-now chords can promote the top item.
Help, account, appearance
/help
Browse commands and keyboard shortcuts (built-in help entry from the install menu).
/docs
How-to guides picker, online Build docs (/docs web), or a guide by title (/docs Getting Started).
/tutorial
Official product tour inside Grok: a short list of topics (~30s each)—first prompt, @ files, navigation, day-one slash commands, worktrees, plan/permissions, customization, switching from other agents. /onboarding and /tour are the same command (not separate features). Nothing auto-shows—you open it on purpose. Fullscreen only. Recommended once after install (see Getting Started); it does not replace this academy’s ship path.
/doctor
Diagnose terminal/clipboard/color/input/sandbox issues; /doctor fix lists automatic fixes.
/theme
Switch the TUI color theme.
/settings
Interactive settings modal.
/timestamps
Toggle message timestamps on or off.
/btw
Ask a side question without interrupting the main task (answer is not part of the main turn).
/login · /logout
Authenticate or sign out without leaving the app shell awkwardly.
/usage
Credit usage / billing: bare /usage or /usage manage.
/privacy
Show or toggle privacy / data-retention status (opt-in / opt-out). Team rules may restrict who can toggle.
/feedback
Report an issue or send feedback. Opens a dedicated report pane: Enter sends, Esc discards. A message (/feedback Something broke) prefills the pane so you can edit first. In --minimal, a message still sends immediately. You can attach images when the pane supports it.
/import-claude
Import settings from Claude Code (~/.claude): permissions, env, MCP, hooks, paths.
/release-notes
What changed in this Grok version.
/debug [scroll|fps|log]
Toggle debug overlays (scroll diagnostics HUD, FPS, scroll flight recorder). For advanced troubleshooting—not everyday work.
/voice
Start voice dictation when speech features are available (also Ctrl+Space / F8 when enabled in settings). Skip if you do not use voice.
/toggle-mouse-reporting
Toggle terminal mouse reporting when selection/scroll fights your terminal. Advanced; see /doctor if mouse feels wrong.
/announcements
Show or hide product announcement banners: /announcements hide or /announcements show.
/transcript
View the full conversation transcript in your system pager ($PAGER). Useful after a long session when you want the raw thread outside the TUI chrome.
/expand
Re-print the last collapsed block, fully expanded. Minimal mode only (--minimal / /minimal); the install rejects it outside minimal mode.
If you (or a plugin) install a skill marked user-invocable: true, it appears as /skill-name. Built-in commands always win if names clash; use /user:name or /local:name to be specific.
Some bundled specialist skills use user-invocable: false—Grok may still apply them, but they will not show under /. Migration helpers like /resume-claude, /resume-codex, and /resume-cursor are skills (when installed), not session builtins. Details: Skills, Plugins & Hooks.
Grok Build is a stable product, but features still gate by config/build and version (memory, auto mode, goals, sharing). When something is missing from your menu, that is usually expected—check /docs, /release-notes, and ~/.grok/docs/user-guide/ for your version. Academy inventory source: data/slash-commands-inventory.json.
In a throwaway session run: /rename practice-commands, then /help, /session-info, and /context. Optional curiosity: type /gboom once if you have a graphics-capable terminal—then close it and get back to real work. No need for always-approve or destructive tools.