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).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/heintonny/antigravity-bridgeAntigravity 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:
- Read the JSON output, focusing on the
diffsection - If
diff.is_first_syncis true ordiff.summaryshows changes:- Update
MEMORY.mdwith 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>
- Update
- If
diff.summaryis "No changes since last sync":- No updates needed. Optionally log the sync attempt.
What goes where
| Change type | Target | What to write |
|---|---|---|
| Task count deltas | MEMORY.md → CodePact section | Update done/todo counts |
New active [>] tasks | MEMORY.md → Current Phase | Replace active task info |
| New KI topics | MEMORY.md → CodePact section | Note new topic names |
| New memory/lessons files | MEMORY.md → relevant section | Summarize key lessons |
| New rules/skills/workflows | MEMORY.md → CodePact section | Update inventory counts |
| Session handoff changes | MEMORY.md → CodePact section | Note current handoff context |
| Any sync event | memory/YYYY-MM-DD.md | Timestamped 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-heintonny-antigravity-bridge": {
"enabled": true,
"auto_update": true
}
}
}