clis/antigravity/SKILL.md
How to automate Antigravity using OpenCLI
npx skillsauth add jackwener/opencli clis/antigravityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill allows AI agents to control the Antigravity desktop app (and any Electron app with CDP enabled) programmatically via OpenCLI.
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" ```
opencli antigravity send <message>): Type and send a message directly into the chat UI.opencli antigravity read): Scrape the raw chat transcript from the main UI container.opencli antigravity extract-code): Automatically isolate and extract source code text blocks from the AI's recent answers.opencli antigravity model <name>): Instantly toggle the active LLM (e.g., `gemini`, `claude`).opencli antigravity new): Start a fresh conversation.```bash opencli antigravity send "Write a python script to fetch HN top stories"
opencli antigravity extract-code > hn_fetcher.py ```
Agents can run long-running streaming watch instances: ```bash opencli antigravity watch ```
tools
Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.
tools
Use at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".
tools
Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.
tools
Use when driving a website with opencli browser and sitemap context is available, requested, or needed to avoid blind navigation. Guides agents to consume site sitemap files lazily, choose adapter/browser fallback paths, resume from state signatures, and mark stale sitemap entries without trusting them over live browser state.