codex-antigravity-auth: Instructions file for Codex

AGENTS.md

codex-antigravity-auth AGENTS.md is an instructions file for Codex, OpenCode from Reedtrullz/codex-antigravity-auth. It costs 1,193 tokens per session, scanned B, original, MIT.

Project instructions for working on Codex Antigravity Auth, a local gateway that lets coding agents use Google Antigravity models and other OpenAI-compatible AI providers.

In plain words
What is it for?
Use it when modifying the gateway, authentication, account rotation, provider connections, API translation, storage, or command-line interface.
Why use it?
It gives an agent the project structure, request flow, model-name mappings, and development conventions needed to change the code safely.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; reads ~/.codex paths; mentions AGENTS.md.

This is Reedtrullz/codex-antigravity-auth's own configuration. It tells Codex and OpenCode how to work on codex-antigravity-auth itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codex-antigravity-auth configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Reedtrullz/codex-antigravity-auth. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Reedtrullz/codex-antigravity-auth/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Reedtrullz/codex-antigravity-auth

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-antigravity-auth AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/reedtrullz/codex-antigravity-auth/agents-md/github.svg)](https://agentmods.dev/instructions/reedtrullz/codex-antigravity-auth/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/reedtrullz/codex-antigravity-auth/agents-md"><img src="https://agentmods.dev/badge/instructions/reedtrullz/codex-antigravity-auth/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-antigravity-auth AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/reedtrullz/codex-antigravity-auth/agents-md"><img src="https://agentmods.dev/badge/instructions/reedtrullz/codex-antigravity-auth/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,193 This file is loaded in full into every session.
When invoked 1,193 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01193 $0.01193
Opus 5.5 $0.00477 $0.00477
Sonnet 5.5 $0.00239 $0.00239
Haiku 4.5 $0.00119 $0.00119

Measured 10d ago against content hash a877c07c583e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

codex-antigravity-auth AGENTS.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.codex/config.toml`:
AGENTS.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Codex Antigravity Auth

Start at STATUS.md for current source contracts and evidence boundaries. Historical release claims are preserved in the dated archive; they are not proof for this checkout.

Dated review snapshot: The 2026-10-04 source review and its validation-copy inventory are archived in docs/history/2026-10-04. They describe an older checkout (027fd313b1f6, package 2.4.2); equal package versions do not establish equal source.

Guidance for AI coding agents (Codex, Claude Code, OpenCode, etc.) working on this project.

Overview

Local gateway server that allows OpenAI Codex (CLI and Desktop) to use Google Antigravity models (Gemini 3.8/3.7/3.1, Claude Sonnet/Opus 4.6) via Google OAuth PKCE and multi-account rotation, plus BYOK OpenAI-compatible providers such as OpenRouter, DeepSeek, xAI, Kimi/Moonshot, Ollama, and OpenCode-compatible endpoints.

Newer models are registered but plan-gated: Gemini 4 Argon (Ultra/Enterprise; the docs list it as not available in Antigravity IDE, which is the client identity this gateway presents) and Claude Sonnet/Opus 5.5 (paid, non-trial Pro or Ultra plans). Their backend wire ids are unverified and they were not offered to the Jio-provided Google AI Pro accounts checked on 2026-10-15. Per Google's in-API notice, third-party model access (Claude 4.6, GPT-OSS) ends on non-paid plans on 2026-11-02, so the anti skill defaults to Gemini 3.8 Flash.

Architecture

STATUS.md maps Google, native OpenAI and BYOK routes to their owning modules. Use the central capability catalog for model aliases/families and adapter support; do not infer support from names or duplicate a model registry in docs.

Key Conventions

  • Python 3.10+ — use python3 or activate venv
  • Virtual env: source .venv/bin/activate
  • Install: uv pip install -e .
  • Test: python3 scripts/run_tests.py -q (isolates credentials/state and denies non-fixture sockets before pytest startup; all tests must pass)
  • Run server: codex-antigravity start --port 51122
  • Credentials: ~/.codex/antigravity-credentials.json or env vars
  • Accounts: ~/.codex/antigravity-accounts.json (Fernet-encrypted)
  • BYOK providers: ~/.codex/antigravity-providers.json (Fernet-encrypted) or provider API key env vars

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +17 tokens per session a877c07c583e
  2. 13d ago Changed · +4 lines · +208 tokens per session fe938190920a
  3. 25d ago Changed · -44 lines · -664 tokens per session 20fa2b07b9b3
  4. 1mo ago Changed · -44 tokens per session 7ad575e7eac4
  5. 1mo ago Changed · +71 tokens per session 3934ebe10a81
  6. 1mo ago Changed · +38 tokens per session b988232f346b
  7. 1mo ago Changed · +1 lines · +31 tokens per session 446dc6383271
  8. 1mo ago First seen · 119 lines · 1,536 tokens per session scan B 5ebd369f72e8

Subscribe to this mod's changes

codex-antigravity-auth AGENTS.md is an instructions file published in the GitHub repository Reedtrullz/codex-antigravity-auth (2 stars, last pushed 5d ago), licensed MIT. It adds 1,193 tokens to every session, about $0.0048 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories