promptgarten 🌱

Command reference Β· Antigravity CLI

/copy

Copies the last agent response to the clipboard.

/copy belongs to the Utilities category and by default copies the agent's last response to the system clipboard β€” useful for pasting an explanation, code block, or summary directly into another application without manually selecting it. Since version 1.1.6, the command also accepts an optional index argument: /copy <n> copies not the last response but the n-th-to-last response from the conversation history. This lets you grab an older response directly, without first scrolling back through the history or searching for it afterward. /copy copies plain response text, not a structured code change with file and line references across multiple turns β€” that's what the Interactive Diff Viewer (/diff) is for, which shows and lets you navigate changes, turns, and commits separately.

πŸ”„ THE SAME TASK (β€œCOPY RESPONSE/TEXT”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

Copy the last response into a note

/copy after a code explanation, to paste it into a note.

Copy a specific older response

/copy 3 copies not the last but the third-to-last response from the agent to the clipboard.

β›” WHEN NOT TO?

Copying an entire code diff instead of plain text response

/copy copies the text response, not a structured code diff across multiple files and turns.

Better: Open /diff and view the changes there

SOURCES

MORE COMMANDS Β· Antigravity CLI

/credits/diff/exit/fast/feedback/fork/help/hooks/keybindings/logout/mcp/model

All commands Β· Antigravity CLI β†’

Share:𝕏inπŸ’¬