Command reference Β· Antigravity CLI
/context
Opens the context usage visualization.
/context belongs to the Utilities category and opens a panel that visually shows how much of the current session's available context window is already used β like the other utility commands, it can be called at any time, regardless of which panel or overlay is currently focused.
The display helps you judge when a long conversation is approaching its limits, for example before starting another large task or adding many files via /add-dir. When space runs low, other utility commands can help: /clear for a completely fresh session, or /rewind or /undo to jump back to a specific point in the conversation history instead of blindly continuing with a full context window.
For /context itself, the official docs currently only document the short description from the command reference; there's no dedicated detail page or changelog entries for it.
π THE SAME TASK (βVISUALIZE CONTEXT USAGEβ) ON OTHER PLATFORMS
β WHEN TO USE IT?
Check remaining context capacity before a long task
Call /context to see how much space is still free in the context window
Decide whether a restart or rewind makes sense
Check /context and, if the context window is running low, either restart fresh with /clear or jump back to an earlier point in the history with /rewind.
β WHEN NOT TO?
Checking model quota (requests per time period) instead of the context window
/context shows context-window usage, not the model's usage quota.
Better: /usage
SOURCES
- Antigravity CLI docs: command reference β antigravity.google
MORE COMMANDS Β· Antigravity CLI