migrate

migrate is a command for coding agents from yuting0624/antigravity-for-claude-code. It costs 30 tokens per session (435 once invoked), scanned B, original, MIT.

A command for moving an existing Claude Code setup to the Antigravity command-line tool. It handles items such as skills, memory, configuration, tool connections, plugins, and permissions.

In plain words
What is it for?
Use it to preview a migration, review warnings and required options, apply an approved migration, or reverse it. Conversation history is not migrated.
Why use it?
It explains what can be transferred directly, what must be converted, and which parts need a human decision before anything is changed.

Command

Part of the antigravity plugin — 2 skills, 10 commands, 1 agent, 2 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/yuting0624/antigravity-for-claude-code/migrate
Clone the repo
git clone --depth 1 https://github.com/yuting0624/antigravity-for-claude-code

Or install antigravity, the plugin that ships this one along with the rest of its 2 skills, 10 commands, 1 agent, 2 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

README.md
[![agentmods](https://agentmods.dev/badge/commands/yuting0624/antigravity-for-claude-code/migrate.svg)](https://agentmods.dev/commands/yuting0624/antigravity-for-claude-code/migrate)
Your own site
<a href="https://agentmods.dev/commands/yuting0624/antigravity-for-claude-code/migrate"><img src="https://agentmods.dev/badge/commands/yuting0624/antigravity-for-claude-code/migrate.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 435 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00030 $0.00435
Opus 5 $0.00015 $0.00217
Sonnet 5 $0.00006 $0.00087
Haiku 4.5 $0.00003 $0.00044

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

Security

Grade B, and why

migrate scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

project, which is why the tool registers repos in `~/.gemini/config/projects/`.
commands/migrate.md · 35 lines

What it actually says

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.

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 · 35 lines · 30 tokens per session scan B 3815acc041d4

Subscribe to this mod's changes

migrate is a command published in the GitHub repository yuting0624/antigravity-for-claude-code (305 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 435 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.