How I Cut Google Antigravity CLI Token Waste by 80% (Open Source Kit)
Hi everyone, If you use Google Antigravity CLI or IDE for coding, you might have noticed how quickly token quotas burn out from: - Full instruction reloading on every turn - Terminal logs dumping hundreds of lines into
Hi everyone,
If you use Google Antigravity CLI or IDE for coding, you might have noticed how quickly token
quotas burn out from:
- Full instruction reloading on every turn
- Terminal logs dumping hundreds of lines into context
- Blind scans indexing node_modules, lockfiles, and build artifacts
- Session resets that require re-scanning the whole codebase
I created an open-source, dual-licensed (MIT / Apache-2.0) kit called antigravity-rules:
https://github.com/davidyehuda45-byte/antigravity-rules
Key features:
- 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 to 40 lines + quiet flags)
- PROJECT_STATE.md handoff protocol to resume sessions instantly
- 1-line non-destructive installer for Windows PowerShell and Linux/macOS
Feedback and contributions are welcome!
📰 Read the original article on Dev.to WebDev
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.