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.
npx agentmods add commands/yuting0624/antigravity-for-claude-code/migrategit clone --depth 1 https://github.com/yuting0624/antigravity-for-claude-codeWrote 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.
[](https://agentmods.dev/commands/yuting0624/antigravity-for-claude-code/migrate)<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>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.
| Model | Per session | Once 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 |
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/`. 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 viaskills.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-permissionsis passed, because Claude's allow-list stores whole command lines and collapsing them tocommand()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 --applyreverses 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.
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.
- 4d ago First seen · 35 lines · 30 tokens per session scan B 3815acc041d4
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.
Other commands, from other repositories
notebook-graph
Turn a notebook knowledge base into a knowledge GRAPH — a node-link graph.json + a self-contained interactive graph.html — with NO agy calls and NO extra deps. Derives edges from entity co-occurrence within documents (works even though agy rarely emits explicit relations) plus any explicit relations. See who/what…
agy
Delegate any task to agy (Google Antigravity CLI) — auto-selects model by task type.
setup-video-vision
Interactive setup wizard for claude-video-vision — configure backend, whisper, frames, and verify dependencies.
learn
Force claude-smart to extract learnings from this session now.
notebook-query
Query the notebook knowledge base (SQLite) built by /agy:notebook — precise, grounded, cited. Ask in natural language ("sum the amounts by category", "which docs mention 'Acme Corp'", "build a project timeline") or pass raw SQL. Read-only. Use this when you need exact aggregates/lookups across a document corpus…
record
Record a browser walkthrough of a URL using Antigravity (agy). Generates .webm video, screenshots, and a report. Auto-converts to MP4 if ffmpeg is available.