promptgarten 🌱

Command reference Β· Antigravity CLI

!<shell-command>

Runs a terminal command directly from the prompt box.

A ! at the start of the input in the prompt box is not a slash command, but a prefix. According to the official docs, you use ! at the start of your prompt to execute terminal commands directly. The text that follows is executed one-to-one as a shell command instead of going to the agent as an instruction – the agent doesn't interpret or plan anything here, the command is passed straight through. This makes the prefix comparable to other shortcuts in the prompt box, such as @ for file path completion. Separately, there's a keyboard shortcut (e) that lets you edit terminal commands suggested by the agent itself before execution – but that applies to commands the agent proposes for approval, not to the manually typed !-prefix, which executes immediately without confirmation.

πŸ”„ THE SAME TASK (β€œRUN SHELL COMMAND DIRECTLY”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

Quickly run a known terminal command without leaving the TUI

!git status or !ls, to take a quick look without involving the agent

Test a command whose raw output you want to read yourself directly

!npm run build, to see the unfiltered terminal result

β›” WHEN NOT TO?

The agent should choose the right command itself or interpret the result

! executes the command directly and unchanged, without the agent selecting it, adapting it, or evaluating the result.

Better: Phrase the request as a normal prompt, so the agent suggests the appropriate command itself and interprets the result

SOURCES

MORE COMMANDS Β· Antigravity CLI

?esc esc.agents/skills/*.md β†’ /<skill-name>/add-dir/agents/artifact/btw/clear/config/context/copy/credits

All commands Β· Antigravity CLI β†’

Share:𝕏inπŸ’¬