Skip to content
Development
Command

/migrate

Migrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI.

From plugin
antigravity
33310 skills1 agent10 commands2 hooks
Install
> /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.md
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.

Read more
Ships withantigravity

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.

Get the whole plugin
Stats
343
Stars
31
Forks
Active
Maintenance
Shell
Language
MIT
License
2h ago
Last commit
2mo ago
Created

Repo: yuting0624/antigravity-for-claude-code

Other commands on antigravity.