So that your AI agent writes modern CSS and HTML instead of filling your project with legacy JavaScript, install Modern Web Guidance: the skills package from the Google Chrome team that reached version 1.0.0 on November 10, 2026 and installs in Claude Code, Codex, GitHub Copilot CLI, Gemini CLI, Antigravity, and other agents.
Update (November 2026): we first published this article during the tool’s early preview. We rewrote it for version 1.0: coverage nearly doubled, Firefox and MDN joined as project maintainers, and the repository now publishes evaluation results per agent.
What is Modern Web Guidance?
Modern Web Guidance is a set of agent skills that injects into your programming agent’s context expert knowledge of the web platform, best practices, and browser compatibility data, so it reaches for native APIs instead of legacy patterns. It’s maintained by the teams at Google Chrome, Microsoft Edge, Mozilla Firefox, and MDN.
Version 1.0 covers 250 modern web capabilities (140 in CSS and layout, 36 in HTML and DOM, 74 in JavaScript and APIs) organized into 203 real-world use cases: accessibility, AI built into the browser, CSS, forms, performance, security, and WebMCP.
It doesn’t load all of that into your context window. When the agent encounters a relevant task, it activates the skill and calls a small CLI:
searchfinds the guide that matches the task using an offline embeddings model with no dependencies, combined with BM25. No network calls and no API keys.retrieveloads only the chosen guide into context.
The guides are based on Baseline, with up-to-date compatibility data, and apply progressive enhancement: fallbacks of less than 50 lines or polyfills that load only when needed. They also document specific pitfalls, like the 64 KB payload limit on fetchLater().
Why doesn’t your AI agent use HTML popover or container queries?
Because the models learned from a decade of web code, and most of it predates what the platform offers today. Ask it for a tooltip, a modal, or a sortable table and it’ll write you the JavaScript-heavy version it saw thousands of times, even though the browser already solves it natively with popover, the <dialog> element, container queries, or view transitions.
HTML popover is a perfect example. A floating panel that used to require a library, click listeners, and close logic is now two attributes:
<button popovertarget="help">Help</button>
<div id="help" popover>Panel content</div>
The skill fixes this the moment the agent generates the code. Instead of reviewing every component looking for what could have been an HTML attribute, the agent consults a curated guide first. Some guide IDs that appear in the README: sortable-table, search-hidden-content, and cpp-on-the-web.
How much does the code your agent generates improve?
According to the project’s own evaluations, the percentage of passing tasks goes up around 30 points across the three agents tested. These are self-reported results: Google runs realistic prompts against two complete base applications (daily-grind and devtools-times) and measures the same tasks with and without the skill. The most recent run in the README, from November 8, 2026:
| Agent (model) | Without skill | With skill | Improvement |
|---|---|---|---|
Claude Code (opus-5-5) |
57% | 88% | +31 |
Codex CLI (gpt-6.1-sol) |
54% | 82% | +28 |
Antigravity CLI (gemini-4-argon) |
58% | 94% | +36 |
Earlier November runs landed in the same range: Claude Code hit 90 percent on November 4 and 6. The November 8 Antigravity run covered 214 tasks and 1,673 assertions. These are Google figures on Google test apps: they show the direction, not as an independent benchmark.
How do you install the skill in Claude Code?
The recommended way is the interactive installer, which also leaves automatic updates enabled:
npx modern-web-guidance@latest install
If you develop Chrome extensions, use npx modern-web-guidance@latest install --choose: it opens the installer to pick which skills to install, including the separate chrome-extensions skill.
The plugin is also in Claude Code’s official marketplace:
claude plugin install modern-web-guidance@claude-plugins-official
Or add it from Google’s marketplace, inside Claude Code:
/plugin marketplace add GoogleChrome/modern-web-guidance
/plugin install modern-web-guidance@googlechrome
/plugin # Select GoogleChrome marketplace, press enter, enable AutoUpdate
/reload-plugins
Enable automatic updates: with 121 versions published since April, the guides change often. If you already use other Claude Code skills, this coexists with them without issue, because it only loads a guide when the task calls for it.
What about Codex or GitHub Copilot CLI?
On OpenAI Codex:
codex plugin marketplace add GoogleChrome/modern-web-guidance
codex plugin add modern-web-guidance@googlechrome
On GitHub Copilot CLI:
/plugin marketplace add GoogleChrome/modern-web-guidance
/plugin install modern-web-guidance@googlechrome
What about Gemini CLI, Antigravity, or other agents?
# Gemini CLI
gemini extensions install https://github.com/GoogleChrome/modern-web-guidance --auto-update
# Antigravity CLI
agy plugin install https://github.com/GoogleChrome/modern-web-guidance
# Goose
goose plugin install https://github.com/GoogleChrome/modern-web-guidance --auto-update
# Grok Build CLI
grok plugin install https://github.com/GoogleChrome/modern-web-guidance --trust
# Kimi Code (inside the agent)
/plugins install https://github.com/GoogleChrome/modern-web-guidance
In Antigravity’s desktop app, enable it during setup or from Settings, under Customizations. In JetBrains WebStorm it’s in the Skill Manager: Settings > AI Assistant > Skills, then Install.
For any other agent compatible with agent skills, use Vercel’s Skills CLI or GitHub’s CLI:
npx skills add GoogleChrome/modern-web-guidance
gh skill install GoogleChrome/modern-web-guidance
Can you try Modern Web Guidance without installing anything?
Yes. The CLI runs directly with npx:
npx modern-web-guidance@latest search "<query>"
npx modern-web-guidance@latest retrieve "<guide-id>"
npx modern-web-guidance@latest legacy-scan .
search and retrieve show you exactly what your agent would read. legacy-scan . is new compared to the preview: it scans your project for legacy patterns that already have a modern replacement. It’s a good way to measure how much existing code would gain before changing your workflow.
How do you enable experimental web features?
By default, Origin Trial and volatile features show up in search but are blocked in retrieve, so the agent doesn’t write code that depends on APIs that might still change. To enable them in a project, create a .mwgrc file (in your project root or in ~/.mwgrc) with these commands:
npx modern-web-guidance@latest set-allow-origin-trials
npx modern-web-guidance@latest set-allow-volatile-features
They enable "allowOriginTrials": true and "allowVolatileFeatures": true, respectively.
Is it free and what telemetry does it collect?
It’s free and open source: the code is licensed Apache-2.0 and the guide content is CC BY 4.0, with parts derived from MDN Web Docs and specifications from the W3C, WHATWG, and IETF.
It does send anonymous telemetry to Google: number of installations, name of the agent calling it, IDs of guides retrieved, and searches generated by the agent. Your original prompts aren’t collected. To disable it, add this to your shell profile:
export DISABLE_TELEMETRY=1
What changed since the preview version?
When we first covered it, Modern Web Guidance was an early preview with four skill areas and around 128 capabilities. In version 1.0 (November 10, 2026):
- 250 capabilities and 203 use cases
- Firefox and MDN join Chrome and Edge as maintainers
- installation for Codex, Grok Build, and Kimi Code
- the
legacy-scancommand and per-project configuration with.mwgrc - evaluation results published per agent
Contributions and issues go to a separate source repository, GoogleChrome/modern-web-guidance-src; the main repository is the publication destination. If you’re interested in Google’s strategy behind the project and its relationship with WebMCP, we analyze it in Modern Web Guidance + WebMCP: the two halves of Google’s bet on agentic web.
What about you? What old pattern does your AI agent keep slipping into when you ask it for an interface?
- I review it by hand
- With rules in the prompt or in the instructions file
- With a skill like Modern Web Guidance
- I prefer another option (tell us which)
Comment below or, if this article reached you by email, reply directly to the email: your response gets published here.
Related: The best skills for AI agents: 21 that make your AI code like a senior
