▸ Agent Skills
3 min read

Markdownkeyboard_arrow_down

content_copyCopy Markdown

open_in_newView Markdown

Using AGY CLI

Settings

Antigravity CLI provides a flexible configuration system to customize workspace behavior, safety restrictions, editor preferences, visual style, and performance.

  • Configuration File: Stored in a plain JSON file ~/.gemini/antigravity-cli/settings.json.
  • Settings Panel: Type /config or /settings to open a full-screen overlay menu listing all available options.
    • Select a setting to open its list of options or a text input field.
    • Immediately save your selection to the disk and return to the main list.
  • Overrides: Certain settings can be overridden at launch via CLI flags (e.g., --sandbox or --dangerously-skip-permissions).
    • The settings menu will display an indicator showing where the override came from (e.g., Sandbox Mode on overridden by --sandbox).
    • You can still edit the persistent setting on disk, but the current session will enforce the command-line override until restarted.

Quick Tips

Action/FeatureTip/Command
Auto-complete to file paths@ will trigger path suggestions
Clear PromptType esc esc to clear your prompt box (when no streaming is active)
Terminal CommandsUse ! at the start of your prompt to run terminal commands directly
HelpType ? to get help and list all slash commands
Reduce Noise from Tool CallsSet verbosity to low in /config to minimize outputs from numerous tool calls
Manage PermissionsControl permissions via /config or /permissions
Go Back in ConversationUse /rewind or /undo to rewind the conversation history
Fork ConversationUse /fork to spin up a separate workspace and branch the conversation from an earlier point
Clear ConversationUse /clear to clear the prompt and start a new conversation session
Resume ConversationUse /resume to list and resume previous conversation logs
Auto-Save ResumeWhen you close the CLI, it automatically prints the exact command needed to resume that specific session

Keybindings

AGY CLI allows for custom keybindings. You can edit them by typing /keybindings or modifying the JSON file directly.

  • File Location: ~/.gemini/antigravity-cli/keybindings.json.
  • Reset: To reset to default, delete the keybindings.json file.

Default Keybindings

Action/CommandKeysPurpose
Clear TUI Screenctrl+lClear terminal output
Enter / SubmitenterSubmit prompts or choices
Escape / Cancelctrl+c, escStop stream, close menus, or clear prompt
Exit CLIctrl+dTerminate CLI TUI session
Suspend CLIctrl+zPush CLI session to terminal background
Edit CommandeOpen editor to edit proposed terminal command
Confirm NonDecline terminal command execution
Confirm YesyApprove terminal command execution
Open Editorctrl+gEdit prompt inside your default shell editor
Paste Textctrl+vPaste text from your clipboard
Redo Text Editctrl+shift+zRedo last undone text change
Undo Text Editctrl+_, ctrl+shift+-Undo last text change
Yank (Copy)ctrl+yYank/copy selected text
Navigate DowndownScroll down in menu lists
Go to Bottomctrl+endJump TUI view directly to the bottom
Go to Topctrl+homeJump TUI view directly to the top
Navigate LeftleftMove prompt cursor left
Page Downpgdown, shift+downScroll TUI page down
Page Uppgup, shift+upScroll TUI page up
Navigate RightrightMove prompt cursor right
Tab / FocustabAuto-complete choices or switch component focus
Navigate UpupScroll up in menu lists
Insert Newlinealt+enter, ctrl+j, shift+enterAdd newline to prompt without submitting

You can map a single action to many keybindings in the JSON file. To disable keybindings, set the list to empty (e.g., []). If the file is malformed, the CLI will use the valid parts and fall back to defaults for the broken actions.


Last updated Oct 08, 2026