antigravity-agents: Instructions file for Codex

AGENTS.md

antigravity-agents AGENTS.md is an instructions file for Codex, OpenCode from rafaelghif/antigravity-agents. It costs 1,580 tokens per session, scanned A, original, MIT.

Repository instructions for Antigravity Agents, a software-development agent system. They define a staged workflow, strict checks, task breakdown, and rules for delegating coding work to specialist agents.

In plain words
What is it for?
Organising development work into tasks, creating project intent records, delegating implementation, and enforcing draft, verification, fixing, and finalisation stages.
Why use it?
They provide consistent rules for planning and verifying changes, especially in projects where direct coding by the main agent is restricted. They also require requirements to be clarified before implementation when the request is vague.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents.

This is rafaelghif/antigravity-agents's own configuration. It tells Codex and OpenCode how to work on antigravity-agents 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 antigravity-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rafaelghif/antigravity-agents. 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/rafaelghif/antigravity-agents/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/rafaelghif/antigravity-agents

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 antigravity-agents AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rafaelghif/antigravity-agents/agents-md.svg)](https://agentmods.dev/instructions/rafaelghif/antigravity-agents/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rafaelghif/antigravity-agents/agents-md"><img src="https://agentmods.dev/badge/instructions/rafaelghif/antigravity-agents/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,580 This file is loaded in full into every session.
When invoked 1,580 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01580 $0.01580
Opus 5 $0.00790 $0.00790
Sonnet 5 $0.00316 $0.00316
Haiku 4.5 $0.00158 $0.00158

Measured yesterday against content hash 320ca7fe47ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

antigravity-agents AGENTS.md scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 67 lines

How it starts

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

AAC Always-On Workspace Policy

<CORE_CONSTRAINTS>

  1. [ANTI-HALLUCINATE] ALWAYS run python3 scripts/grounding.py and inspect target files via view_file BEFORE coding. Never assume APIs/signatures. Cite file:line for assertions. Map blast radius: python3 scripts/semantic_grapher.py blast-radius <file> or grep/rg.
  2. [ZERO_MISSING_TASK] Deconstruct requests into atomic IDs ([REQ-1], [REQ-2]). Present complete Requirement Traceability Matrix linking every REQ-ID to its implementation and passing unit test before completion.
  3. [SAFE_REFACTOR] Strictly additive and backward-compatible. Refactor via Expand-Contract or atomic deprecation; never break features or delete code without 100% test parity. Zero dead code duplication.
  4. [TARGET_FOCUS] 100% engineering bandwidth ships consumer project features. Never modify harness internals (.agents/, scripts/) unless explicitly instructed.
  5. [UNIVERSAL_STACK] 100% Language-agnostic: Python, TS/JS, Go, Rust, Java/Kotlin, C#, PHP, Ruby, C++, Dart, Swift. Respect project conventions.
  6. [DRY_TOKENS] Telegraphic, high-density responses. Mouth smaller, brain bigger. Link to files instead of dumping snippets.
  7. [CLI_OVER_SCRIPT] Prefer existing CLI tools (git, pytest, rg, fd). Use scripts/ guards for workspace quality gates.
  8. [VERIFY] python3 scripts/verify.py --execute --terse MUST pass with zero regressions before claiming completion. Dry-run without --execute is strictly invalid.
  9. [NO_MOCKS] 100% complete byte-exact production code (zero TODOs/stubs). Unit test mocks strictly restricted to external I/O boundaries.
  10. [GIT] Conventional Commits only. Minimal Delta. </CORE_CONSTRAINTS>

<SKILL_TRIGGERS> CRITICAL: Read relevant .agents/skills/<name>/SKILL.md before acting. Do not duplicate rules here.

  • architecture: System design, RFC 7807 contracts, outbox resilience, blast radius (semantic_grapher.py), task DAG (hermes_manager.py)
  • code-quality: SOLID, clean architecture, early returns, DRY (dry_guard.py), complexity (complexity_analyzer.py), review (auto_reviewer.py)
  • data-engineering: Zero-downtime expand-contract migrations, concurrent DDL, ETL, CDC
  • design: UI components, DTCG tokens, WCAG 2.2 AA a11y (ui_hygiene_guard.py), Core Web Vitals
  • devops: Docker, K8s, CI/CD pipelines (dag_orchestrator.py), Git hygiene (git_hygiene_guard.py), PR submission (auto_reviewer.py)
  • security: Zero-Trust, secrets, PBAC/RBAC, input sanitization, secret scanning (git_hygiene_guard.py)
  • verification: TDD, boundary validation, property tests, anti-sham (test_quality_guard.py), verification runner (verify.py)
  • observability: Metrics, OpenTelemetry distributed tracing, structured logging, audit trails (inbox_manager.py report)
  • deep-research: Epistemic web research, official documentation lookup, API contracts, local stack ground (grounding.py)
  • semantic-graphing: Blast radius analysis, AST knowledge graph, PageRank centrality (semantic_grapher.py)
  • caveman: Token economy, high-density telegraphic responses, byte-exact output </SKILL_TRIGGERS>

Read the full file on GitHub · 67 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. yesterday Changed · -26 lines · -189 tokens per session scan C → A 320ca7fe47ad
  2. 6d ago First seen · 93 lines · 1,769 tokens per session scan C f78e42f62d9f

Subscribe to this mod's changes

antigravity-agents AGENTS.md is an instructions file published in the GitHub repository rafaelghif/antigravity-agents (5 stars, last pushed yesterday), licensed MIT. It adds 1,580 tokens to every session, about $0.0079 per session on Opus 5. A static security scan graded it A with 0 findings. 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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens