migrate-google

migrate-google is a command for coding agents from xiaolai/cc-suite. It costs 19 tokens per session (921 once invoked), scanned C, original, ISC.

A migration command for moving an existing Gemini CLI setup to Antigravity CLI and connecting it to the cc-suite workspace. Gemini CLI and Antigravity CLI are command-line tools for working with AI coding assistants.

In plain words
What is it for?
Use it to inspect Gemini CLI files, import legacy extensions or configuration when appropriate, and establish the new workspace bridge. It supports skipping the import or keeping legacy files.
Why use it?
It checks the old setup and makes the move cautiously, while allowing legacy files to be retained and enterprise access to remain an explicit choice.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the cc-suite plugin — 13 skills, 39 commands, 4 agents, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/xiaolai/cc-suite/migrate-google
Clone the repo
git clone --depth 1 https://github.com/xiaolai/cc-suite

Or install cc-suite, the plugin that ships this one along with the rest of its 13 skills, 39 commands, 4 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-google

README.md
[![agentmods](https://agentmods.dev/badge/commands/xiaolai/cc-suite/migrate-google.svg)](https://agentmods.dev/commands/xiaolai/cc-suite/migrate-google)
Your own site
<a href="https://agentmods.dev/commands/xiaolai/cc-suite/migrate-google"><img src="https://agentmods.dev/badge/commands/xiaolai/cc-suite/migrate-google.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.00921
Opus 5 $0.00010 $0.00461
Sonnet 5 $0.00004 $0.00184
Haiku 4.5 $0.00002 $0.00092

Measured 4d ago against content hash 1c4038cc6abf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

migrate-google scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://antigravity.google/cli/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://antigravity.google/cli/install.sh | bash
commands/migrate-google.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate Google CLI Integration

Use this command once when moving an existing project from Gemini CLI to Antigravity CLI (agy). It is intentionally conservative: custom legacy files are not deleted automatically, and enterprise Gemini access remains an explicit user choice.

User Input

$ARGUMENTS

Parse $ARGUMENTS for these optional flags before running Step 1:

Flag Effect
--skip-import Skip Step 2 entirely — do not import legacy extensions or global configuration
--keep-legacy Retain every legacy GEMINI.md / .gemini/ file and report them as kept rather than as remaining
(neither) Run all four steps and prompt at the Step 2 import decision

Step 1: Inspect the legacy setup

Check for gemini on PATH, GEMINI.md, .gemini/, and existing .agents/ assets. Do not print credentials or the contents of global configuration files.

If agy is not installed, stop and show the official install command:

curl -fsSL https://antigravity.google/cli/install.sh | bash

Step 2: Import legacy extensions when present

If legacy Gemini extensions or global configuration are detected, ask:

AskUserQuestion:
  question: "Import the detected Gemini CLI extensions/configuration into Antigravity?"
  header: "Import legacy"
  options:
    - label: "Import (Recommended)"
      description: "Run agy's official migration and convert supported extensions, skills, commands, and MCP entries"
    - label: "Skip import"
      description: "Create the cc-suite workspace bridge without changing global Google configuration"
    - label: "Cancel"
      description: "Make no changes"

If confirmed, run the official migration command:

agy plugin import gemini

This command may update the user's global Antigravity configuration. Report its output and stop if it fails.

--skip-import skips this step. --keep-legacy is the default and documents that custom GEMINI.md/.gemini/ content is retained for enterprise users.

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 121 lines · 19 tokens per session scan C 1c4038cc6abf

Subscribe to this mod's changes

migrate-google is a command published in the GitHub repository xiaolai/cc-suite (45 stars, last pushed yesterday), licensed ISC. It adds 19 tokens to every session and 921 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.