How Modern Web Guidance Helps Coding Agents Choose Browser APIs Google's Chrome team released Modern Web Guidance 1.0 on November 10, 2026, a skill that gives coding agents a searchable library of web-platform guides and browser compatibility data, with Firefox and Edge joining the project. In a test refactoring a notification-settings dialog that used 46 nonblank lines of JavaScript, guided Codex sessions running GPT-5.6 Terra at low reasoning effort cut the rewrite to 15 nonblank JavaScript lines each for current-browser targets, versus 20 and 21 without the guides, by replacing JavaScript showModal() calls with the button's commandfor and command="show-modal" attributes. Under an older-browser requirement back to Safari 18.4, both guided versions kept showModal() and the difference shrank to one line per pair. Modern Web Guidance is a skill from the Chrome team that gives coding agents a searchable library of web-platform guides and browser compatibility data. The team built it because agents can fall back on familiar JavaScript patterns even when HTML or CSS can handle the same job. The guides help an agent choose an API based on the browsers a project actually supports. Chrome announced the stable 1.0 release on November 10, 2026, with Firefox and Edge joining the project. Chrome’s release announcement https://developer.chrome.com/blog/modern-web-guidance-v1 To use it with a compatible agent such as Codex or Claude Code, run npx modern-web-guidance@latest install from your project directory. Record your browser requirements in the project’s agent instructions, such as AGENTS.md in Codex. You can name minimum browser versions or set a target like Baseline 2025, which covers features that became interoperable across major browsers by the end of that year. Installation and browser targets https://developer.chrome.com/docs/modern-web-guidance/get-started Then give the agent a concrete task, such as simplifying a settings dialog while preserving its keyboard behavior. The skill tells the agent to search for the relevant UI pattern and retrieve a guide before editing. The guide supplies implementation advice and helps the agent decide whether a feature needs a fallback for older browsers. How the guide library works https://developer.chrome.com/docs/modern-web-guidance/get-started whats in modern web guidance What does access to those guides change in a refactor? The test started with a small notification-settings page. Its custom dialog used 46 nonblank lines of JavaScript to open and close the overlay, keep the background inactive, manage keyboard focus, and apply or discard a change. The task was to simplify the code while preserving those behaviors. Within each pair, two fresh Codex sessions got the same prompt, starting files, and browser requirements. Both ran GPT-5.6 Terra at low reasoning effort. One had Modern Web Guidance 1.0 installed. Two pairs targeted Safari 26.2 and newer and set a Baseline 2025 target. The other two required support back to Safari 18.4 and asked for a fallback or a supported alternative when an API was too new. The finished pages went through six scenarios in Chrome 157, Firefox 159, and Playwright WebKit 27.2. The older-target pages also had to pass in Playwright WebKit 18.4. These are specific test environments. The Safari versions describe project requirements, while the WebKit versions describe the test builds. Two guided sessions reached the outer time limit after writing their changes. Their saved pages went through the same checks. Every run chose a native