antigravity
This skill enables agents to control the Antigravity desktop application programmatically via OpenCLI and Chrome DevTools Protocol.
Community author
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode
- License
- Apache-2.0 (permissive)
- Pin
- 2413694pinned Oct 9, 2026
- Context cost
- about 380 tokenswhen the skill loads
- GitHub stars
- 29,938on jackwener/opencli
- Scripts
- 17 scripts
What it does
“How to automate Antigravity using OpenCLI”
Generated summary from the skill's own text
This skill enables agents to control the Antigravity desktop application programmatically via OpenCLI and Chrome DevTools Protocol. Agents can send messages to the chat interface, read conversation history, extract code blocks from responses, switch between language models, and manage conversation state.
When to use it
- Automating multi-turn conversations with an LLM through the Antigravity UI
- Extracting generated code from AI responses for further processing
- Switching between different language models programmatically
- Scraping chat transcripts or monitoring real-time streaming output
When not to
- Interacting with APIs directly when Antigravity UI automation is not needed
- Using Antigravity without Chrome DevTools Protocol enabled
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add jackwener/opencli --skill antigravityInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install jackwener/opencli antigravity@24136945847afbfad266c6c46a8cd335377f9112Installs the commit we checked (2413694).
Copy by hand
Download the folder at 2413694 and put it in .claude/skills/antigravity for Claude Code and in .agents/skills/antigravity for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "antigravity" by jackwener. Source, pinned to commit 24136945847afbfad266c6c46a8cd335377f9112: https://github.com/jackwener/opencli/tree/24136945847afbfad266c6c46a8cd335377f9112/clis/antigravity 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/antigravity/ for Claude Code and .agents/skills/antigravity/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/jackwener/antigravity
SKILL.md at the pin
--- description: How to automate Antigravity using OpenCLI --- # Antigravity Automation Skill This skill allows AI agents to control the [Antigravity](https://github.com/chengazhen/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 \`\`\`
From jackwener/opencli at 2413694, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 2413694Files
- SKILL.md1.6 KB · a8adcb7d8e88
- _actions.js13 KB · ce61b51fbdc1
- antigravity.test.js6.2 KB · cee41ed92dd7
- audit-extras.js15 KB · bf45db5f1290
- delete.js2.4 KB · 915eba0c7d43
- dump.js968 B · c0a97ee7dc32
- extract-code.js1.2 KB · 1f5c4ea05243
- history.js1.1 KB · e5ee528b190b
- mark-read.js2.1 KB · 6964519b6311
- model.js7.9 KB · 64275e6b56b7
- new.js873 B · c7101ef710a2
- read.js1.5 KB · 48d9736dd12c
- rename.js1.5 KB · edaa9ae5f4da
- send.js1.6 KB · cd4c1904c9a1
- serve.js24 KB · f4410f650c0e
- status.js587 B · d05bc5b18bd1
- storage.js16 KB · 8597b95603d5
- watch.js1.7 KB · bd92ca88277d
18 files, 99 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 2413694Related in AI and agents
agent-builder
Agent Builder orchestrates the creation, modification, testing, and publishing of n8n Agents.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.3K tokens · pinned 6 days ago
intent-recognition
Classifies automation requests by determining which primitive owns the top-level control flow (workflow, agent, needs clarification, or out-of-scope) and…
by n8nOfficial publisher
Claude Code, Codex, Cursor +4 · about 6.9K tokens · pinned 6 days ago
planned-task-runtime
This skill manages follow-up interactions with a background task execution system, handling task completion synthesis, failure replanning, workflow building…
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.2K tokens · pinned 6 days ago
skill-creator
This skill guides agents through creating new skills that extend Gemini CLI with specialized knowledge, workflows, and tool integrations.
by GoogleOfficial publisher
Contains scripts
Gemini CLI · about 5K tokens · pinned 6 days ago
-21risk-automation
This skill automates 21risk operations by connecting to the 21risk toolkit through Composio's Rube MCP server.
by ComposioOfficial publisher
Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago
-2chat-automation
This skill automates 2chat tasks by integrating with Composio's 2chat toolkit through Rube MCP.
by ComposioOfficial publisher
Agents not labelled yet · about 680 tokens · pinned 6 days ago