antigravity-rules: an open-source kit cutting Google Antigravity CLI token waste by ~80%
yehudadev_ · reddit · 2026-11-04
A developer open-sourced antigravity-rules (dual MIT/Apache-2.0), targeting the four biggest token drains in Google Antigravity CLI/IDE: full instruction reloads every turn, terminal logs flooding context, blind indexing of nodemodules/lockfiles/build artifacts, and session resets requiring full codebase rescans.
- Micro-core prompt (<450 tokens) with lazy-loaded skills (@scaffold-crud, @api-bridge, etc.)
- .antigravityignore blocking heavy directories and lockfiles
- Terminal log damper (caps output at 40 lines + quiet flags)
- PROJECTSTATE.md handoff protocol for instant session resume
- One-line non-destructive installer for Windows PowerShell and Linux/macOS
The author reports roughly 80% token-waste reduction.
More from coding & agent
- Agent silently completed only a quarter of a 200-module build and stalled waiting for confirmation — Promptmethus · 2026-11-04
- ChatGPT Agent mode can scan LinkedIn and Indeed and build a tailored job-application spreadsheet — nikola_mr64990 · 2026-11-04
- Blogger auto-applied to 500 jobs via ChatGPT and got 12 interview calls in 24 hours — nikola_mr64990 · 2026-11-04
- MCP servers with hundreds of endpoints: a search-spec-call pattern that keeps context small — sandeepK1125 · 2026-11-04
- Tencent's Hy4 agent self-trained a smaller model that beat Tencent's own baseline — heyshrutimishra · 2026-11-04
- Butterfly traces multi-agent failures with graphs, 62.5% accuracy vs 53.8% for log prompting — JeremyCMorgan · 2026-11-04