Agent skill

Migrate To Antigravity

by yuting0624 in yuting0624/antigravity-for-claude-code

Move an existing Claude Code setup onto the Antigravity CLI (agy) — user skills, CLAUDE.md, auto-memory, MCP servers, installed plugins, permissions and trusted workspaces.

MITAuto-check passedAgent Workflows

Install Migrate To Antigravity

skills CLI
$ npx skills add yuting0624/antigravity-for-claude-code --skill migrate-to-antigravity -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yuting0624/antigravity-for-claude-code migrate-to-antigravity --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yuting0624/antigravity-for-claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/migrate-to-antigravity .claude/skills/migrate-to-antigravity && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migrate-to-antigravity
GitHub stars
375
Token cost
~2k tokens
SKILL.md length
892 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Move an existing Claude Code setup onto the Antigravity CLI (agy) — user skills, CLAUDE.md, auto-memory, MCP servers, installed plugins, permissions and trusted workspaces.

  • Works in 4 steps: A rule without trigger: always_on is… → **Workspace .agents/ only loads when the… → ~/ is not expanded in the global… → …
  • The user says migrate to Antigravity
  • SKILL.md covers Where the two products keep…, What moves, and how, Four behaviours that will bite… and What the native importer gets…, plus 2 more sections
  • Calls claude

What it does

Migrate To Antigravity is an agent skill from yuting0624/antigravity-for-claude-code. Move an existing Claude Code setup onto the Antigravity CLI (agy) — user skills, CLAUDE.md, auto-memory, MCP servers, installed plugins, permissions and trusted workspaces. Use when the user says "migrate to Antigravity", "move my Claude Code config to agy", "bring my skills/memory/MCP over", "set up agy like my Claude Code", "agy plugin import claude found nothing", or asks what can and cannot be carried across. Also use to explain the two config layouts, or to reverse a migration.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers and Agent instruction files. It works with Model Context Protocol and Google Gemini. The repository describes itself as: Claude Code plugin: run the Antigravity CLI (Gemini) as a collaborating sub-agent with intelligent model routing across the SDLC. Community project; not affiliated with… The licence is MIT.

When your agent uses it

  • The user says migrate to Antigravity
  • Move my Claude Code config to agy
  • Bring my skills/memory/MCP over
  • Set up agy like my Claude Code

Example prompts

  • “migrate to Antigravity”
  • “move my Claude Code config to agy”
  • “bring my skills/memory/MCP over”
  • “/migrate-to-antigravity”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. A rule without trigger: always_on is silently ignored. No error, no warning.
  2. **Workspace .agents/ only loads when the session is bound to an agy project —
  3. ~/ is not expanded in the global skills.json. Entry paths must be absolute.
  4. Rules and workflows are capped at 12,000 characters per file. Oversized memory

What it can do on your machine

Read from SKILL.md and the folder at commit 9d43d98. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migrate To Antigravity loads about 2k tokens when it runs. Until then it costs about 128 tokens; SKILL.md has 892 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~128
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yuting0624/antigravity-for-claude-code at commit 9d43d98, republished under its MIT licence (© yuting0624). 892 words, ~1,967 tokens.

