u/CommonArachnid8538

Hey r/GoogleAntigravityIDE,

I use CLI-based AI tools (like Codex/Claude CLI) inside the Antigravity integrated terminal a lot. Whenever I wanted to pass a screenshot to the AI, it was a huge hassle—I had to save the image to my desktop, copy the path, and manually paste it into the terminal.

So, I built a small extension to completely automate this.

Terminal Image Paster captures your clipboard image when you press Cmd+V (while focused on the terminal), automatically saves it to a temporary .png file, and instantly injects the absolute file path straight into the terminal prompt. It relies on macOS JXA for 100% reliable clipboard extraction.

How to install in Antigravity: Since Antigravity uses the Open VSX registry by default, the easiest way to install it is:

  1. Download the .vsix file from the Marketplace link below (or GitHub releases).
  2. In Antigravity, open the Extensions panel, click the ... at the top right -> "Install from VSIX..."
  3. Select the file, and you're good to go! (If you have configured your Antigravity settings to point to the official MS Marketplace, you can just search for "Terminal Image Paster").

It's completely free and open-source. Hope this saves some keystrokes for anyone else using CLI AI tools!

reddit.com
u/CommonArachnid8538 — 20 days ago