Control the chat

Clear or compact the chat, and undo, redo or keep what a model changed.

How to use them

The commands of this group, as /? shows them

Commands

Command Usage What it does
/clear /clear Erase the messages of the current chat (asks YES / NO first)
/compact /compact [focus] Summarize the earlier part of this chat so the model keeps it in mind with fewer tokens (messages stay visible); optional focus, e.g. /compact keep the API decisions
/undo /undo Put back the files iNoU changed in this chat's last checkpoint (a file changed since is left as it is)
/redo /redo Apply again the checkpoint /undo put back
/keep /keep Keep this chat's pending changes (no file changes)
/checkpoints /checkpoints List this chat's checkpoints: each run that changed files, its status and its files