跳到正文
puran thapa· 来源· @Iampuranthapa · X·· 1 天前AI 评分33
正文 · 原文

Google is trying to reduce your Claude bills. Know how?

Google just updated its Antigravity Terms of Service (Section 6) on December 1, officially allowing developers to run the Antigravity CLI (agy -p) in headless mode as a subagent inside Claude Code.

Instead of arguing "Claude vs. Gemini," you can now wire them together: Claude conducts (architecture, edge cases, final verification) while Gemini does the heavy lifting (codebase exploration, scaffolding, test runs, and diff reviews).

Why this setup is a game-changer:

Slash your Claude spend: Routing high-volume reads, boilerplate, and reviews to Gemini cuts frontier Claude token costs by 27–64% at equal quality.
Keep Claude's context razor-sharp: Let agy digest massive logs, multi-file traces, or full repo searches and hand back only a concise JSON summary-collapsing Claude's cache reads and keeping it focused on active edits.

Kill single-model blind spots: Pipe your git diff to Gemini for an independent adversarial review before committing, or offload stubborn bugs when Claude loops on the same failing fix.
Stretch your rolling limits: Offload read-heavy exploration and grounded web research to your Antigravity quota so your Claude Code allowance goes strictly toward precision edits.

How to connect them in 2 minutes:
1. Install & sign in to the official Antigravity CLIInstall agy and run it once interactively in your terminal to authenticate your Google account (or configure a GEMINI_API_KEY).

2. Wire it into Claude Code (pick one):

Fastest (Plugin): Install the open-source antigravity-for-claude-code plugin inside Claude Code:/plugin install antigravity@antigravity-for-claude-code/antigravity:setupThis unlocks /antigravity:delegate, /antigravity:handoff, /antigravity:review, and /antigravity:research right inside your session.

Lightweight (Custom Skill): Drop a SKILL.md into .claude/skills/antigravity/ with allowed-tools: Bash(agy -p *) so Claude Code shells out directly to agy -p "..." --output-format json.
One golden rule: Always call the unmodified agy binary directly. OAuth token proxies and unofficial wrappers are still strictly banned under Google's ToS.

Antigravity CLI in Claude Code and Codex: The Setup Google Allows

“ Calling the unmodified CLI headless is permitted, not a violation. ”

Startup Fortune
Google's new Antigravity terms say a violation won't touch your Google account
“Google rewrote Antigravity's Section 6 on December 1, adding an appeal path, allowing supported wrappers and keeping the OAuth token ban in place.”

Two agents. One terminal. Half the bill.
#ClaudeCode #Gemini #GoogleAntigravity #AI #DevTools

来源:puran thapa · x.com