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
- Open a Build session (
grokorgrok -c). - Run:
/new
Or:
/clear
- Type the first prompt for the new conversation. Older sessions stay available from
/resume, the welcome screen, andgrok 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
/newdoes not delete the previous session. Usegrok sessions delete <id>when you mean to remove it permanently.- Headless
-palready opens a new session each run unless you pass-r/--resume. Prefer readingsessionIdfrom JSON output when you need a follow-up turn. /newis separate from Plan Mode and permission mode. Those stay whatever you last set until you change them with/plan,/auto,/always-approve, orShift+Tab.