antigravity

A guide for automating Antigravity, a desktop application built with web technology, through OpenCLI. It can send messages, read chat history, extract code, switch models, and start a new conversation.

In plain words
What is it for?
Sending prompts, reading replies, collecting code from answers, changing the selected language model, and clearing the conversation.
Why use it?
It removes repetitive manual work when using Antigravity from an automated coding-agent workflow.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jackwener/opencli/antigravity
Any agent
npx skills add jackwener/OpenCLI --skill antigravity
Clone the repo
git clone --depth 1 https://github.com/jackwener/OpenCLI

Made for: Claude Code, Codex.

Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.00400
Opus 5 $0.00005 $0.00200
Sonnet 5 $0.00002 $0.00080
Haiku 4.5 $0.00001 $0.00040

Measured yesterday against content hash a8adcb7d8e88, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

antigravity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 17 executable files (_actions.js, antigravity.test.js, audit-extras.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

clis/antigravity/SKILL.md · 39 lines

What it actually says

Antigravity Automation Skill

This skill allows AI agents to control the Antigravity desktop app (and any Electron app with CDP enabled) programmatically via OpenCLI.

Requirements

opencli automatically detects, launches (with --remote-debugging-port=9234), and connects to Antigravity. If Antigravity is already running without CDP, opencli will prompt to restart it.

If the endpoint exposes multiple inspectable targets, set: ```bash export OPENCLI_CDP_TARGET="antigravity" ```

High-Level Capabilities

  1. Send Messages (opencli antigravity send <message>): Type and send a message directly into the chat UI.
  2. Read History (opencli antigravity read): Scrape the raw chat transcript from the main UI container.
  3. Extract Code (opencli antigravity extract-code): Automatically isolate and extract source code text blocks from the AI's recent answers.
  4. Switch Models (opencli antigravity model <name>): Instantly toggle the active LLM (e.g., `gemini`, `claude`).
  5. Clear Context (opencli antigravity new): Start a fresh conversation.

Examples for Automated Workflows

Generating and Saving Code

```bash opencli antigravity send "Write a python script to fetch HN top stories"

wait ~10-15 seconds for output to render

opencli antigravity extract-code > hn_fetcher.py ```

Reading Real-time Logs

Agents can run long-running streaming watch instances: ```bash opencli antigravity watch ```

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 39 lines · 9 tokens per session scan A a8adcb7d8e88

Subscribe to this mod's changes

antigravity is a skill published in the GitHub repository jackwener/OpenCLI (28,734 stars, last pushed yesterday), licensed Apache-2.0. It adds 9 tokens to every session and 400 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.

browser-use/browser-use · 26 tokens

remote-browser

Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.

browser-use/browser-use · 22 tokens

interceptor-research

Deep web-research methodology for the interceptor browser surface — investigate a topic the way researchers, intelligence analysts, investigative journalists, private investigators, and OSINT operators do, not 'read 3 links and summarize.' Use when the task is research, deep research, investigate, go deeper, be…

Hacker-Valley-Media/Interceptor · 168 tokens

interceptor-browser

Drive a signed-in Chrome / Brave / Safari session via the interceptor CLI: open/read pages, click, type, inspect DOM/text/network, automate rich browser editors and scene graphs, capture WebSocket/Beacon/BroadcastChannel traffic, record/replay flows, take VLM-budgeted screenshots, compare pages, and route to specific…

Hacker-Valley-Media/Interceptor · 122 tokens

interceptor-macos

Drive native macOS apps via interceptor macos : AX trees, background click/type/keys/drag/scroll, occluded or minimized window capture, browser chrome, URL bars, OS dialogs, Apple Events, trusted OS input, monitor/replay, overlays, vision, speech, NLP, JSC host utilities, Electron app web-content control via…

Hacker-Valley-Media/Interceptor · 136 tokens