Download SKILL.mdSave it as .claude/skills/migrate-to-antigravity/SKILL.md (or your agent's skills folder).
name
migrate-to-antigravity
description
Move an existing Claude Code setup onto the Antigravity CLI (agy) — user skills, CLAUDE.md, auto-memory, MCP servers, installed plugins, permissions and trusted workspaces. Use when the user says "migrate to Antigravity", "move my Claude Code config to agy", "bring my skills/memory/MCP over", "set up agy like my Claude Code", "agy plugin import claude found nothing", or asks what can and cannot be carried across. Also use to explain the two config layouts, or to reverse a migration.
version
0.23.0

Migrating Claude Code → Antigravity CLI

Run agy-migrate (dry-run) → read the report → agy-migrate --apply. agy-migrate --uninstall --apply reverses everything.

The tool treats the Claude Code config dir as read-only. The single exception is an AGENTS.md symlink placed beside an existing CLAUDE.md, and only under --include-repos.


Where the two products keep things

Claude Code — ~/.claude/ plus ~/.claude.json, relocatable together via CLAUDE_CONFIG_DIR. Two things surprise people: there is usually no ~/.claude/CLAUDE.md, and auto-memory is per project, under ~/.claude/projects/<encoded-cwd>/memory/. The encoding maps /, _ and . all to -, so it can only be matched forward (re-encode a known path), never decoded.

Claude Desktop / Cowork is a separate universe. It has its own ~/Library/Application Support/Claude/claude_desktop_config.json (MCP) and Claude Extensions/ (.mcpb), and its Cowork skills are server-synced into local-agent-mode-sessions/skills-plugin/, so no local original exists to migrate. Only claude_desktop_config.json's mcpServers is portable, and the tool picks it up. The bundled claude-code/<version>/claude.app inside the desktop app is the ordinary CLI and does read ~/.claude.

Antigravity — rooted at ~/.gemini/, not ~/.antigravity:

PathShared by
~/.gemini/config/ — mcp_config.json, skills/, plugins/, skills.json, projects/CLI and both desktop apps
~/.gemini/antigravity-cli/settings.jsonagy only
~/.gemini/{antigravity-cli,antigravity,antigravity-ide}/ — conversations, brain, knowledgeeach surface separately

So customization is shared across surfaces; session state is not.


What moves, and how

AssetMechanismNotes
User skillslive — skills.json entry pointing at ~/.claude/skillsno copy; edits show up on both sides
Installed pluginsnative agy plugin import claude, run in a staging HOMEoutput is then repaired (below)
CLAUDE.mdsymlink AGENTS.md → CLAUDE.md--include-repos; both are plain Markdown. Git repositories only — a CLAUDE.md elsewhere is reported as skipped, and package caches are never scanned
Auto-memorygenerated rulesglobal → a plugin's rules/; per-repo → <repo>/.agents/rules/
MCP serversmerged + translated into mcp_config.jsonurl/httpUrl → serverUrl, type dropped
Trusted projectstrustedWorkspacesthe one clean settings mapping
Permissionsproposal only by defaultsee the warning below
Cannot move

Session transcripts. Claude Code writes plain JSONL; Antigravity writes one SQLite database per conversation whose payloads are opaque protobuf blobs (steps.metadata, gen_metadata.data, …). There is no supported writer. Also unmovable: tasks/, plans/, file-history/, jobs/, and credentials (different auth systems entirely — never copy these).


Four behaviours that will bite you

These are measured against agy 1.1.12, and none of them are documented.

  1. A rule without trigger: always_on is silently ignored. No error, no warning. Only bare AGENTS.md / GEMINI.md are always-on without frontmatter. Migrated memory is therefore rewritten with frontmatter, never stripped of it.
  2. Workspace .agents/ only loads when the session is bound to an agy project — and registering one is not enough for headless runs. agy -p always uses the id in antigravity-cli/cache/default_project_id.txt (default-cli-project out of the box) regardless of cwd. The tool registers each repo and prints the id; run agy --project <id> there, or pick the project in the TUI. Global ~/.gemini/config/ loads regardless, which is why global memory goes to a plugin.
  3. ~/ is not expanded in the global skills.json. Entry paths must be absolute.
  4. Rules and workflows are capped at 12,000 characters per file. Oversized memory is split into -1.md, -2.md parts on paragraph boundaries.
Show full SKILL.md (396 more words)Show less

What the native importer gets wrong

agy plugin import claude exists and handles skills, agents, commands, hooks and MCP — but:

  • It only scans ~/.claude/plugins/<name>/ one level deep, which no Claude Code 2.x install matches (plugins live under plugins/cache/<marketplace>/<plugin>/<version>/), so on a real machine it prints No claude extensions found. and exits 0. It also does not follow symlinks, so the staging HOME must contain real copies.
  • It destroys remote MCP servers: {"type":"http","url":…} becomes {"command":"","args":null} — the URL is dropped and no serverUrl is written.
  • It copies hooks verbatim. Antigravity's hooks.json is a map of named hooks ({"my-hook": {"PreToolUse": [...]}}), its matchers are step-type names (run_command, not Bash), and it fires only PreToolUse, PostToolUse, PreInvocation, PostInvocation, Stop — SessionStart, SessionEnd, PreCompact, Notification and SubagentStop have no equivalent. ${CLAUDE_PLUGIN_ROOT} is never set, so hook commands referencing it break.

agy-migrate runs the importer anyway (so the output tracks Google's format), then repairs all three and drops the leftovers it copies.

Permissions widen the grant — always review

Claude's permissions.allow stores whole command lines, quoted prompts included, not command prefixes. They cannot map 1:1 onto agy's command(), which matches on a prefix. The tool keeps the executable plus one plain sub-word (Bash(git diff:*) → command(git diff)), absorbs redundant prefixes, and drops entries whose executable position holds a variable or shell metacharacter.

That is strictly a widening. So the result is written to ~/.gemini/.agy-migrate/proposed-permissions.json for review, and merged into settings.json only with --apply-permissions.

Also not migrated, by design: model (no Gemini equivalent for a Claude model id), effortLevel (agy's --effort is a per-session flag, low|medium|high only), and env (Anthropic/Vertex routing that means nothing to agy).


Flags

FlagEffect
(none)dry-run report
--applyperform it; backs up ~/.gemini/config first
--only / --skipplugins,skills,claudemd,memory,mcp,settings
--include-reposwrite into git repos (AGENTS.md, .agents/rules/) — and only into those. Needs git on PATH; without it the run exits 18 rather than calling every repository a non-repository
--include-orphan-memoryfold memory whose source directory no longer exists into global rules
--apply-permissionsactually write the translated allow-list
--no-register-projectsskip agy project registration (workspace rules then stay inert)
--rootsscope for CLAUDE.md and MCP discovery (default: the project paths recorded in ~/.claude.json, or ~ if there are none). The desktop app's claude_desktop_config.json is global and always included.
--jsonmachine-readable plan
--uninstallremove what was generated

Re-running is safe: generated files carry a marker comment, and a file whose marker you deleted is treated as yours and left alone.

© yuting0624, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/migrate-to-antigravity of yuting0624/antigravity-for-claude-code.

Open the folder on GitHubat commit 9d43d98

Compare with similar skills

Migrate To Antigravity next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migrate To Antigravity compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate To Antigravity this skillyuting0624/antigravity-for-claude-code375—~2kAutomated safety check: PassMIT
Agent Setup Health Audittw93/Waza7.2k—~5.2kAutomated safety check: NotesMIT
Gemini SkillWJZ-P/gemini-skill832—~1.1kAutomated safety check: PassMIT
Kst AI Assets Usagepivoshenko/kasetto208—~2.1kAutomated safety check: PassCustom licence
Documentation Serverandrea9293/mcp-documentation-server343—~2.3kAutomated safety check: PassMIT
Semantix GuideGnosil/semantix821—~2.1kAutomated safety check: PassMIT

Similar skills

  • Audits a project's agent configuration, instruction drift, hooks, MCP and AI maintainability, then reports prioritized findings with evidence and next actions.

    7.2k GitHub stars~5.2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Gemini Skill

    WJZ-P/gemini-skill

    通过 Gemini 官网(gemini.google.com)执行生图、对话等操作。用户提到"生图/画图/绘图/nano banana/nanobanana/生成图片"等关键词时触发。操作方式分三级优先级:首选 MCP 工具 → 次选 Skill 脚本 → 最次连接 Skill 浏览器手动操作(需用户授权)。禁止自行启动外部浏览器访问 Gemini。

    832 GitHub stars~1.1k tokensUpdated 22 days ago
    Agent WorkflowsAuto-check passed
  • Kst AI Assets Usage

    pivoshenko/kasetto

    Report which kasetto-installed skills and MCP servers are actually being used across the AI agents on this machine, and render a branded HTML dashboard of the result.

    208 GitHub stars~2.1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Documentation Server

    andrea9293/mcp-documentation-server

    A skill your agent uses when you need to store, retrieve, search, or manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval.

    343 GitHub stars~2.3k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Semantix Guide

    Gnosil/semantix

    Troubleshoot and configure Semantix capabilities: Skills (project/custom/global/builtin priority, discovery dirs), Commands (override order, /dir:file naming), Hooks (11 events, automatic project…

    821 GitHub stars~2.1k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Working With Claude Code Docs

    obra/superpowers-developing-for-claude-code

    Looks up official Claude Code documentation stored as reference files instead of guessing about CLI commands, configuration, or plugin APIs.

    142 GitHub stars~1.5k tokensUpdated 10 mo ago
    Agent WorkflowsAuto-check passed

More from yuting0624/antigravity-for-claude-code

  • Antigravity

    yuting0624/antigravity-for-claude-code

    Run the Antigravity CLI (Gemini) as a collaborating AI inside Claude Code, with intelligent model routing across the software development lifecycle.

    375 GitHub stars~9.1k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Migrate To Antigravity

What does Migrate To Antigravity do?

Move an existing Claude Code setup onto the Antigravity CLI (agy) — user skills, CLAUDE.md, auto-memory, MCP servers, installed plugins, permissions and trusted workspaces. Migrate To Antigravity is an agent skill from yuting0624/antigravity-for-claude-code.md, auto-memory, MCP servers, installed plugins, permissions and trusted workspaces.

When should I use Migrate To Antigravity?

Migrate To Antigravity fits situations like: the user says migrate to Antigravity; move my Claude Code config to agy; bring my skills/memory/MCP over; set up agy like my Claude Code.

How do I install Migrate To Antigravity in Claude Code?

Run `npx skills add yuting0624/antigravity-for-claude-code --skill migrate-to-antigravity -a claude-code`. Or copy the skill folder (skills/migrate-to-antigravity in yuting0624/antigravity-for-claude-code) into .claude/skills/migrate-to-antigravity in your project. Claude Code loads it when a task matches its description.

How do I install Migrate To Antigravity in Codex?

Run `npx skills add yuting0624/antigravity-for-claude-code --skill migrate-to-antigravity -a codex`. Or copy the skill folder (skills/migrate-to-antigravity in yuting0624/antigravity-for-claude-code) into .agents/skills/migrate-to-antigravity in your project. Codex loads it when a task matches its description.

Can I use Migrate To Antigravity in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yuting0624/antigravity-for-claude-code --skill migrate-to-antigravity -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-to-antigravity, .gemini/skills/migrate-to-antigravity, .github/skills/migrate-to-antigravity and .opencode/skills/migrate-to-antigravity in your project.

What does Migrate To Antigravity need to run?

Going by SKILL.md and its folder, Migrate To Antigravity needs the command-line tools its instructions call (claude).

Does Migrate To Antigravity access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Migrate To Antigravity safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Migrate To Antigravity use?

Migrate To Antigravity is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Migrate To Antigravity use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Migrate To Antigravity?

Skills that share tags, products or a category with Migrate To Antigravity: Agent Setup Health Audit (tw93/Waza, 7.2k stars), Gemini Skill (WJZ-P/gemini-skill, 832 stars), Kst AI Assets Usage (pivoshenko/kasetto, 208 stars) and Documentation Server (andrea9293/mcp-documentation-server, 343 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate To Antigravity?

yuting0624 (a GitHub user) maintains it in yuting0624/antigravity-for-claude-code, which has 375 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 5, 2026.

Source: yuting0624/antigravity-for-claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.