Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

antigravity-bridge反重力桥

Agent Skill

antigravity-bridge 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

15,408

周安装

642

GitHub Stars

1

下载量

5,136
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:antigravity-bridge(反重力桥)
来源仓库:https://github.com/heintonny/antigravity-bridge
安装命令:
openclaw skills install antigravity-bridge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install antigravity-bridge

简介

antigravity-bridge 将 Google Antigravity IDE 的 .md 文档单向同步至 OpenClaw 空间。

  • 适用于需要迁移历史知识库或参考旧项目资料的用户场景。
  • 仅传输 Markdown 文件,不包含代码或其他二进制资产。
  • 使用前请确认目标路径可写且空间充足,避免同步中断。
  • 建议定期检查源仓库更新,保持知识同步时效性。

SKILL.md

name
antigravity-bridge
version
2.0.1
description
One-directional knowledge bridge from Google Antigravity IDE to OpenClaw. Syncs only .md documentation files from Antigravity projects into OpenClaw workspace for native vector indexing. No secrets, credentials, or binary state are synced — rsync filters enforce .md-only transfer. Supports multiple projects.
author
heintonny
metadata
{"openclaw":{"emoji":"🌉","tags":["antigravity","gemini","knowledge-sync","multi-agent","bridge","ide","sync"],"requires":{"bins":["rsync","yq"]},"install":[{"id":"yq","kind":"brew","package":"yq","bins":["yq"],"label":"Install yq YAML parser"},{"id":"rsync","kind":"system","package":"rsync","bins":["rsync"],"label":"rsync (usually pre-installed)"}]}}

Antigravity Bridge

One-directional knowledge bridge from Google Antigravity IDE to OpenClaw.

Syncs .md files from your Antigravity/Gemini projects into the OpenClaw workspace, where they are natively embedded and indexed for memory_search. No MEMORY.md dumping, no custom state tracking — just files on disk, indexed automatically.

When to Use

  • User says "sync antigravity", "bridge sync", "pull antigravity docs"
  • You need cross-project awareness of Antigravity-managed context
  • After an Antigravity session, to surface new decisions/rules/tasks to OpenClaw
  • Scheduled (cron) to keep the knowledge fresh automatically

When NOT to Use

  • Primary coding work (use Antigravity for that — it has IDE, LSP, deep code awareness)
  • Writing back to Antigravity projects (this is one-way only: Antigravity → OpenClaw)
  • Querying the synced knowledge (just use memory_search — the files are already indexed)

Architecture

Antigravity IDE                  OpenClaw Workspace
─────────────────                ─────────────────────────────
~/repo/acme-corp/acme-platform/
  .agent/memory/       ──rsync──► antigravity/acme-platform/
  .agent/rules/        ──rsync──►   .agent/memory/
  .agent/skills/       ──rsync──►   .agent/rules/
  .agent/sessions/     ──rsync──►   .agent/skills/
  .agent/tasks.md      ──rsync──►   .agent/sessions/
  .gemini/GEMINI.md    ──rsync──►   .agent/tasks.md
  docs/                ──rsync──►   .gemini/GEMINI.md
  *.md (root)          ──rsync──►   docs/
                                    *.md (root)
~/.gemini/antigravity/
  knowledge/           ──rsync──► antigravity/gemini-knowledge/
─────────────────                ─────────────────────────────
                                         │
                                  OpenClaw native embedder
                                  (memorySearch.extraPaths)
                                         │
                                  memory_search queries ✓

Key design decisions:

  • Files land in antigravity/<project-name>/ under the OpenClaw workspace destination
  • OpenClaw's native embedder indexes them automatically via memorySearch.extraPaths
  • sync.sh is idempotent — safe to run repeatedly or on cron
  • Source paths that don't exist are skipped gracefully (no failure)

Setup Guide

Step 1: Prerequisites

# rsync (usually pre-installed on macOS/Linux)
rsync --version

# yq — YAML parser (required)
brew install yq          # macOS
# or: sudo apt install yq   # Ubuntu/Debian
# or: snap install yq       # Ubuntu snap
yq --version

Step 2: Copy the config template

cp ~/.openclaw/workspace/skills/antigravity-bridge/config-template.yaml \
   ~/.openclaw/workspace/antigravity-bridge.yaml

Step 3: Edit the config

Open ~/.openclaw/workspace/antigravity-bridge.yaml and configure your projects:

projects:
  - name: acme-platform
    repo: ~/repo/acme-corp/acme-platform
    paths:
      - .agent/memory
      - .agent/rules
      - .agent/skills
      - .agent/tasks.md
      - .gemini/GEMINI.md
      - docs
    include_root_md: true

knowledge:
  - name: gemini-knowledge
    path: ~/.gemini/antigravity/knowledge

