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.
curl -O https://raw.githubusercontent.com/rafaelghif/antigravity-agents/main/AGENTS.mdgit clone --depth 1 https://github.com/rafaelghif/antigravity-agentsWrote 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.
[](https://agentmods.dev/instructions/rafaelghif/antigravity-agents/agents-md)<a href="https://agentmods.dev/instructions/rafaelghif/antigravity-agents/agents-md"><img src="https://agentmods.dev/badge/instructions/rafaelghif/antigravity-agents/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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01591 | $0.01591 |
| Opus 5.5 | $0.00636 | $0.00636 |
| Sonnet 5.5 | $0.00318 | $0.00318 |
| Haiku 4.5 | $0.00159 | $0.00159 |
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 1mo 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.
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.
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>
- [ANTI-HALLUCINATE & GROUND] ALWAYS run
python3 scripts/grounding.pyand inspect target files viaview_fileBEFORE coding. Never assume framework, runtime, OS, package manager, or APIs. Mark unconfirmed items as UNKNOWN / UNVERIFIED. Cite file:line for assertions. - [PROJECT_ADAPTATION] Existing Project > General Best Practice > Personal Preference. Adapt strictly to target repository architecture, stack idioms, and conventions. Never force generic boilerplate.
- [EXISTING_CODE_FIRST] Reuse existing components, utilities, functions, and classes before creating new ones. No dead code or duplicate logic.
- [DEPENDENCY_DISCIPLINE] Never introduce dependencies unless strictly necessary and verified compatible across target OS (Linux/macOS/Windows) and runtimes.
- [REALITY_OVER_MEMORY] Codebase reality always overrides persistent memory. Discard outdated memory if contradicted by filesystem evidence.
- [GEMINI_FLASH_OPTIMIZATION] Progressive discovery (Discover -> Map -> Reason -> Act -> Verify -> Compress). Minimal tokens, sharp structure, smallest correct change. No massive context dumps.
- [SAFE_REFACTOR] Strictly additive and backward-compatible. Refactor via Expand-Contract; never break existing features or delete working tests without 100% test parity.
- [VERIFY_WITH_EVIDENCE]
python3 scripts/verify.py --execute --terseand domain unit tests must pass before completion. If verification cannot run, explicitly reportNOT VERIFIED. Never fabricate test results. - [NO_MOCKS] Complete byte-exact production code (zero TODOs/stubs). Mocks strictly restricted to external I/O boundaries in unit tests.
- [CROSS_PLATFORM & GIT] Platform-neutral code (POSIX & Windows). Conventional Commits only. Minimal delta, zero scratch files outside
.agents/scratch/. </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, CDCdesign: UI components, DTCG tokens, WCAG 2.2 AA a11y (ui_hygiene_guard.py), Core Web Vitalsdevops: 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>
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.
- 1mo ago Changed 1a12b2d61f92
- 2mo ago Changed 8e0aa25f293d
- 2mo ago Changed · +11 tokens per session 83e0d3c41a77
- 2mo ago Changed · -26 lines · -189 tokens per session scan C → A 320ca7fe47ad
- 2mo ago First seen · 93 lines · 1,769 tokens per session scan C f78e42f62d9f
antigravity-agents AGENTS.md is an instructions file published in the GitHub repository rafaelghif/antigravity-agents (5 stars, last pushed 1mo ago), licensed MIT. It adds 1,591 tokens to every session, about $0.0064 per session on Opus 5.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.
antigravity-agents AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| antigravity-agents AGENTS.mdrafaelghif/antigravity-agents | Instructions file | 5 | 1mo ago | MIT | A | 1,591 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |