How yuting0624/antigravity-for-claude-code works
Antigravity for Claude Code is a Claude Code plugin that delegates execution-heavy work to the Antigravity CLI (agy/Gemini), while Claude remains responsible for direction and verification. The principal workflow is a user request in Claude Code, routed through a plugin command or delegate, executed by agy, then reviewed by Claude. The README also documents research, review, media, Cloud Run debugging, background jobs, setup, and migration. Most runtime scripts were not sampled, so edges for those workflows rely on README descriptions; the sampled migration and session-measurement code provide narrower implementation evidence.
Main entry points: commands Deep research · cloud-debug.sh Cloud Run debug · agy-delegate.sh Delegation · agy-media.sh Media analysis
Components 21
Claude orchestration
- Slash commands
commands - Cross-model review
commands
Gemini execution
- Delegation
scripts/agy-delegate.sh - Background jobs
scripts/agy-job.sh - Agent traces
scripts/agy-trace.sh
Specialized capabilities
- Deep research
commands - Search tools
scripts/agy-delegate.sh - Media analysis
scripts/agy-media.sh - Cloud Run debug
scripts/cloud-debug.sh
Setup and measurement
- Migration command
commands/migrate.md - Setup migration
scripts/agy-migrate.py - Routing policy
hooks - Health check
bin/agy-doctor - Cost measurement
scripts/measure-session.py - Rate table
prices.json
Other components
- User
- Claude Code
- agy / Gemini
- Google / web
- Vertex AI Search
- Cloud Logging
Connections 22
- User → Claude Code: requests work
README.md - Claude Code → Slash commands: invokes commands
README.md - Slash commands → Delegation: delegates tasks
README.md - Delegation → agy / Gemini: runs work
README.md - Claude Code → Cross-model review: requests review
README.md - Cross-model review → agy / Gemini: gets opinion
README.md - Claude Code → Deep research: orchestrates research
README.md - Deep research → Google / web: grounds research
README.md - Deep research → Vertex AI Search: searches internal data
README.md - Claude Code → Media analysis: requests analysis
README.md - Media analysis → agy / Gemini: analyzes media
README.md - Claude Code → Cloud Run debug: requests diagnosis
README.md - Cloud Run debug → agy / Gemini: digests logs
README.md - Cloud Run debug → Cloud Logging: reads logs
README.md - Claude Code → Background jobs: starts delegation
README.md - Claude Code → Background jobs: collects results
README.md - agy / Gemini → Agent traces: leaves trajectories
README.md - Claude Code → Migration command: requests migration
README.md - Migration command → Setup migration: runs migration
README.md - Claude Code → Routing policy: receives policy
README.md - Claude Code → Health check: checks environment
README.md - Cost measurement → Rate table: loads rates
scripts/measure-session.py