JoshRob297

Opencode Antigravity Auth — Development skill for Claude Code

Development community

Google Antigravity OAuth plugin for OpenCode (Revived & Extended) - Unlocks Gemini 3.8 Flash, 3.7 Flash, 3.1 Pro & Claude 4.6.

How to install Opencode Antigravity Auth

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JoshRob297/opencode-antigravity-auth and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Opencode Antigravity Auth does

Google Antigravity OAuth plugin for OpenCode (Revived & Extended) - Unlocks Gemini 3.8 Flash, 3.7 Flash, 3.1 Pro & Claude 4.6.

Alternatives in Development

README

Antigravity OAuth Plugin for OpenCode (Revived & Extended)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![CI](https://github.com/JoshRob297/opencode-antigravity-auth/actions/workflows/ci.yml/badge.svg)](https://github.com/JoshRob297/opencode-antigravity-auth/actions/workflows/ci.yml)

[!NOTE] **Community Revival & Extended Edition**: This repository is an active, open-source continuation of the archived project by [NoeFabris](https://github.com/NoeFabris/opencode-antigravity-auth) (and earlier work by [@jenslys](https://github.com/jenslys) and [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)). It fixes critical upstream bugs and unlocks the newest Google Antigravity models.


🌟 What's New & Changed in this Fork (v1.17.1)

  • 🔑 Strip x-goog-api-key Header (Fix 400 API_KEY_INVALID): OpenCode automatically injects an AI Studio key into x-goog-api-key when intercepting generativelanguage.googleapis.com calls. Antigravity backend prioritized this header over Bearer auth, returning 400 API_KEY_INVALID. The header is now stripped alongside x-api-key.
  • 🚫 Legacy gemini-cli Mode Removed (Definitive 403 #3501 Fix): Completely stripped legacy VS Code headers and -preview model fallbacks. All requests route cleanly through official Antigravity CLI signatures (aidev_client), eliminating false license errors across all accounts.
  • 🛡️ Configurable Safety Settings (safety_level): Uses Google's native moderation baseline by default (medium / BLOCK_MEDIUM_AND_ABOVE) to protect accounts, with configurable options for high and none (with explicit disclaimer).
  • 🛠️ Fixed 403 #3501 (SUBSCRIPTION_REQUIRED) on Flash: Removed decommissioned sandbox autopush endpoint from fallbacks so all requests route cleanly to live daily and prod endpoints.
  • 🚫 Deprecated Gemini 3.5 Flash Removed: Fully removed antigravity-gemini-3.5-flash following Google's backend sunset, k