Command reference ยท Cursor CLI
/clear
Starts a new, empty chat session.
/clear starts a new chat session. /new, /new-chat, and /newchat are aliases.
โ WHEN TO USE IT?
Free up the context window for a completely new topic
/clear โ after the previous task is done
โ WHEN NOT TO?
The prior context is still needed
/clear discards the current session's conversation history entirely.
Better: Use /summarize to free up space without losing the context completely
SOURCES
- Cursor Docs โ Slash Commands โ cursor.com