One Prompt Turns Gemini Flash Into an Optimization Machine: 5000x Gains in 20 Minutes

doodlestein · x · 2026-08-29

The author shares an agent coding workflow: have the model carefully read AGENTS.md and README.md first, use code investigation mode to fully understand the architecture, then chain /profiling-software-performance with /repeatedly-apply-skill (at least 30 iterations) to apply /extreme-software-optimization.

On the FrankenMarkdown project, this produced several 5000x+ performance gains in 20 minutes on code written by other models, plus multiple 2x+ improvements. All done on Gemini 3.7 Flash, which costs essentially nothing relative to the value of your time.

Original post →

More from coding & agent

coding & agent channel →