Agent skill
antigravity
How to automate Antigravity using OpenCLI
Install this agent skill to your Project
npx add-skill https://github.com/jackwener/OpenCLI/tree/main/clis/antigravity
SKILL.md
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
- Send Messages (
opencli antigravity send <message>): Type and send a message directly into the chat UI. - Read History (
opencli antigravity read): Scrape the raw chat transcript from the main UI container. - Extract Code (
opencli antigravity extract-code): Automatically isolate and extract source code text blocks from the AI's recent answers. - Switch Models (
opencli antigravity model <name>): Instantly toggle the active LLM (e.g., `gemini`, `claude`). - 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 ```
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
opencli-oneshot
Use when quickly generating a single OpenCLI command from a specific URL and goal description. 4-step process — open page, capture API, write TS adapter, test. For full site exploration, use opencli-explorer instead.
smart-search
基于 opencli 命令的智能搜索路由器。当用户想要搜索、查询、查找或研究信息时,尤其是涉及指定网站、社交媒体、技术资料、新闻、购物、旅游、求职、金融或中文内容时,务必使用此 skill
opencli-browser
Make websites accessible for AI agents. Navigate, click, type, extract, wait — using Chrome with existing login sessions. No LLM API key needed.
opencli-explorer
Use when creating a new OpenCLI adapter from scratch, adding support for a new website or platform, exploring a site's API endpoints via browser DevTools, or when a user asks to automatically generate a CLI for a website (e.g. "帮我生成 xxx.com 的 cli"). Covers automated generation, API discovery workflow, authentication strategy selection, TS adapter writing, and testing.
opencli-autofix
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through diagnosing the failure via OPENCLI_DIAGNOSTIC, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
opencli-usage
Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 87+ adapters.
Didn't find tool you were looking for?