ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

antigravity-bridge

One-directional knowledge bridge from Google Antigravity IDE to OpenClaw. Keeps the OpenClaw agent informed about project development without replacing Antigravity as the primary coding agent. Antigravity has deep codebase awareness (IDE, LSP, vectors, code tracker, annotations) — OpenClaw has breadth (24/7 availability, cross-project awareness, business ops, monitoring, communications). The bridge syncs: Knowledge Items, tasks (.agent/tasks.md), lessons learned (.agent/memory/), rules, skills, workflows, and session handoffs. Use when: (1) syncing Antigravity knowledge to OpenClaw context, (2) analyzing tasks for next-task recommendations, (3) running cross-agent self-improve (updates both systems), (4) checking what Antigravity sessions produced, (5) user says "sync antigravity", "pick task", "what did antigravity do", "bridge sync", or "antigravity status". NOT for: primary coding (use Antigravity), model/provider config, or starting the IDE (use `agy` CLI).

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/heintonny/antigravity-bridge
Or

Antigravity Bridge

Bidirectional knowledge bridge between OpenClaw and Google Antigravity IDE. Both agents share the same knowledge, tasks, and learnings — no manual sync needed.

Prerequisites

  • Google Antigravity IDE installed (with ~/.gemini/antigravity/ directory)
  • A project with .agent/ directory (Antigravity's standard agent config)
  • Python 3.10+ (for sync scripts)

Configuration

Before first use, create a config file:

python3 "$(dirname "$0")/scripts/configure.py"

Or create ~/.openclaw/antigravity-bridge.json manually:

{
  "knowledge_dir": "~/.gemini/antigravity/knowledge",
  "project_dir": "~/path/to/your/project",
  "agent_dir": "~/path/to/your/project/.agent",
  "gemini_md": "~/path/to/your/project/.gemini/GEMINI.md",
  "auto_commit": false
}

Sync Command — The Core Workflow

Running the sync

python3 scripts/sync_knowledge.py

This outputs structured JSON to stdout with two sections:

  • diff — what changed since last sync (or "first sync" if no previous state)
  • current — full snapshot of current Antigravity state

State is tracked in ~/.openclaw/workspace/antigravity-sync-state.json.

Agent responsibilities after sync

The agent (not the script) is responsible for updating OpenClaw memory.

After running the sync script, the agent MUST:

  1. Read the JSON output, focusing on the diff section
  2. If diff.is_first_sync is true or diff.summary shows changes:
    • Update MEMORY.md with significant changes:
      • Task count changes (done/todo deltas)
      • New or removed KI topics
      • New active tasks or phase changes
      • New lessons learned (from memory files)
    • Append a sync log entry to memory/YYYY-MM-DD.md:
      HH:MM — Antigravity Bridge sync: <diff.summary>
      
  3. If diff.summary is "No changes since last sync":
    • No updates needed. Optionally log the sync attempt.

What goes where

Change typeTargetWhat to write
Task count deltasMEMORY.md → CodePact sectionUpdate done/todo counts
New active [>] tasksMEMORY.md → Current PhaseReplace active task info
New KI topicsMEMORY.md → CodePact sectionNote new topic names
New memory/lessons filesMEMORY.md → relevant sectionSummarize key lessons
New rules/skills/workflowsMEMORY.md → CodePact sectionUpdate inventory counts
Session handoff changesMEMORY.md → CodePact sectionNote current handoff context
Any sync eventmemory/YYYY-MM-DD.mdTimestamped log entry

What NOT to do

  • Do NOT create standalone reference docs (no ANTIGRAVITY.md, no antigravity-sync.md)
  • Do NOT dump raw sync data into files — distill into MEMORY.md
  • Do NOT ask the user whether to update MEMORY.md — just do it

Other Commands

Diff Tasks (diff)

Show what changed in tasks since last sync:

python3 scripts/diff_tasks.py

Metadata

Author@heintonny
Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-heintonny-antigravity-bridge": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.