andyvandaric

Opencode Ag Auth — Development skill for Claude Code

Development community

Enhanced Antigravity OAuth plugin for OpenCode strict quota locking, multi-account rotation, Oh-My-OpenCode integration, and proxy support.

How to install Opencode Ag Auth

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

What Opencode Ag Auth does

Enhanced Antigravity OAuth plugin for OpenCode strict quota locking, multi-account rotation, Oh-My-OpenCode integration, and proxy support.

Alternatives in Development

  • Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
  • Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★
  • Opencode Claude Auth — OpenCode plugin that uses your existing Claude Code credentials — no separate login needed 903 ★

README

OpenCode AG Auth (Antigravity Guard)

[![npm version](https://img.shields.io/npm/v/opencode-ag-auth.svg)](https://www.npmjs.com/package/opencode-ag-auth) [![npm beta](https://img.shields.io/npm/v/opencode-ag-auth/beta.svg?label=beta)](https://www.npmjs.com/package/opencode-ag-auth) [![npm downloads](https://img.shields.io/npm/dw/opencode-ag-auth.svg)](https://www.npmjs.com/package/opencode-ag-auth) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![X (Twitter)](https://img.shields.io/badge/X-@dopesalmon-000000?style=flat&logo=x)](https://x.com/dopesalmon)

**The Hardened, Safety-First Antigravity Plugin for OpenCode.**

Enable OpenCode to authenticate against **Antigravity** (Google's IDE) with enterprise-grade **account protection** and **session stability**. Access models like `gemini-3.1-pro` and `claude-opus-4-6-thinking` while keeping your accounts safe from bans and your agents running without interruption.

Why this Fork?

This is a specialized fork of `opencode-antigravity-auth` focused on **Safety** and **Reliability** for power users and autonomous agents.

🛡️ Enhanced Protection

  • Strict Quota Protocol (SQP): Enforces a 70% safety buffer on API usage. Accounts are strictly locked before they hit Google's abuse limits.
  • Leak-Proof Locking: Locked accounts are ignored until their specific reset time passes, preventing "leaky" usage from cache expiry.

⚡ Agent Stability

  • Oh-My-OpenCode Integration: Native support for session recovery. Automatically handles tool crashes and model "thinking" blocks without user intervention.
  • Smart Proxy Support: Enterprise-ready undici proxy support for complex network environments.
  • Interactive Pause: Gracefully pauses execution when quotas run low, allowing human intervention instead of crashing.

Key Features

  • All Antigravity Models: Claude Opus 4.6, Sonnet 4.6, and Gemini 3.1 Pro/Flash via Google OAuth.
  • Thinking Models: Configurab