Grok (xAI)¶
Grok is the artificial intelligence (AI) assistant made by xAI, which SpaceX acquired on February 2, 2026; xAI's own pages now name the company SpaceXAI LLC. This page gathers what you need in one place: which plan and model fit your work, the apps and features you will meet, xAI's three kinds of agent (Grok Build, Grok Bot, and the agent features of the Grok app) and how they ask before acting, and the Grok Build commands a student, faculty member, or staff member might use, each with a small worked example. Plans and models change often, so every fact links to the xAI page it came from. A listing here is not an endorsement, and for work at the American University of Antigua (AUA), the AI Responsible Use Policy applies.
Plans¶
What each plan adds, from free upward. Prices change often, so they are not copied here: see xAI pricing.
| Plan | Who It Is For | What It Adds |
|---|---|---|
| Free | Anyone trying Grok on the web or the phone apps | Chat with Grok 4.6, limited real-time web and X search, voice mode, image generation, connectors, and Grok Build. No video generation and no Grok Bot. |
| SuperGrok Lite | Not stated (the pricing page names it only in its comparison table, with no price) | In that table: full web and X search and video generation beyond Free; no Grok Bot. |
| SuperGrok | Individuals who want higher limits | Higher limits across all features, image and video generation, and access to Grok Bot. |
| SuperGrok Plus | Heavy individual use | Everything in SuperGrok, plus significantly higher usage across chat, images, voice, and Build, 1080p video, faster replies, priority at peak times, and early access to new features. |
| SuperGrok Heavy | The top individual tier (named in the comparison table, with no price shown) | In that table, the same features as SuperGrok plus priority support. |
| Business | Teams and departments | No training on your business data, custom data retention, team seat management, consolidated billing, role-based access, domain verification, user analytics, and audit controls. Single sign-on and Grok Bot are not ticked for Business. |
| Enterprise | Large organizations, through xAI's sales team | Everything in Business, plus single sign-on, directory sync, custom roles, customer-managed encryption keys, a dedicated data plane, dedicated onboarding, and options for data residency and custom rate limits. |
| X Premium and X Premium+ | X subscribers who link their X account to Grok | Once the accounts are linked (on grok.com, Settings, Account), xAI reads your X subscription and grants "relevant benefits". Which Grok features and limits each X tier includes could not be verified, because X's help pages refuse automated reading. X, not xAI, handles X Premium refunds. |
Models¶
| Model | Released | Best For | Where You Get It |
|---|---|---|---|
| Grok 4.7 | September 21, 2026 | Coding and knowledge work; xAI's newest model and Grok Build's default | Grok Build, Cursor, and the xAI API (application programming interface, for developers); not announced for grok.com or the Grok apps. Grok 4.7 Fast, a quicker version, runs only in Grok Build and Cursor and is not in Build's free tier. |
| Grok 4.6 | August 12, 2026 | Long-running agent work and interactive, visual projects | The model xAI's pricing table lists for every Grok plan; also Grok Build, Cursor, and the xAI API |
| Grok Imagine Image 2.0 | August 7, 2026 | Making and editing images: region edits, background removal, and up to five reference images | Quality Mode at grok.com/imagine and in the Grok apps (image generation is on every plan); also the xAI API |
| Grok Imagine Video 1.5 | June 16, 2026 | Short videos from text, an image, or reference pictures, up to 1080p | grok.com/imagine and the Grok apps on paid plans (video is not on Free); also the xAI API |
For how these models compare with others on independent tests, see Compare Models.
Apps and Surfaces¶
- grok.com: The Grok app in a web browser, with chat, search, images and video, voice, files, connectors, and Build. xAI's help pages recommend grok.com in Chrome or another Chromium-based browser, since other addresses can lack features such as Projects.
- Grok phone apps: The same assistant on iOS and Android; your conversations, settings, and subscription stay in sync across devices.
- Grok on X: Grok inside X (x.com and the X apps), under X's own terms, privacy policy, and help center rather than xAI's.
- Grok in Microsoft 365: Add-ins that put Grok inside Word, PowerPoint, Excel, and Outlook.
- Grok in Google Workspace: An add-on that puts Grok beside the file open in Google Docs, Sheets, or Slides.
- xAI API and Console: For developers, Grok's models through the API, with keys, billing, and Grok Business licenses managed in the xAI Console.
Features Worth Knowing¶
| Feature | What It Does | Plans | Status |
|---|---|---|---|
| Search | Live web and X search, with citations to sources. | Every plan; limited on Free | Available |
| Multi-agent mode | Several agents work on parts of a hard question at once, each showing its reasoning, and their results merge into one cited answer. | SuperGrok and higher | Available |
| Grok Imagine | Images and short videos from text or reference pictures; every output carries a Grok watermark, with no setting to remove it. | Images on every plan; video on paid plans | Available |
| Voice | Spoken back-and-forth conversation with Grok. | Every plan | Available |
| File uploads | PDFs, Word, Excel, and PowerPoint files, images, audio, and video; most files up to 150 MB each, and about 100 files at once on the web (20 on Android). | Every plan; limits can vary by plan | Available |
| Memory, custom instructions, and Canvas | Grok remembers preferences across chats; custom instructions tailor its replies; Canvas is a space for long-form writing with inline suggestions. | Not stated by plan | Available |
| Private Chat | A chat that stays out of your history, is deleted from xAI's systems within 30 days, and is not used for training. Start one with the ghost icon at the top right. | grok.com and the Grok apps | Available |
| Connectors | Gmail and Google Calendar, Google Drive, OneDrive, Outlook, Microsoft Teams, SharePoint, Salesforce, and a catalog of others, or your own server using MCP (Model Context Protocol), so Grok can use them in a chat. | Every plan; on Business and Enterprise an admin must provision each one first | Available since May 6, 2026 |
| Skills | Instructions Grok reuses in every conversation. Built-in skills make Word documents, presentations, spreadsheets, and PDFs, and Skill Creator builds new ones with you. | Every account has the built-in skills | Available since May 18, 2026 |
| Automations | Jobs Grok runs by itself on a schedule (once, daily, weekdays, weekly, monthly, or yearly) or when a matching email arrives, reporting back by email, app notification, both, or neither. | Scheduled automations on every plan; email triggers with SuperGrok | Available since July 16, 2026 |
| Build | Describe an app, game, website, or dashboard and Grok builds a working version in the chat; publish it to a grok.me address that only you, anyone with the link, or anyone at all can open. | Every plan | Available since August 19, 2026 |
| Weekly usage allowance | Paid plans share one weekly allowance across chat, images, voice, Build, and the API, shown as a percentage under Settings, Usage. Extra Usage Credits, bought on the web, continue past it. | Paid plans | Rolling out since June 2026 |
| Team workspace | A workspace for your team beside your personal one on grok.com. Team admins set how widely members can share conversations, projects, and skills, from not at all up to public links for conversations; by default, conversations can be shared across the organization. | Business and Enterprise | Available |
Your Data¶
xAI's own pages explain how your conversations are used and kept. For AUA work, the AI Responsible Use Policy is the reference.
- SpaceXAI Consumer FAQs: Conversations on grok.com and the Grok apps may be used to train xAI's models unless you turn off "Improve the model" (on a phone, Settings, Data Controls; on grok.com, Settings, Data) or use Private Chat. The page is dated May 12, 2025, and Grok on X follows X's own settings.
- SpaceXAI Privacy Policy: The full policy (effective August 24, 2026), which asks you not to provide sensitive information such as health information.
- Enterprise FAQs: Written for business customers of the API. xAI does not train on business data (the pricing table shows the same for the Business and Enterprise plans), deletes inputs and outputs within 30 days unless agreed otherwise, and says it can support a customer's obligations under HIPAA (the Health Insurance Portability and Accountability Act, the US health-privacy law) in some circumstances.
- Business associate agreement questionnaire: How an organization asks xAI for a HIPAA business associate agreement. xAI describes it as covering use of its APIs, and none of its pages read for this guide extends it to chats on grok.com or the Grok apps.
- Privacy Portal: Requests to see, correct, or delete your data, or to opt out of training.
- Grok Bot: approvals, security, and privacy: Grok Bot uses a Cursor account, so its data storage and training opt-out follow your Cursor settings and Cursor's privacy policy, not your grok.com settings.
The Agents: Grok Build, Grok Bot, and the Grok App¶
An agent's harness is the program around the model that lets it act: it reads files, runs commands, and asks your permission where it matters. xAI offers three. Grok Build works directly in a folder on your computer; Grok Bot works on a computer of its own in the cloud; and the Grok app can build small apps, use your connected accounts, and run scheduled jobs. AI Agents explains agents in general, and Your First Agent Session walks through a first task and suggests which settings to start with.
Grok Build¶
xAI's agent for the terminal, open source since July 15, 2026. It reads the files in the folder you start it in, edits them, and runs commands, asking first by default. xAI presents it as a coding agent, but its tools (reading, searching and editing files, running commands) work on any files. It is not the Build feature in the Grok app, which makes small apps inside a chat.
- Where it runs: A terminal on Windows (installed from PowerShell), macOS, or Linux; also without the full-screen view in scripts, and inside editors and other apps through the Agent Client Protocol (ACP).
- Plans: Every plan, including Free, in xAI's pricing table ("Available to try for Free"); paid plans draw on the same weekly allowance as chat and images. Grok 4.7 Fast is not in its free tier, and xAI publishes no per-plan limits for it.
- How it works: It works in a loop of tool calls: reading, searching and editing files, running commands, and searching the web (fetching whole web pages is off by default). It keeps a to-do list for multi-step work, saves every session to disk, and can rewind to an earlier prompt. Plan mode has it explore and propose before any edit; /goal hands over long jobs.
- Standing instructions: At the start of every session it reads AGENTS.md and CLAUDE.md files (and their variants) in the folder and each folder above it up to the project root, plus your global rules, in full with no size limit; outside a git repository it reads only the folder you started in. grok inspect lists what it found. One brief can therefore serve Claude Code, Codex, and Grok Build.
- Skills: Folders containing a SKILL.md file, in a project's .grok/skills folder or in your personal .grok folder; it also reads Claude Code's skills. A skill is used when a task matches it, or run by name as /skill-name.
- Hooks: Your own commands, or web addresses, called at fixed points such as before a tool runs. Only the check before a tool runs can block it, and a hook that crashes or times out lets the action through. A project's own hooks run only after you trust the project.
- Helpers (subagents): Helpers with their own context, in three built-in types: general-purpose, explore (reading and searching only), and plan (no commands, no edits). xAI's pages disagree on whether they are on by default.
- Connections: Outside tools through MCP servers, managed with /mcps; it also loads servers already set up for Claude Code or Cursor.
- Sandbox: An optional sandbox limits where commands can write and, on Linux, their network access. It is off by default and documented for Linux and macOS only; xAI documents no sandbox for Windows.
| Permission Mode | What It Does |
|---|---|
| Ask | The default (shown as Normal in the Shift+Tab cycle). It asks before anything not already allowed, such as an edit or a command. |
| Plan | It explores and drafts a plan, and only the plan file may be edited until you approve, even in Auto or Always-approve. Commands still follow the permission mode, and xAI notes that a command can still write files. |
| Auto | A classifier approves tool calls it judges safe; the others still ask. Appears only when the feature is turned on. |
| Always-approve | No permission prompts for tool calls; deny rules and hooks still apply, and commands such as rm and git push run unless a deny rule blocks them. Ctrl+O switches it on or off. |
| acceptEdits (launch option) | Approves file edits automatically and still asks before shell commands. xAI describes it for semi-automated work; it is set with --permission-mode acceptEdits when starting Grok Build, not from the Shift+Tab cycle. |
Source: xAI documentation.
Grok Bot¶
xAI's work agent. Each Bot is a named teammate with one job, working on a cloud computer with a browser, files, and a terminal, so work continues with your laptop closed. Grok Bot signs in with a Cursor account, and the computers Bots work on run in Cursor's cloud; it is separate from Grok on grok.com.
- Where it runs: Desktop apps for Windows, macOS, and Linux; phone apps for iPhone, iPad, and Android; and tagging @bot in a post on X (not in every region).
- Plans: A linked SuperGrok, SuperGrok Plus, or SuperGrok Heavy subscription, or a paid Cursor plan; not Free or SuperGrok Lite. Bots have their own weekly usage, separate from your Grok plan. An Enterprise version was announced on September 3, 2026.
- How it works: You message a Bot as you would a colleague. It uses connectors where they exist and operates the browser for everything else, hands you control of its computer for passwords, two-factor codes, and payments, and returns emails and Slack messages as drafts you send or discard. A process that works can be saved as a skill or a scheduled routine.
- Standing instructions: No instruction file. Each Bot has a name, one job, and a description, and preferences you state in chat are kept in its memory.
- Skills: One private library shared by all your Bots; type / to use one. You can also teach a browser task by doing it once while the Bot records (Teach a task, up to ten minutes).
- Helpers (subagents): Instead of helpers, several named Bots run in parallel, message each other, and hand work over; Team Bots can be shared with colleagues.
- Connections: Plugins installed from Marketplace in the sidebar; an installed connector is available to every Bot on your account.
- Sandbox: Bots work on a cloud computer assigned to your account and isolated from other users, but all your Bots share its files, sign-ins, and browser sessions; xAI's documentation says not to use separate Bots as a security boundary.
| Permission Mode | What It Does |
|---|---|
| Per-action approval | A card shows the proposed action and its inputs: Allow once, Always allow (which saves a rule), or Deny. Approvals for work that started without you expire after about 10 minutes. |
| Auto Review | Grok Bot checks tool calls and computer actions before they run, against your Ask first and Allow automatically rules; Ask first wins when both match. |
| Execution on Local Computer | Whether Bots may run commands on the computer in front of you. Ask every time is the default; Always allow and Never allow are the others, and xAI advises Never allow unless a Bot needs your local files. |
Source: xAI documentation.
Agent Features in the Grok App¶
On grok.com and in the phone apps, Grok can act as well as answer: Build makes a working app or website in the chat, connectors reach your email, files, and calendar, skills hold reusable instructions, automations run jobs on a schedule, and multi-agent mode splits a hard question among parallel agents.
- Where it runs: grok.com and the iOS and Android apps.
- Plans: Build, connectors, built-in skills, and scheduled automations on every plan, including Free; email-triggered automations and multi-agent mode with SuperGrok and higher.
- How it works: Chat first: Grok uses a connected service whenever your question relates to it. An automation opens a fresh conversation on each run and saves it to the run history, and Run now starts one at once. Build writes the code and shows a working preview in the conversation before you publish it.
- Standing instructions: No instruction file; custom instructions and memory are settings, and skills hold reusable instructions.
- Skills: Built-in skills for Word documents, presentations, spreadsheets, and PDFs, plus your own; your version of a built-in skill takes priority over it. Skills can be attached to an automation.
- Helpers (subagents): Multi-agent mode only, where several agents work in parallel and their results merge into one answer.
- Connections: Built-in connectors (Gmail and Google Calendar, Google Drive, OneDrive, Outlook, Microsoft Teams, SharePoint, Salesforce), a catalog of others, and custom MCP servers reachable over the internet.
| Permission Mode | What It Does |
|---|---|
| Connector sign-in | A connector works only after you complete its sign-in with that service; from then on Grok uses it whenever a question relates to it. xAI's pages describe no confirmation step before a connector action. |
| Admin provisioning | On Business and Enterprise, a team admin must provision each connector before members can use it. |
| Publishing a build | A published app opens for just you, anyone with the link, or anyone on the internet, as you choose. |
Source: xAI documentation.
Commands, with Worked Examples¶
In Grok Build you type a command starting with a slash, such as /plan, in the same box as your requests. A few start with grok instead, such as grok inspect; those are typed in an ordinary terminal, outside Grok Build. These are the commands a faculty member, student, or staff member might use, grouped by what they help with. Each example is a small, realistic situation, what you type, and what you then see, drawn from xAI's documentation; where xAI does not quote the screen, the figure describes it. Some commands appear only when a feature is turned on. Commands meant for software developers are listed at the end, without examples. xAI documents no slash commands for the Grok app, and Grok Bot's few typed symbols are under Shortcuts and Symbols.
Getting Started¶
grok In a terminal, starts Grok Build in the current folder.
A course director has copied this term's anatomy lab handouts into a new folder and opens a terminal there to try Grok Build for the first time.
grok
- On first launch, a browser window opens so you can sign in
- The full-screen app opens on its welcome screen, which lists recent sessions in this folder
Install it first with the one-line installer on xAI's Get Started page, which has a PowerShell version for Windows.
/help Lists the commands and keyboard shortcuts available to you.
A second-year student trying Grok Build on a folder of their own pathology notes cannot remember how to stop a running turn.
/help
- A searchable list of commands and keyboard shortcuts
Typing / on its own opens a list of commands that narrows as you type; Ctrl+P opens a searchable list of every command, shortcut, and skill.
/tutorial Opens xAI's short onboarding tour (also /tour).
A new instructor in the clinical skills department wants a guided introduction before trying Grok Build on real course files.
/tutorial
- A list of nine short topics, each about a 30-second read, including your first prompt, attaching files, finding your way around, slash commands, worktrees, plan mode and permissions, customizing, switching from another agent tool, and where to go next
The right arrow moves straight on to the next topic. Nothing opens by itself; this command or the command palette is the way in.
/docs Opens xAI's how-to guides inside Grok Build, or its online documentation (also /guides).
A staff member in the curriculum office wants to read how plan mode works without leaving the terminal.
/docs Plan Mode
- The how-to guide with that title opens inside Grok Build
/docs on its own opens a list of guides to pick from, and /docs web opens docs.x.ai/build/overview in your browser.
grok inspect In a terminal, lists the instruction files, skills, plugins, hooks, and MCP servers Grok Build finds for this folder.
A pharmacology course director has put an AGENTS.md file in the course folder ("Use American Medical Association (AMA) citation style. Never edit anything in originals/.") and wants to confirm Grok Build will read it.
grok inspect
- Each rules file found, with its path and approximate token count
- The skills, plugins, hooks, and MCP servers found, each with where it came from
Run it in an ordinary terminal in the course folder, before starting Grok Build. If the folder is not a git repository, only the files in that folder itself are read.
/import-claude Brings over your Claude Code settings: permissions, environment variables, MCP servers, hooks, and paths.
A faculty member who already uses Claude Code wants the same folder permissions and connections in Grok Build.
/import-claude
- A preview of the settings found in your Claude Code configuration, each with a checkbox
- Confirming writes the items you ticked into Grok Build's own settings
Grok Build already reads CLAUDE.md files and Claude Code skills without importing. From a terminal, grok import brings over Claude Code sessions, and the /resume-claude, /resume-codex, and /resume-cursor skills continue a recent session from those tools.
/login, /logout Signs in again without leaving the session, or signs out and returns to the sign-in screen.
A student finishes a study session on a shared computer in the library and wants to leave no account signed in.
/logout
- You are signed out and returned to the sign-in screen
Sessions are saved on the computer itself, in the .grok folder in your user folder, and xAI does not say that signing out removes them; /delete removes one. From a terminal, grok logout also signs out and clears saved credentials.
/home Leaves the current session and returns to the welcome screen (also /welcome).
A course coordinator finishes tidying one week's handouts and wants to pick a different saved session from the list.
/home
- The welcome screen, listing recent sessions in this folder
The session you leave stays saved.
/quit Quits Grok Build (also /exit).
At the end of the day, a faculty member wants to close Grok Build.
/quit
- Grok Build closes; the session stays saved and can be resumed later
Pressing Ctrl+Q twice also quits (Ctrl+D in terminals inside VS Code and similar editors).
Sessions: Saving, Finding, and Returning¶
/new Starts a new session; the previous one stays saved (also /clear).
A faculty member has finished reorganizing lab handouts and now wants to draft a grading rubric, an unrelated task, in the same folder.
/new
- A new, empty session; the finished one stays saved on disk
/resume Opens a list of recent sessions in this folder so you can carry one on.
Yesterday a course director started building a practice quiz from her own lecture notes and wants to continue where she stopped.
/resume
- A list of recent sessions for this folder; typing filters by title and also searches what was said in them
- The chosen session returns, with its to-do list and the last status of each item
grok -c In a terminal, starts Grok Build by continuing the most recent session in this folder.
A student closed Grok Build partway through turning a week of cardiology notes into summary tables, and opens it again the next morning.
grok -c
- Grok Build opens straight into the most recent session for this folder
grok --resume followed by a session's ID opens a particular one.
/rename Renames the current session (also /title).
A clerkship coordinator has several sessions in one folder and wants this one easy to find later.
/rename Week 3 rotation schedule
- The session takes the new title in the session lists
Titles are otherwise written automatically from the conversation; /rename --auto hands the title back to that.
/session-info Shows the current session's details: model, sign-in method, folder, sandbox, and how full the context is (also /status).
Before a long task, a teaching assistant wants to confirm which model and folder this session is using.
/session-info
- The session's title, Grok Build version, sign-in method, session ID, working folder, and model
- The sandbox profile, when one is set, and context use in tokens and as a percentage
Click a value to copy it; c copies the session ID.
/dashboard Opens the Agent Dashboard, a live list of every session in this window (also /sessions, or Ctrl+\).
A staff member has one session reformatting handbook chapters and another checking links, and wants to see which is waiting for an answer.
/dashboard
- Sessions grouped by state: Needs input, Working, Idle, Inactive, Completed, and Failed
- Selecting one shows its latest activity; typing replies to it, and Enter opens it
Permission questions can be answered from the dashboard with the number keys. From a terminal, grok dashboard opens it directly.
/delete Deletes the current session's saved history, after asking you to confirm.
A faculty member opened the wrong file in a session and does not want that conversation kept on the computer.
/delete
- A confirmation; once confirmed, the session's history is deleted permanently and you return to the welcome screen
To delete a session you are not in, open /resume, highlight it, and press d then y.
grok sessions In a terminal, lists, searches, or permanently deletes the saved sessions for this folder.
A course director remembers discussing renal clearance in an earlier session, but not which one.
grok sessions search "renal clearance"
- Matching sessions, found by title and by the prompts typed in them
grok sessions list shows recent sessions, and grok sessions delete followed by a session ID removes one for good.
/share Listed by xAI as sharing the current session through a web link; Grok Build's open-source code currently switches it off.
A faculty member wants to send a colleague the session in which a small-group case was drafted.
/share
- Session sharing is temporarily disabled
This is the message in Grok Build's open-source code as published on September 29, 2026; sharing was switched off on July 30, 2026. /export saves a copy you can send instead.
Staying in Control¶
/plan Enters plan mode: Grok Build explores and drafts a plan, and only the plan file can be edited until you approve it.
A course director wants 40 copied lecture-note files merged into one study guide per organ system, and wants to see the approach before anything changes.
/plan Merge these lecture notes into one study guide per organ system. Leave the original files unchanged.
- The status reads plan while it explores; a plan preview opens when it finishes
- [a]pprove [c]omment [q]uit plan
- Until you approve, only the plan file can be edited, even in Auto or Always-approve
On the review screen, a approves and starts the work, s asks for changes, c comments on a line, and q leaves plan mode. Shift+Tab also turns plan mode on.
/view-plan Reopens the saved plan (also /show-plan).
Halfway through the approved study-guide merge, the course director wants to check what step four of the plan said.
/view-plan
- The plan preview opens again
/auto Switches auto mode on or off: a classifier approves tool calls it judges safe, and the rest still ask.
A teaching assistant is renaming 60 transcript files to a fixed pattern and finds approving each step slow.
/auto
- The status shows auto; actions the classifier does not approve still bring a permission prompt
Appears only when the feature is turned on. Running /auto again returns to asking, and deny rules and hooks still apply.
/always-approve Switches always-approve mode on or off: no permission prompts for tool calls, though deny rules and hooks still apply.
A faculty member converting 200 public-domain histology images to a new format is tired of approving each step and is considering turning prompts off.
/always-approve
- Permission prompts stop for tool calls; deny rules and hooks still apply
- Running /always-approve again, or pressing Ctrl+O, returns to asking
xAI's guide suggests this mode for scripts and automation, with deny rules for hard limits, and the ask or auto modes for everyday interactive use.
grok --sandbox In a terminal, starts Grok Build with a sandbox profile that limits where its commands can write.
On a Mac, a staff member wants Grok Build's commands kept inside a copied folder of department forms.
grok --sandbox workspace
- Grok Build starts with commands able to write only in this folder, Grok's own settings folder and temporary files
Other profiles include read-only (writes only to Grok's own folder and temporary files) and strict (also limits reading). The sandbox is off by default and documented for macOS and Linux only; xAI describes none for Windows.
/privacy Opens the setting for whether xAI may keep and train on your Grok Build sessions.
Before using Grok Build on course materials, a faculty member wants to check whether those sessions can be used to train xAI's models.
/privacy
- Settings opens on Coding data, retention, and training
- Opt in
- Opt out
On a team account only an admin can change it, and the row shows ZDR (zero data retention) or Admin Managed instead of the choice.
Checking the Work¶
/rewind Rolls the conversation back to an earlier prompt, dropping the turns after it (also /undo, or Esc twice on an empty prompt).
A course coordinator's request to reformat an answer key was misread, and the next few turns built on the misunderstanding.
/rewind
- A list of rewind points, one for each prompt you sent
- After you pick one, a confirmation
- Yes
- Yes, and don't ask again
- No
Since version 1.0.1 (August 10, 2026), rewinding rolls back only the conversation; files changed after that point stay as they are. xAI's Sessions page still says files are restored, so check the files and put back any you need yourself.
/btw Asks a side question without interrupting the running task.
While Grok Build formats 60 practice questions, a new faculty member wants to know what the lead-in of a board-style question is.
/btw What is the lead-in in a board-style multiple-choice question?
- The answer appears while the main task keeps running; the side question is not added to the main task
/btw also works in the middle of a message, and the whole message then becomes the side question.
/export Saves the conversation as a Markdown file, or copies it to the clipboard.
A faculty member wants a record of how a module's exam blueprint was built, to keep with the module files.
/export blueprint-session.md
- The conversation is written to blueprint-session.md
Without a file name, the whole transcript is copied to the clipboard. From a terminal, grok export followed by a session ID exports a saved session.
/copy Copies the latest response, or an earlier one, to the clipboard or to a file.
A student wants the summary table Grok Build produced two replies ago, to paste into their own notes.
/copy 2
- A brief confirmation, such as: Copied!
Each copy is also saved to a backup file in Grok's own folder, in case the clipboard cannot be reached. /copy notes.md writes the reply to a file instead.
/history Searches the prompts you have typed in this session, newest first, so you can reuse one.
Earlier in the session, a coordinator wrote a long, carefully worded request for formatting the rotation schedule, and wants it again for the next block.
/history
- A search over this session's prompts, newest first; Enter or Tab puts the chosen one back in the input box
The up arrow on an empty prompt also steps back through recent prompts.
/find Searches the conversation for a word or phrase.
In a long session, a faculty member wants to find where Grok Build mentioned the file of learning objectives.
/find learning objectives
- A search of the conversation opens, starting from the words you typed
Works in the full-screen view; in the minimal view, use your terminal's own search.
Context and Memory¶
/context Shows how full the model's working memory (its context window) is, and with what.
After Grok Build has read a long published clinical guideline and twelve lecture-note files, its answers start to drift.
/context
- The context window split into System prompt, Messages, Reasoning/overhead, and Free
Grok Build compacts the conversation by itself once the window reaches 85 percent.
/compact Compresses the conversation so far into a summary, to free space in the context window.
Midway through a long session writing practice questions from her own notes, a faculty member sees from /context that the context window is nearly full.
/compact
- The conversation history is compressed, freeing space in the context window
xAI's online reference shows an optional instruction about what to keep, but Grok Build's open-source code, as published on September 29, 2026, refuses one with: /compact takes no arguments.
/context-window Picks the size of the context window for this session, when the model offers more than one.
A researcher wants Grok Build to keep a long published systematic review and its supplement in view at once.
/context-window 500k
- The session uses the 500k window from now on
Listed only when the current model offers more than one size. A size smaller than what is already in use starts a compaction.
/recap Summarizes the session so far, to catch up on where things stand (also /summarize).
A staff member returns from a meeting to a long session that has been reorganizing the student handbook.
/recap
- A short summary of the session appears in the conversation; it is not added to what the model reads
In a session with nothing in it yet, it answers: No messages yet.
/remember Saves a note for later sessions.
A course director wants every future session, in any folder, to use AMA citation style and US English without repeating it.
/remember I write in US English and cite in AMA style
- A review panel shows the note, with an optional reworded version (Tab switches between them); nothing is saved until you confirm
- Memory saved to ~/.grok/memory/MEMORY.md
Starting a prompt with # saves a note the same way. A preference for every folder goes to that global file; a note about one project goes to that project's own memory file instead.
/memory Opens a browser of the notes Grok Build has saved to memory, where you can read them, delete one, or turn memory on (also /mem).
Before sharing a course folder with a colleague, a faculty member wants to see what Grok Build has remembered about it.
/memory
- A Memory window listing Global, Workspace, and Sessions notes, with a preview of the selected one
- t turns memory on or off for this session; x deletes the selected note
Memory across sessions is off unless you turn it on, and the t switch here lasts only for the session.
/flush Saves what matters from this session into memory now, instead of waiting.
At the end of a productive session settling the conventions for a new question bank, a faculty member wants them kept before compacting.
/flush
- Flushing memory…
- A line reports the result, for example: Memory flushed through turn 12
Needs memory across sessions turned on.
/dream Merges saved memory notes into organized topics.
After a month of sessions on one course, a faculty member's memory notes have grown into many small observations.
/dream
- Consolidating memory…
- A line reports how many observations were merged into how many topics, or that there was nothing to merge
Needs memory across sessions turned on.
grok memory clear In a terminal, deletes Grok Build's memory files for this folder, its global notes, or both.
A faculty member is passing a laptop on to a colleague and wants Grok Build's remembered notes removed first.
grok memory clear --all
- A confirmation, then both this folder's memory and the global notes are cleared
With no option, or with --workspace, only this folder's notes are cleared; --global clears only the notes that apply everywhere.
Model, Effort, and Usage¶
/model Switches the model, then the context size and effort where the model offers them (also /m).
A faculty member wants to see which models Grok Build offers before starting a long literature-summary task.
/model
- A picker of models; after the model, it asks for a context size where offered, then an effort level
/model grok-4.6 switches directly. Ctrl+M opens the picker when the prompt is not selected.
/effort Sets how hard the current model reasons: low, medium, high, or xhigh.
A teaching assistant is renaming 40 lecture PDFs to a fixed pattern, a job that needs little judgment.
/effort low
- Reasoning effort for the current model is set to low
Applies only to models that support effort levels; a level the model does not support is refused.
grok models In a terminal, lists the models available to Grok Build.
Before a session, a course director wants to know which models her plan gives her in Grok Build.
grok models
- A list of the models you can use
/usage Shows how much of your plan's allowance is used, or opens billing (also /cost).
A student on SuperGrok has run several long Grok Build sessions and wants to know how much of the weekly allowance is left before exam week.
/usage
- Your account's allowance, with this session's context and token totals
/usage manage opens billing. The command is hidden for Free and X Basic personal accounts.
/release-notes Shows what changed in the version you have installed (also /changelog).
After an update, a faculty member notices a new button and wants to know what changed.
/release-notes
- The release notes for the installed version
grok update In a terminal, checks for a newer version of Grok Build and installs it.
A colleague mentions a command that a faculty member's copy of Grok Build does not have.
grok update
- Grok Build checks for a newer version and installs it
grok version shows the version you have. If Grok Build was installed with WinGet on Windows, grok update prints the WinGet command to use instead and changes nothing.
Skills, Connections, and Extensions¶
/skills Opens the extensions window on its Skills tab, listing the skills installed.
A department has shared a case-vignette-writer skill, and a faculty member wants to confirm it is installed.
/skills
- The extensions window opens on its Skills tab, beside tabs for Hooks, Plugins, Marketplace, Workflows, and MCP Servers
Turning a skill off here also stops it appearing as a slash command.
/<skill-name> Runs a skill by its name, like a command.
The department's case-vignette-writer skill drafts small-group cases in an agreed format, and a faculty member needs one on diabetic ketoacidosis.
/case-vignette-writer diabetic ketoacidosis in a 19-year-old, for second-year small groups
- Grok Build follows the skill's instructions to draft the case
If a skill shares a name with a built-in command, the built-in wins and the skill is reached with a prefix, such as /local:compact.
/skillify Turns the current session into a new skill.
After an hour refining how Grok Build turns lecture notes into flashcards, a student wants to reuse the method next week.
/skillify
- Grok Build captures the session as a new skill
Named on xAI's Grok Build product page; it is not in the command reference.
/mcps Opens the list of MCP servers (connections to outside tools), to switch them on or off, add them, or sign in to them.
The library has set up a read-only connection to a reference manager for a faculty member, who wants to check it works before asking for help with citations.
/mcps
- The MCP tab of the extensions window, listing the configured servers
- Space switches a server on or off, r refreshes, i signs in to a server that needs it, a adds, and x removes
Tools from a server appear under its name, such as refs__search.
/plugins Opens the extensions window on its Plugins tab: installed plugins, installing new ones, and trust (also /plugin).
An instructional designer was told that a plugin bundles the department's skills and connections, and wants to see what is installed.
/plugins
- The Plugins tab, listing installed plugins, with ways to install from the marketplace and manage trust
One plugin can bundle skills, helper agents, hooks, and MCP servers.
/marketplace Opens the extensions window on its Marketplace tab, to browse and install plugins.
A faculty member wants to see whether a ready-made plugin exists for working with PDFs before building anything.
/marketplace
- The Marketplace tab, listing plugins from the sources in your settings, each with an install option
Sources can include a team's own git repository.
Long Jobs and Background Work¶
/goal Hands over a long task: Grok Build keeps working, round after round, until a check confirms the goal is met.
A student wants flashcards made from every file in their own notes folder, each card citing the note it came from.
/goal Turn every file in notes/ into flashcards in cards.csv, one card per key fact, each citing its source file
- Grok Build plans an approach, breaks the work into a progress checklist and starts
- /goal status shows the live progress panel; /goal pause stops and keeps the goal; /goal clear drops it
It marks the goal complete only after an independent review of the evidence; if that fails, the goal stays open or pauses with the gaps listed.
/loop Runs a prompt again and again at an interval you set.
In the week before term, a coordinator wants Grok Build to check the shared slides folder every hour and add each newly uploaded deck to the course checklist.
/loop 1h check the slides folder for new decks and add each one to checklist.md
- The prompt runs now, then again every hour, each time as a new turn
Intervals run from 60 seconds to days; a loop expires after 7 days, and up to 50 can be active. Cancel one from the tasks pane (Ctrl+G).
/tasks Lists what is running in the background: commands, helper agents, and scheduled prompts.
A coordinator has a loop running and a long conversion in the background, and wants to see both at once.
/tasks
- A list of background tasks, helper agents, and scheduled tasks
Ctrl+G opens the live tasks pane instead. To stop a background command, select it in the conversation and press x, or ask Grok Build to stop it.
/queue Lists the prompts waiting behind the one now running.
While Grok Build works through a long reformatting job, a faculty member has typed two follow-up requests and wants to check their order.
/queue
- The queued prompts, in the order they will be sent
Prompts typed during a turn are queued, not lost; Ctrl+; opens the queue panel.
/deep-research Starts a research workflow in the background that checks each claim against its sources and writes a cited report.
While revising a syllabus, a faculty member wants a background review of published evaluations of AI tutors in preclinical anatomy teaching.
/deep-research Published evaluations of AI tutors in preclinical anatomy teaching since 2024
- The command returns at once; the report appears in the conversation when it is ready
- Only claims that pass an independent check are kept, and the report is marked Partial when anything could not be checked
/workflow runs shows its progress.
/workflow Starts a saved workflow, or shows and controls the ones running.
A faculty member wants to see how far the background literature review has got.
/workflow runs
- The Workflow Runs dashboard: each run's name, phase, helper agents, progress, and result
- In a run's details, p pauses, r resumes, and x stops it
/workflow followed by a saved workflow's name starts it.
/workflows Lists the saved workflows Grok Build has found, built-in, project, and personal.
A course director wants to know which ready-made workflows exist before writing one.
/workflows
- The Workflows tab of the extensions window: each saved workflow with its source, description, and file location
xAI's online command table describes /workflows as the live run dashboard; its newer user guide and changelog give that job to /workflow runs.
/create-workflow Writes and saves a new workflow, after asking how it should divide, check, and limit the work.
Each term a faculty member checks every question in a 300-item bank against the department's style guide, and wants it done the same way each time.
/create-workflow Check every question in the bank against the style guide, then verify each finding
- Grok Build asks about fan-out, verification, and scope
- It writes the workflow, tests it briefly, and saves it in the project's .grok/workflows folder
Run it later with /workflow and its name.
/fork Copies the current conversation into a second session that works alongside it.
A faculty member has an agreed outline for a team-based learning session and wants a second version for an online cohort, without losing the first.
/fork write the online version of this session plan
- A second session starts from a copy of the conversation, with your words as its first prompt
- Unless you say, it asks whether to run in a separate git worktree
Without a worktree, both sessions work in the same folder and can overwrite each other's files; a worktree (which needs a git repository) keeps them apart.
Images, Video, and Voice¶
/imagine Makes an image from a description, when the feature is available to you.
A faculty member wants a simple illustration of a stethoscope on a clipboard for the title slide of a study-skills workshop.
/imagine a simple flat illustration of a stethoscope resting on a clipboard, for a title slide
- An image is generated from the description
/imagine-video Makes a short video from a description, when the feature is available to you.
A student-life coordinator wants a few seconds of moving title for an orientation video.
/imagine-video a slow pan across a sunny campus lawn with palm trees, for an opening title
- Grok Build plans the shots, makes source images, and animates them into a video
/voice Starts voice dictation into the prompt; Esc or Enter stops it, and Enter also sends.
A faculty member with a long, detailed request finds it easier to say it than to type it.
/voice
- A recording banner shows while you speak, and your words go into the prompt
Ctrl+Space or F8 starts and stops dictation too. An organization can switch dictation off.
Display and Navigation¶
/settings Opens the settings window (also /config, or F2).
A staff member wants Grok Build to open in its simpler minimal view every time.
/settings
- The settings window, where options such as Default screen mode can be changed
/theme Switches the color theme (also /t).
A faculty member is showing Grok Build on a lecture-hall projector, where the dark default is hard to read.
/theme light
- The display switches to the GrokDay light theme
/theme on its own opens a picker with a live preview, and a theme of auto in the settings follows your computer's light or dark mode.
/compact-mode Switches a denser layout on or off: less padding and tighter spacing.
A student working on a small laptop screen wants more of the conversation visible at once.
/compact-mode
- The layout tightens, with less padding between entries
The choice is kept for later sessions.
/multiline Switches multiline input on or off: Enter starts a new line and Shift+Enter sends (also /ml).
A course director wants to type a request with several numbered steps without each Enter sending it.
/multiline
- Multiline input is on: Enter adds a line, and Shift+Enter (or Alt+Enter) sends
/timestamps Sets which messages show the time: off, minimal, or on.
A faculty member wants the time beside each message, to record how long a revision session took for a teaching portfolio.
/timestamps on
- Messages show the time they were sent
/density Sets how much of each step the conversation shows: Detailed, Diff focus, Balanced, Grouped, or Compact.
A staff member new to Grok Build finds the full detail of every file operation distracting.
/density Grouped
- Tool calls are shown at the Grouped level of detail
/minimal, /fullscreen Switches the session to the simpler, experimental minimal view, which uses your terminal's own scrolling; /fullscreen switches back.
A student's terminal does not copy text well from the full-screen view.
/minimal
- The session switches in place; a running task, your draft, and your permission mode carry over
A few commands, such as /find, /jump, and /theme, work only in the full-screen view, and /expand (which reprints a shortened block in full) only in the minimal one.
/jump Jumps to an earlier turn of the conversation.
A faculty member wants to go back to the turn, much earlier in a long session, where the module's learning objectives were agreed.
/jump
- You pick a turn, and the view moves to it
Full-screen view only. Shift with the left or right arrow also moves between turns.
/timeline Shows or hides a sidebar with a clickable mark for each turn.
In a session of many turns, a course coordinator wants a quick way to move between them with the mouse.
/timeline
- A sidebar of tick marks, one per turn; clicking one moves there
Full-screen view only.
Troubleshooting and Feedback¶
/doctor Checks the terminal, clipboard, colors, input, notifications, and sandbox, and explains how to fix each problem (also /terminal-setup).
Copying from Grok Build does not reach the clipboard on a faculty member's laptop.
/doctor
- What it found, with how to resolve each problem
/doctor fix lists the fixes it can apply for you; the rest come with steps to follow.
grok doctor In a terminal, diagnoses setup problems, including one that stops Grok Build from starting.
After a settings change, Grok Build will not open at all on a staff member's computer.
grok doctor
- It names the configuration file or setting that prevents Grok Build from starting
grok doctor fix offers repairs and asks before changing anything.
/feedback Reports a problem or sends feedback to xAI.
Grok Build keeps cutting off long tables in its replies, and a faculty member wants to tell xAI.
/feedback Long tables in replies are cut off after about 20 rows
- The message is sent; if sending fails, it is saved to Drafts
/feedback on its own opens a form with a Write tab and a Drafts tab.
More Commands, Mostly for Developers¶
grok -p Runs one request without the full-screen view, for scripts and automated pipelines.
grok agent stdio Runs Grok Build as an agent that an editor or another app drives through ACP.
grok mcp Adds, lists, removes, or diagnoses MCP servers from a terminal (list, add, remove, doctor).
grok plugin Installs, updates, enables, disables, checks, or removes plugins; grok plugin marketplace manages where plugins come from.
grok worktree Lists, shows, or removes the git worktrees (separate copies of a repository) made for sessions; grok -w starts a session in a new one.
grok clone Fetches a git repository through xAI's Grove system, when that is turned on in the settings.
grok du Reports how much disk space Grok Build's own folder uses, including saved sessions and worktrees.
grok usage Prints the recorded token and cost figures for a saved session, turn by turn, as machine-readable data.
grok wrap Runs a command in a local terminal that passes clipboard copies through, for remote sessions.
grok completions Generates tab-completion scripts for your shell.
grok setup Fetches and installs configuration managed by your organization.
/code-review Reviews code changes; it ships with Grok Build.
/transcript Opens the full transcript in your terminal's pager program (also /log).
/vim-mode Switches the conversation view to vim-style keys.
/edit-prompt Opens the prompt in the external text editor your environment names.
/config-agents Manages the definitions of helper agents (also /agents).
/personas Creates and edits personas, tone and focus settings that helper agents can apply.
/hooks Opens the extensions window on its Hooks tab, to view, add, remove, or switch off hooks; /hooks-trust lets a project's own hooks run.
Shortcuts and Symbols¶
| Keys | What They Do |
|---|---|
| Shift+Tab | Cycle modes (Normal, Plan, Auto where available, Always-approve). |
| Ctrl+C | Cancel the running turn. |
| Esc Esc | Clear the prompt, or open rewind when the prompt is empty. |
| Ctrl+O | Switch always-approve on or off. |
| Ctrl+P | Open the command palette, a searchable list of every command, shortcut, and skill. |
| Ctrl+. | Show all keyboard shortcuts (Ctrl+X on Windows and in some other terminals). |
| F2 | Open settings (also Ctrl+,). |
| Ctrl+Enter | Send a message while a turn is running (also Ctrl+I; Ctrl+L in VS Code and similar editors). |
| Shift+Enter | Start a new line (Alt+Enter where Shift+Enter does not work). |
| Ctrl+R | Search your earlier prompts. |
| Ctrl+T | Show or hide the to-do list. |
| Ctrl+G | Show or hide the tasks pane of background work. |
| Ctrl+B | Send the running command to the background. |
| Ctrl+\ | Open the Agent Dashboard. |
| Ctrl+Space | Start or stop voice dictation (F8 also works). |
| Alt+V | Paste an image on Windows (Ctrl+V on Linux, Cmd+V on macOS). |
| Ctrl+Q | Quit (press twice; Ctrl+D in VS Code and similar editors). |
| Ctrl+K | In Grok Bot's desktop app, open the search palette to switch Bots or find earlier messages, files, and routines (Cmd+K on macOS). |
| Ctrl+D | In Grok Bot's desktop app, dictate into the message box while it is selected (Cmd+D on macOS); you can edit the text before sending. |
| Ctrl+Shift+M | In Grok Bot's desktop app, open Marketplace, where connectors and packaged skills are installed (Cmd+Shift+M on macOS). |
| Type | What It Does |
|---|---|
| @ | Attaches a file to the prompt, with a file picker; @notes.md:10-50 attaches only those lines, and @! reaches hidden files. |
| ! | On an empty prompt, switches to shell mode so you run a command yourself; Grok can see the output too. |
| # | At the start of a prompt, saves the rest as a memory note, as /remember does. |
| @ | In Grok Bot, mentions a Bot, group, routine, or connector, or attaches a connector to a task. |
| / | In Grok Bot's desktop app, picks one of your saved skills. |
| @ | In the instructions of a Grok app automation, mentions a connector so every run uses it. |
Recent Changes¶
- September 28, 2026: Team Bots, Grok Bots shared across a team, launched in public beta. (source)
- September 21, 2026: Grok 4.7 launched in Grok Build (as its default), Cursor, and the xAI API. (source)
- September 16, 2026: Grok Build gained optional memory across sessions. (source)
- September 3, 2026: Grok Bot for Enterprise was announced. (source)
- August 26, 2026: Grok Bot was included with SuperGrok, SuperGrok Plus, and SuperGrok Heavy, with its own separate usage. (source)
- August 19, 2026: Build in the Grok app opened to every plan, on the web and on phones. (source)
- August 12, 2026: Grok 4.6 launched. (source)
- August 11, 2026: Grok Bot launched in beta. (source)
- August 7, 2026: Imagine Image 2.0 became the Quality Mode in the Grok app. (source)
- July 31, 2026: Imagine Video 1.5 gained image and voice references, video from text alone, and 1080p. (source)
More in This Section
Color key: Tool
- Tools & Prompts Section overview
- ChatGPT (OpenAI) Plans, models, Codex, and its commands
- Claude (Anthropic) Plans, models, Claude Code, and its commands
- Gemini (Google) Plans, models, Antigravity, and its commands
Browse Tools & Prompts21 pages
Find a Tool1 page
Use a Prompt3 pages
Work with Sources2 guides
Work with AgentsOptional, after the basics5 guides
Related Lesson in Learn
The Guides
Run Models Locally2 guides
By Company4 company guides
Compare Models3 leaderboards
Color key: ToolPromptGuideLessonBenchmark
Content last reviewed October 9, 2026. Review dates are maintained as described on the About page.