Skip to content
Migrate from Claude Code2-0Antigravity AppGet StartedMigrate from Claude Code Antigravity App Get StartedAntigravity AppAntigravity CLI
Available on:
Antigravity AppAntigravity CLI

Import your Claude Code MCP servers, skills, slash commands, custom subagents, and CLAUDE.md instructions directly inside the Antigravity App—no CLI commands required. If you also have Claude Code plugins installed under ~/.claude/plugins/, you can optionally import those with a single CLI command.

The fastest way to migrate is directly inside the Antigravity App—no terminal commands or manual file copying needed.

  1. Start the import

    Open the Antigravity App and trigger the built-in migration in any of three ways:

    • From the Home screen: If you chose Software Engineering during onboarding, click Bring over my setup from other Agentic Developer Tools above the composer.

    • Built-in skill: Type /migrate-agent-settings in any conversation to run the built-in migration skill.

    • Natural language: Ask the agent directly:

      Import my setup from Claude Code into Antigravity.
  2. Confirm what to import

    The agent scans your Claude Code paths (and your open workspace’s .mcp.json, if a workspace is open) and presents a summary grouped by category, along with anything it will skip and why. It never prints secret values such as API keys, tokens, or Authorization headers in chat.

    Before writing any files, confirm:

    • Whether to import everything or leave specific items out (for example, workspace-only MCP servers that would otherwise apply globally inside the new plugin).
    • The name for the new plugin (defaults to migrated-settings).
  3. Finish and configure MCP variables

    Antigravity creates ~/.gemini/config/plugins/<plugin-name>/ with plugin.json, mcp_config.json, skills/, agents/, and rules/, validates the JSON files, and gives you a direct link to the plugin in Customizations.

    • If no MCP server declares variables, the plugin loads automatically and its skills, rules, agents, and MCP servers are ready on your next turn.
    • If any server declares ${VAR} placeholders in its variables list, the plugin starts disabled. Open the plugin page, fill in the requested values, and toggle the plugin on.

The Antigravity App’s built-in migrate-agent-settings skill imports everything below into ~/.gemini/config/plugins/<name>/ (except installed ~/.claude/plugins/, which use the CLI):

Claude Code sourceDestination in pluginHow it imports
~/.claude.json (mcpServers)mcp_config.jsonAntigravity App (built-in skill)
<workspace>/.mcp.jsonmcp_config.jsonAntigravity App (built-in skill)
~/.claude/skills/*/SKILL.mdskills/<skill>/SKILL.mdAntigravity App (built-in skill)
~/.claude/commands/*.mdskills/<cmd>/SKILL.mdAntigravity App (built-in skill)
~/.claude/agents/*.mdagents/<agent>.mdAntigravity App (built-in skill)
~/.claude/CLAUDE.mdrules/claude.mdAntigravity App (built-in skill)
~/.claude/plugins/ (optional)~/.gemini/config/plugins/<plugin-name>/Antigravity CLI (agy plugin import claude)
  • Skills (~/.claude/skills/*/SKILL.md): Copied whole, including scripts/ and references/. Because Antigravity requires name and description YAML frontmatter on every SKILL.md, the migration fills in missing frontmatter automatically.

  • Slash commands (~/.claude/commands/*.md): Converted to skills named after each file so you can still invoke them with /<name>. Placeholders such as $ARGUMENTS and $1 are rewritten into natural-language instructions.

  • Subagents (~/.claude/agents/*.md): Preserves the system prompt body, sets subagent: true and mainAgent: false, drops model and color, and maps Claude Code tool grants to Antigravity’s native tools:

    Claude Code toolAntigravity tool
    Read, Glob, Grepread_file
    Edit, MultiEditedit_file
    Writewrite_file
    Bashrun_command, manage_task
    WebSearch, WebFetchsearch_web
  • Global instructions (~/.claude/CLAUDE.md): Converted into rules/claude.md with trigger: always_on. Tool-specific lines that only apply to Claude Code are stripped and reported in the final summary.

  • Name collisions: If an imported MCP server or subagent clashes with an existing Antigravity server or built-in agent (self, browser, research, deepagent, review-agent), Antigravity prefixes it with claude- (for example, claude-github or claude-reviewer).


You only need this step if you also have Claude Code plugins installed under ~/.claude/plugins/ (including user-scope marketplace installs tracked in ~/.claude/plugins/installed_plugins.json). Everything else above is already handled inside the Antigravity App.

# Import all enabled user-scope Claude Code plugins
agy plugin import claude

# Verify imported plugins and component counts
agy plugin list

The walkthrough below imports a release-tools plugin from ~/.claude/plugins/, verifies its converted skills and MCP server with agy plugin list, and launches agy to invoke the imported /release-tools:deploy-check skill from the slash-command menu:

End-to-end CLI walkthrough: inspecting ~/.claude/plugins/release-tools, importing it with agy plugin import claude, checking agy plugin list, and invoking /release-tools:deploy-check inside agy.

# Import a single local Claude Code plugin directory
agy plugin import /path/to/my-claude-plugin

# Re-import plugins that were already imported earlier
agy plugin import claude --force

# Import from both Claude Code and Gemini CLI in one command
agy plugin import

When importing a Claude Code plugin, agy plugin import claude automatically:

  • Converts .claude-plugin/plugin.json into a native plugin.json manifest.
  • Copies skills/ and any extra skill folders listed in the manifest’s skills field.
  • Converts commands/*.md into Antigravity skills.
  • Migrates .mcp.json server definitions and resolves ${CLAUDE_PLUGIN_ROOT} paths.
  • Translates supported hook events and tool matchers into hooks.json.

Some Claude Code settings differ enough from Antigravity’s model that they are intentionally skipped and reported in your migration summary:

  • Hooks and permissions in ~/.claude/settings.json: Claude Code’s tool names and allow-list syntax differ from Antigravity’s. Configure these directly using Lifecycle hooks and Permissions.
  • Legacy SSE MCP servers: Servers using "type": "sse" or a legacy /sse endpoint without Streamable HTTP are flagged rather than copied verbatim. Switch to the server’s Streamable HTTP URL, or wrap it with the stdio bridge npx -y mcp-remote <url>.
  • Instruction files larger than 24 KB: Each Antigravity rule file has a 24 KB limit. If your CLAUDE.md exceeds 24 KB, the agent reports it instead of truncating it silently so you can split it into focused rules or skills.

Because all migrated items live inside ~/.gemini/config/plugins/<plugin-name>/, reverting is a single action:

  • Antigravity App: Open Customizations > Installed, select your migrated plugin (for example, migrated-settings), and toggle it off or uninstall it.
  • Antigravity CLI: Run agy plugin disable <plugin-name> to pause it, or agy plugin uninstall <plugin-name> to remove it completely.