Clear the conversation history

interactive session

// what it does

/clear wipes the current chat history so Grok starts fresh, dropping the accumulated context from earlier turns. Use it when switching to an unrelated task in the same session so stale context does not steer the model.

// shell

$ /clear

// gotcha

This clears the conversation, not your files — any edits Grok already wrote to disk remain. There is no undo for the cleared history itself.

// resources