Philschmid: 5 habits I changed when working with Gemini 4 Neon coding agents

_philschmid · x · 2026-11-25

ML engineer Philipp Schmid shares lessons from weeks of daily coding-agent work and evals: persistent context (system instructions, tool definitions, skills, past turns) matters more than any single prompt, and guardrails written for older models often slow down or break newer ones. His 5 changes for Gemini 4 Neon, illustrated with lean-vs-legacy context stack diagrams: drop strict style/edit rules that clash with the model's own judgment; replace upfront few-shot tool examples with typed schemas and a one-line skill index loaded lazily at runtime; avoid lossy mid-task compaction by writing a handoff.md with goals, decisions and paths to start a fresh session, or forking the session to work on a second task in parallel. The core thesis: leave clean context room and let rules set judgment boundaries instead of prescribing everything.

Original post →

More from coding & agent

coding & agent channel →