destination: antigravity
  • projects — list of Antigravity-managed repos
  • knowledge — standalone knowledge directories (e.g. Gemini's global knowledge store)
  • destination — subfolder within the OpenClaw workspace (default: antigravity)

Step 4: Configure OpenClaw extraPaths

Tell OpenClaw to index the synced directory. In your OpenClaw config (~/.openclaw/config.yaml or equivalent), add:

memorySearch:
  extraPaths:
    - ~/path/to/openclaw/workspace/antigravity

Replace with the actual workspace path. After saving, restart OpenClaw or reload memory indexing.

Step 5: Test with --dry-run

~/.openclaw/workspace/skills/antigravity-bridge/sync.sh --dry-run --verbose

You'll see what *would* be synced without touching anything.

Step 6: Run for real

~/.openclaw/workspace/skills/antigravity-bridge/sync.sh --verbose

Step 7: Verify with memory_search

After syncing, query OpenClaw memory to confirm indexing:

memory_search: "acme-platform agent rules"
memory_search: "GEMINI.md"

If results come back from the synced files, the bridge is working.


Config Reference

# ~/.openclaw/workspace/antigravity-bridge.yaml

projects:
  - name: <string>          # Identifier — used as subfolder name
    repo: <path>            # Root of the Antigravity project (~ expanded)
    paths:                  # List of paths relative to repo root
      - .agent/memory       # Directory → recursively sync *.md
      - .agent/tasks.md     # Single file → synced directly
      - docs                # Directory → recursively sync *.md
    include_root_md: true   # Also sync *.md files at repo root (optional, default: false)

knowledge:
  - name: <string>          # Identifier — used as subfolder name
    path: <path>            # Source path to rsync *.md from (~ expanded)

destination: antigravity    # Target subfolder in OpenClaw workspace
                            # Full path: <workspace>/<destination>/

Path types:

  • Directory — rsync runs with --include='*.md' --exclude='*' recursively
  • Single file — rsync copies the file directly (must end in .md)

Missing sources: If a configured path doesn't exist, sync.sh logs a warning and skips it. Other paths continue normally. Exit code remains 0.


CLI Reference

sync.sh [options]

Options:
  --config <path>      Config file (default: ~/.openclaw/workspace/antigravity-bridge.yaml)
  --project <name>     Sync only this project (by name)
  --dry-run            Show what would be synced, without making changes
  --verbose            Show rsync output and detailed progress
  --help               Show this help

Examples:

# Sync everything
sync.sh

# Sync one project only
sync.sh --project acme-platform

# Preview without touching files
sync.sh --dry-run --verbose

# Use a custom config
sync.sh --config ~/my-bridge.yaml

Cron Integration

Add to crontab (crontab -e) for automatic syncing:

# Antigravity Bridge — hourly during business hours (Mon-Fri, 08:00-18:00)
0 8-18 * * 1-5 ~/.openclaw/workspace/skills/antigravity-bridge/sync.sh >> ~/.openclaw/logs/antigravity-bridge.log 2>&1

# Nightly full sync (all days, 02:00)
0 2 * * * ~/.openclaw/workspace/skills/antigravity-bridge/sync.sh --verbose >> ~/.openclaw/logs/antigravity-bridge.log 2>&1

Create the log directory first:

mkdir -p ~/.openclaw/logs

Troubleshooting

yq: command not found Install yq: brew install yq (macOS) or see https://github.com/mikefarah/yq

Config file not found Copy the template: cp config-template.yaml ~/.openclaw/workspace/antigravity-bridge.yaml

rsync: command not found Install rsync: brew install rsync (macOS) or sudo apt install rsync

No results from memory_search

  • Check that memorySearch.extraPaths includes the destination folder
  • Restart OpenClaw after changing extraPaths
  • Verify files landed in the right place: ls ~/.openclaw/workspace/antigravity/

Files not updating

  • Run with --verbose to see rsync output
  • Check source paths exist: ls ~/repo/acme-corp/acme-platform/.agent/memory/

Wrong files synced

  • Only .md files are synced (rsync filter: --include='*.md' --exclude='*')
  • To sync other file types, edit sync.sh patterns

Security & Privacy

  • All data stays local. No external API calls, no cloud sync, no network access.
  • Only .md files are synced. rsync filters (--filter='+ *.md' --filter='- *') enforce markdown-only transfer. No secrets, credentials, API keys, binary state, session tokens, or config files are ever copied.
  • .agent/ and .gemini/ directories are Antigravity's documentation folders containing markdown notes about rules, tasks, memory, and project context. They do not contain credentials or sensitive runtime state — those are stored elsewhere by the IDE.
  • sync.sh only reads from user-configured source paths and writes to a designated OpenClaw workspace subfolder.
  • No credentials or tokens required to run.
  • Safe to run with --dry-run to inspect behavior before committing.
  • Dependencies: rsync (system), yq (YAML parser) — both declared in manifest metadata.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.1%
按下载量换算4,371

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills