From b2bcf06d96df5af659476a83096764dfcdea290b Mon Sep 17 00:00:00 2001 From: MaenExists Date: Wed, 14 Oct 2026 17:05:58 +0530 Subject: [PATCH] docs: add common slash commands table including /compact --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 7efc2eb63..d9392d697 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,21 @@ After installation, start Antigravity CLI by running: agy ``` +### Common Slash Commands + +Inside the interactive session, you can control the agent, execution modes, and context with slash commands: + +| Command | Description | +| :--- | :--- | +| `/compact` | Compacts and summarizes the active conversation context in-place to free up the context window. Use `/compact` on its own or `/compact ` to compact and immediately answer a follow-up query. | +| `/clear` | Clears the current terminal scrollback and session screen. | +| `/diff` | Opens the interactive visual diff viewer for reviewing pending file edits (with folding and syntax highlighting). | +| `/plan` | Enters step-by-step planning mode before executing changes on complex tasks. | +| `/tasks` | Lists and manages background tasks. | +| `/config` | Opens interactive settings (including Agent Mode, model selection, and color schemes). | +| `/logout` | Clears stored authentication credentials. | +| `/exit` | Exits the active CLI session (or `Ctrl+D Ctrl+D`). | + --- ## Authentication