agentleFS
badrisnarayananbadrisnarayanan/antigravity-claude-proxy/CLAUDE.md

antigravity-claude-proxy

CLAUDE.md4k starsChanged 10 months agoMITView on GitHub

Node.js proxy that exposes an Anthropic-compatible API backed by Google's Cloud Code service, letting Claude Code CLI use Gemini (and Claude) models via Google accounts with multi-account quota management. Request flow: Claude Code CLI → Express (server.js) → CloudCode client → Antigravity Cloud Code API CSS: Source is public/css/src/input.css (Tailwind + @apply). Compiled output is public/css/style.css — don't edit the compiled file. Quota thresholds are stored as fractions (0–0.99) but displayed as percentages in the UI. Three-tier resolution: per-model >…

  • Installs packages

Trending

Quiet since May.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 7 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 2 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the badrisnarayanan/antigravity-claude-proxy repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about badrisnarayanan/antigravity-claude-proxy

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub (9 times).

On GitHub · 9

4 more on GitHub

The file

Files
CLAUDE.md

CLAUDE.md

Node.js proxy that exposes an Anthropic-compatible API backed by Google's Cloud Code service, letting Claude Code CLI use Gemini (and Claude) models via Google accounts with multi-account quota management.

Request flow: Claude Code CLI → Express (server.js) → CloudCode client → Antigravity Cloud Code API

Commands

npm install          # installs deps and builds CSS (prepare hook)
npm start            # port 8080
npm run dev          # watch server files
npm run dev:full     # watch CSS + server files

npm start -- --strategy=sticky       # cache-optimized (default is hybrid)
npm start -- --strategy=round-robin  # load-balanced
npm start -- --fallback              # fall back to alternate model on quota exhaustion
npm start -- --dev-mode              # enables debug logging + dev tools (--debug is a legacy alias)

npm run build:css    # compile Tailwind once
npm run watch:css    # watch CSS

npm run accounts:add                 # add Google account via OAuth
npm run accounts:add -- --no-browser # headless/manual code input
npm run accounts:list
npm run accounts:verify

npm test                             # requires server running on port 8080
node tests/run-all.cjs <filter>      # run matching tests only
node tests/test-strategies.cjs       # strategy unit tests (no server needed)

Non-obvious things

CSS: Source is public/css/src/input.css (Tailwind + @apply). Compiled output is public/css/style.css — don't edit the compiled file.

Quota thresholds are stored as fractions (0–0.99) but displayed as percentages in the UI. Three-tier resolution: per-model > per-account > global.

cache_control stripping: Claude Code CLI sends cache_control on content blocks; Cloud Code API rejects them. Stripped at the start of convertAnthropicToGoogle() before any other processing.

Cross-model thinking signatures: Claude and Gemini signatures are incompatible. When switching models mid-conversation, mismatched signatures are dropped. Gemini targets: strict (drop unknown). Claude targets: lenient (let Claude validate).

CLAUDE_CONFIG_PATH env var: Set this when running as a systemd service — os.homedir() returns the service user's home, not the real user's.

WEBUI_PASSWORD env var: Enables password protection on the web UI.

Native module rebuild: On Node.js version mismatch, better-sqlite3 is auto-rebuilt via npm rebuild. If reload still fails after rebuild, a server restart is required.

Dev mode sub-toggles are client-side only (localStorage in settings-store.js): screenshot/redact mode, debug logging, log export, health inspector, placeholder data. No backend involvement.

/api/strategy/health returns 403 unless dev mode is on.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.