{
  "schemaVersion": "1.0",
  "item": {
    "slug": "antigravity-rotator",
    "name": "Publish Antigravity Rotator",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ChocomintX/antigravity-rotator",
    "canonicalUrl": "https://clawhub.ai/ChocomintX/antigravity-rotator",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/antigravity-rotator",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=antigravity-rotator",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "assets/config.example.json",
      "assets/crontab.sample.txt",
      "index.js",
      "package.json",
      "scripts/dashboard.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/antigravity-rotator"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/antigravity-rotator",
    "agentPageUrl": "https://openagent3.xyz/skills/antigravity-rotator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/antigravity-rotator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/antigravity-rotator/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Antigravity Rotator (反重力轮换器) 🚀",
        "body": "本 Skill 旨在为 OpenClaw 提供一套确定性的 Google Antigravity 模型运维工作流。它将复杂的配额监控与自动化调度封装为简单的 Action。"
      },
      {
        "title": "🎯 触发场景 (When to use)",
        "body": "当用户拥有多个 Antigravity 账号且希望自动最大化利用配额时。\n当主账号配额耗尽，需要无感切换（不重启会话）到备用账号时。\n当需要实时可视化监控所有账号状态和轮换历史时。"
      },
      {
        "title": "1. 环境初始化 (必须执行)",
        "body": "进入 Skill 目录并运行 setup 脚本：\n\ncd skills/antigravity-rotator\nnode index.js --action=setup\n\n作用：自动探测 openclaw 和 node 路径，并生成适配你系统的 config.json。"
      },
      {
        "title": "2. 启动管理看板",
        "body": "node index.js --action=dashboard\n\n地址：http://localhost:18090\n初始化账号：进入页面点击右上角 “同步凭证”，脚本会自动扫描并加载你已通过 openclaw models auth login 登录的账号。"
      },
      {
        "title": "3. 配置定时任务 (Cron)",
        "body": "为了让轮换全自动运行，必须在系统 crontab 中配置驱动：\n\n# 每 10 分钟自动检查一次\n*/10 * * * * [NODE_PATH] [SKILL_PATH]/index.js --action=rotate >> [LOG_PATH]/cron-rotate.log 2>&1\n\n注：具体的路径请参考 node index.js --action=setup 运行后的输出结果。"
      },
      {
        "title": "📝 核心配置项详解 (config.json)",
        "body": "参数类型说明openclawBinString关键。openclaw 的绝对路径。modelPriorityArray轮换优先级列表。排在前面的模型会被优先尝试。quotas.lowNumber触发轮换的余量百分比阈值（建议 21）。clientIdString(高级) Google OAuth 客户端 ID。默认为 Antigravity 通用 ID。clientSecretString(高级) Google OAuth 客户端密钥。defaultProjectIdString(高级) Google 项目 ID，影响配额查询接口。"
      },
      {
        "title": "🌟 核心特性",
        "body": "会话热更新：利用 OpenClaw Gateway API，在后台悄悄更换模型，用户正在进行的对话完全不受影响。\n自动 Token 刷新：内置 Token 刷新逻辑，确保长期运行无需手动重新登录。\n模型激活 (Warmup)：自动识别并激活“满血”但在计时外的模型，消除初次切换的延迟。\n透明化日志：看板实时展示轮换原因（如：调度更优模型、当前余量不足等）。"
      },
      {
        "title": "🤖 开发者资源",
        "body": "入口: index.js\n逻辑引擎: scripts/rotator.js (配额查询与账号调度)\nWeb UI: scripts/dashboard.js (基于 http 模块的极简服务器)\n模板: assets/ 文件夹下包含详细的 JSON 模板和 Cron 示例。\n\nAntigravity Rotator - 你的 Antigravity 永不宕机 🥵"
      }
    ],
    "body": "Antigravity Rotator (反重力轮换器) 🚀\n\n本 Skill 旨在为 OpenClaw 提供一套确定性的 Google Antigravity 模型运维工作流。它将复杂的配额监控与自动化调度封装为简单的 Action。\n\n🎯 触发场景 (When to use)\n当用户拥有多个 Antigravity 账号且希望自动最大化利用配额时。\n当主账号配额耗尽，需要无感切换（不重启会话）到备用账号时。\n当需要实时可视化监控所有账号状态和轮换历史时。\n🛠️ 快速部署流程 (Quick Start)\n1. 环境初始化 (必须执行)\n\n进入 Skill 目录并运行 setup 脚本：\n\ncd skills/antigravity-rotator\nnode index.js --action=setup\n\n\n作用：自动探测 openclaw 和 node 路径，并生成适配你系统的 config.json。\n\n2. 启动管理看板\nnode index.js --action=dashboard\n\n地址：http://localhost:18090\n初始化账号：进入页面点击右上角 “同步凭证”，脚本会自动扫描并加载你已通过 openclaw models auth login 登录的账号。\n3. 配置定时任务 (Cron)\n\n为了让轮换全自动运行，必须在系统 crontab 中配置驱动：\n\n# 每 10 分钟自动检查一次\n*/10 * * * * [NODE_PATH] [SKILL_PATH]/index.js --action=rotate >> [LOG_PATH]/cron-rotate.log 2>&1\n\n\n注：具体的路径请参考 node index.js --action=setup 运行后的输出结果。\n\n📝 核心配置项详解 (config.json)\n参数\t类型\t说明\nopenclawBin\tString\t关键。openclaw 的绝对路径。\nmodelPriority\tArray\t轮换优先级列表。排在前面的模型会被优先尝试。\nquotas.low\tNumber\t触发轮换的余量百分比阈值（建议 21）。\nclientId\tString\t(高级) Google OAuth 客户端 ID。默认为 Antigravity 通用 ID。\nclientSecret\tString\t(高级) Google OAuth 客户端密钥。\ndefaultProjectId\tString\t(高级) Google 项目 ID，影响配额查询接口。\n🌟 核心特性\n会话热更新：利用 OpenClaw Gateway API，在后台悄悄更换模型，用户正在进行的对话完全不受影响。\n自动 Token 刷新：内置 Token 刷新逻辑，确保长期运行无需手动重新登录。\n模型激活 (Warmup)：自动识别并激活“满血”但在计时外的模型，消除初次切换的延迟。\n透明化日志：看板实时展示轮换原因（如：调度更优模型、当前余量不足等）。\n🤖 开发者资源\n入口: index.js\n逻辑引擎: scripts/rotator.js (配额查询与账号调度)\nWeb UI: scripts/dashboard.js (基于 http 模块的极简服务器)\n模板: assets/ 文件夹下包含详细的 JSON 模板和 Cron 示例。\n\nAntigravity Rotator - 你的 Antigravity 永不宕机 🥵"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ChocomintX/antigravity-rotator",
    "publisherUrl": "https://clawhub.ai/ChocomintX/antigravity-rotator",
    "owner": "ChocomintX",
    "version": "1.1.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/antigravity-rotator",
    "downloadUrl": "https://openagent3.xyz/downloads/antigravity-rotator",
    "agentUrl": "https://openagent3.xyz/skills/antigravity-rotator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/antigravity-rotator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/antigravity-rotator/agent.md"
  }
}