/migrate
Migrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI.
> /plugin marketplace add yuting0624/antigravity-for-claude-code > /plugin install antigravity@antigravity-for-claude-code
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/migrate
Context preview
What this command does when you run it.
Migrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI.
Command definition
migrate.mddescription: Migrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI.
argument-hint: "[--apply] [--include-repos] [--apply-permissions] [--uninstall]"
Migrate this machine's Claude Code configuration to Antigravity (`agy`).
Run the tool in **dry-run first, always**:
`agy-migrate $ARGUMENTS`
Then read the report back to the user, grouped by unit, and explain:
- What will be **linked live** (skills stay in `~/.claude/skills`; Antigravity reads
them in place via `skills.json`) versus **generated** (memory, MCP, permissions — these need a format change, so they become new files).
- Anything marked `⚠`. Do not gloss over these; they are the parts that need a human
decision. In particular: permissions are only ever written as a *proposal* unless `--apply-permissions` is passed, because Claude's allow-list stores whole command lines and collapsing them to `command()` prefixes always widens the grant.
- Anything marked `needs-flag`, and the exact flag that would include it.
Only run with `--apply` after the user has seen the dry-run and agreed. Then tell them:
- the backup path the tool printed, and that `agy-migrate --uninstall --apply` reverses it;
- that session history (`~/.claude/projects/*.jsonl`) is **not** migrated and cannot be —
Antigravity stores conversations as protobuf blobs inside per-conversation SQLite files;
- that workspace rules under `.agents/` only load when the session is bound to an agy
project, which is why the tool registers repos in `~/.gemini/config/projects/`.
If the user is only asking what *would* move, stop at the dry-run — do not apply.
For the full compatibility matrix and the reasons behind each mapping, read `docs/MIGRATION.md` in this plugin.
Read more
description: Migrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI. argument-hint: "[--apply] [--include-repos] [--apply-permissions] [--uninstall]"
Migrate this machine's Claude Code configuration to Antigravity (`agy`).
Run the tool in **dry-run first, always**:
`agy-migrate $ARGUMENTS`
Then read the report back to the user, grouped by unit, and explain:
- What will be **linked live** (skills stay in `~/.claude/skills`; Antigravity reads
them in place via `skills.json`) versus **generated** (memory, MCP, permissions — these need a format change, so they become new files).
- Anything marked `⚠`. Do not gloss over these; they are the parts that need a human
decision. In particular: permissions are only ever written as a *proposal* unless `--apply-permissions` is passed, because Claude's allow-list stores whole command lines and collapsing them to `command()` prefixes always widens the grant.
- Anything marked `needs-flag`, and the exact flag that would include it.
Only run with `--apply` after the user has seen the dry-run and agreed. Then tell them:
- the backup path the tool printed, and that `agy-migrate --uninstall --apply` reverses it;
- that session history (`~/.claude/projects/*.jsonl`) is **not** migrated and cannot be —
Antigravity stores conversations as protobuf blobs inside per-conversation SQLite files;
- that workspace rules under `.agents/` only load when the session is bound to an agy
project, which is why the tool registers repos in `~/.gemini/config/projects/`.
If the user is only asking what *would* move, stop at the dry-run — do not apply.
For the full compatibility matrix and the reasons behind each mapping, read `docs/MIGRATION.md` in this plugin.
Run the Antigravity CLI (Gemini) as a collaborating sub-agent, right inside Claude Code. Claude conducts the judgement; Gemini does the heavy lifting — intelligent model routing across the SDLC.
Other commands on antigravity.
cloud-run-debug
Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers the root cause and proposes a fix. Read-only by…
delegate
Delegate a well-scoped subtask to Antigravity (agy/Gemini) under cost discipline, then verify.
media
Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a timestamped digest while the full transcript goes…
research
Claude-orchestrated deep research — Antigravity (agy/Gemini) does the grounded web legwork; Claude plans, verifies the citations, and synthesizes.
result
Fetch the output of a finished background Antigravity (agy) job, then verify it.

