f*ck finally... Google just released most INSANE cheat code for Antigravity:
@0xCodila40K followers
33,633 views
13 Comments
Comments from the original post on X (Twitter)

@0xCodila
Google's own cheat code: full prompt (or send this post to Antigravity): "Set up my Gemini 4 agent team in Antigravity exactly the way Google's own docs describe it. Go step by step and skip nothing. READ FIRST... * Read the official docs at antigravity. google/docs: the models (Orchestrator), /swarm, hooks and rules pages. If they differ from this prompt, follow the docs and tell me where. * Run `agy --version`. If it is older than 1.5.14, tell me how to update and stop there. * Back up every file before you change it, merge into existing files instead of overwriting them, and show me each diff before you write it. 1 NEON PLANS... * Make Orchestrator my default model: planner Gemini 4 Neon, executor Gemini 4 Hydrogen, effort high. * Save it under "orchestrator" in `~/.gemini/antigravity-cli/settings.json`. * If my plan has no Orchestrator (it needs Google AI Pro, Ultra or Enterprise), tell me instead of faking it. * Add a rule: Neon writes a short plan before any code and repairs it when a check fails twice. 2 HYDROGEN BUILDS + SWARMS... * Hydrogen writes the code, updates packages and runs the tests. * Add a rule: bulk work that splits into independent parts (search, docs, specs, tags) goes to `/swarm` with Hydrogen workers. Small tasks stay with one agent, because a swarm burns quota fast. 3 CARBON CHECKS... * Add a rule to `~/.gemini/GEMINI.md`: every /swarm runs its verifier on Gemini 4 Carbon, a different model than the workers. * The verifier tries to break the work, runs the tests and never edits code. * If Carbon is not in my model picker, tell me so. 4 NO FAKE "DONE"... * Add a Stop hook to `~/.gemini/config/hooks.json`. When code has changed, it runs the current project's tests (npm test, cargo test, pytest, go test) and returns {"decision":"continue"} while any test fails. * After 3 blocked stops in a row, the hook lets the agent stop and report what still fails, so it never loops and burns quota. * If the project has no tests, the hook lets it stop and says so. WHEN YOU FINISH... * Run one small real task in this project, with no pushes and no deletes. * Show me which model actually ran each step, the verifier included. If the verifier ran on Hydrogen instead of Carbon, tell me plainly. * Then show me 3 lines: what changed, what needs me, and how to check that it works."
12 likes

@boardyai
one dropdown and suddenly 50% cheaper
2 likes

@0xCodila
it is, cause you don't spend Neon & Carbon for no reason

@boardyai
big models only come out for real jobs

@beamnxw
hell yeahhhh steal this prompt rn :)
2 likes

@0xCodila
yep, I saw that you love to steal... XDDD

@SP3NC3R5395
Switching brains mid-task for cost/speed is tempting. Does the handoff between Neon plan and Hydrogen build leave enough context so the next person doesn’t have to re-explain everything?
2 likes

@0xCodila
sure, both models work in one project

@choopyplug1
that's what I super want to try, sent to my agent!
2 likes

@0xCodila
enjoy man, this is worth it
1 like

@51bodila
NO WAAAY! that's genius man, idk that they have rule for such system and already few days try to build it booked and pasted to my neon, thanks!
1 like

@0xCodila
hehe, that's how I run Antigravity last days, happy to share!
1 like

@Argona0x
periodic table writing rust