Moving Shiki's Inline Styles to Classes Without Breaking Cached HTML: Name Each Class After Its Color Pair
With dual themes, rehype-pretty-code writes a roughly 50-character style attribute on every colored token. Here is how I moved those to classes on my own site (hash-based class names, no attribute at all for the default color, CSS written at build time), and what I found when I re-measured production pages: up to 15% less uncompressed HTML, but only 1.4% less over the wire.
Your Editor Can't Show Antigravity's Remaining Quota — Check /usage in agy at Each Break Instead
When you run Antigravity through agy acp in Zed or a JetBrains IDE, your plan quota and AI credit balance never show up in the editor. Here is where the official numbers live (/usage, /credits, the statusline), why I don't scrape them with third-party tools, and the small check I now put between tasks.
When /goal Still Says Active the Next Morning: Judge It by Log Times, Then Hand Over Goals That Can Finish
Antigravity users report /goal staying active, and impossible to stop, after the agent loop has already ended. Here is a small script that tells running from stalled by the transcript's last write time, how I wind down a stalled conversation, and how I now scope goals so they can actually finish.
Finishing One Small Work Tool on the Free Tier — Budget Your Agent Requests by Phase First
Want to finish a small work tool, like a CSV tidier or a reply drafter, on Antigravity's free tier? What runs you out is rarely size but rework. Split requests by phase up front, log each one, and watch what's left as you go.
Catching a Cropped Logo in Link Previews Twice, Before and After the OGP Image Is Exported
I sent the URL of a site I had built to a chat, and the link card cut off the last letter of the logo. Two things caused it: the source image was exported broken, and the card crops the left and right edges. Here is the placement check I put in the generator, a check that counts pixels in the exported file, a fetch from the crawler's side, and what to do when an old preview refuses to go away.
Should the Orchestrator's Planner and Executor Share a Model? What Runs as One Agent in 1.5.17, and What I Keep Two-Phase
Since Antigravity CLI 1.5.17, choosing the same model and the same Effort for both Planner and Executor in /model runs a single agent. A different Effort keeps it two-phase. Here is a small script that reads settings.json to tell which you have, and where I draw the line.
When the End of a Shared AGENTS.md Never Reaches Antigravity, Find the 24,000-Byte Cut First
If Codex, Claude Code and Antigravity share one AGENTS.md, Antigravity truncates everything past 24,000 bytes, and the cap still cannot be changed in 1.5.17. A small script shows which headings get cut, plus the order I use to split the file without breaking the other tools.
Two Times Inlining CSS Made FCP Slower, and How I Now Decide Per Site Whether to Inline
I inlined CSS into the HTML to clear PageSpeed Insights' render-blocking warning, and FCP got almost a second slower. The font preload had been pushed down to byte 28,672 of the head. Even after fixing the placement, the same change made a second site with 88KB of CSS slower, and I rolled it back. Here is a script that counts byte offsets inside the head, an inliner with a size cap, and the pattern I use on the larger site instead.
From December 1, Someone Else Answers gemini-2.5-flash: Find Every Place You Hard-Coded the Name First
On December 1 the Gemini API starts routing gemini-2.5-pro to gemini-3.8-flash and gemini-2.5-flash to gemini-3.5-flash-lite, billed at the new models' rates. Nothing errors, so it is easy to miss. Here is a script that finds model names across code, config and MCP settings, plus a way to log modelVersion so you can see the switch yourself.
Paying for Google AI Pro but Gemini 4 says Unavailable? Read the plan line first
You pay for Google AI Pro, yet Antigravity won't let you pick Gemini 4. Whether the plan line reads Starter Quota or Google AI Pro changes where you should look. Here are three patterns, the order I check them in, and a small script that keeps a record you can hand to support.
Before an Agent Clones Your Template Repo, Hand It a Trap Index: One Line per Fix, the Reasons Kept in One Place
When you copy a running site to start the next one, an agent carries the fixes over but leaves the reasons behind. A symptom-first trap index, a one-page porting plan written before the copy, and three small scripts that catch drift between the index, the source docs and their mirrors.
Before an Agent Reads Your Issues: Splitting GitHub Actions Into a Reader Job and a Writer Job
Anyone can write an issue body. When an agent reads it inside GitHub Actions, split the workflow into a reader job with no write access and a writer job that never runs the agent, keep the body out of the shell, and check the agent's proposal with a small Python script. Working code included.