Agent Skillsjackwener/OpenCLI › antigravity

antigravity

GitHub

通过 OpenCLI 自动化控制 Antigravity 桌面应用,支持发送消息、读取聊天记录、提取代码及切换模型等操作。

clis/antigravity/SKILL.md jackwener/OpenCLI

Trigger Scenarios

需要程序化控制聊天界面 自动化生成或提取代码内容 管理 AI 对话上下文

Install

npx skills add jackwener/OpenCLI --skill antigravity -g -y
More Options

Non-standard path

npx skills add https://github.com/jackwener/OpenCLI/tree/main/clis/antigravity -g -y

Use without installing

npx skills use jackwener/OpenCLI@antigravity

指定 Agent (Claude Code)

npx skills add jackwener/OpenCLI --skill antigravity -a claude-code -g -y

安装 repo 全部 skill

npx skills add jackwener/OpenCLI --all -g -y

预览 repo 内 skill

npx skills add jackwener/OpenCLI --list

SKILL.md

Frontmatter
{
    "name": "antigravity",
    "description": "How to automate Antigravity using OpenCLI"
}

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 ```

Version History

  • 5256711 Current 2026-07-25 10:05

Same Skill Collection

skills/opencli-adapter-author/SKILL.md
skills/opencli-autofix/SKILL.md
skills/opencli-browser-sitemap/SKILL.md
skills/opencli-browser/SKILL.md
skills/opencli-sitemap-author/SKILL.md
skills/smart-search/SKILL.md
skills/opencli-usage/SKILL.md

Metadata

Files
0
Version
50565ef
Hash
a8adcb7d
Indexed
2026-07-25 10:05

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 05:35
浙ICP备14020137号-1 $방문자$