Commands
/compress
Replaces the context with a summary.
Usage
/compress
When to use it
When the conversation has gotten long.
Source: https://github.com/google-gemini/gemini-cli/blob/main/docs/reference/commands.md
More Gemini commands
/helpShows help for Gemini CLI. Basic commands such as /clear and /quit are also available.Commands/clearClears the screen and the conversation.Commands/quitExits Gemini CLI.Commands/chatSaves and restores conversations.Commands/memoryManages the hierarchical GEMINI.md memory.Commands/initCreates a GEMINI.md.Commands
All Gemini