BUILD / start-a-new-session-with-new-in-grok-build

Build

Start a new session with /new in Grok Build

Start a new session with /new in Grok Build

/new (alias /clear) starts a fresh session in the current workspace while keeping prior sessions on disk under ~/.grok/sessions/. Official: Modes and Commands, Sessions.

Start clean

  1. Open a Build session (grok or grok -c).
  2. Run:
/new

Or:

/clear
  1. Type the first prompt for the new conversation. Older sessions stay available from /resume, the welcome screen, and grok sessions list.

New vs related commands

Goal Command
Fresh conversation, keep history on disk /new / /clear
Return to the welcome screen /home — see Return to the welcome screen with /home
Continue an existing session /resume, grok -c, or grok --resume — see Manage sessions in Grok Build
Branch without discarding the current thread /fork — see Fork a Grok Build session
Name a brand-new session id from the CLI grok -s <uuid> (does not resume)

Pitfalls

  • /new does not delete the previous session. Use grok sessions delete <id> when you mean to remove it permanently.
  • Headless -p already opens a new session each run unless you pass -r / --resume. Prefer reading sessionId from JSON output when you need a follow-up turn.
  • /new is separate from Plan Mode and permission mode. Those stay whatever you last set until you change them with /plan, /auto, /always-approve, or Shift+Tab.