Modern Web Guidance is a free skill from Google's Chrome team that gives coding agents up-to-date web advice. When you ask your agent for a pop-up, a form, dark mode or an animation, it searches a library of guides first and then writes code with what browsers support today, instead of older patterns from its training.
It earns its place because AI agents often write heavy JavaScript for things the browser now does by itself. The guides cover layout, forms, accessibility, speed, security and browser AI, and each comes with fallbacks. The search runs on your computer with no API key. You can try it without installing, and a legacy-scan command looks through your project for old patterns to modernise.
The code is under Apache 2.0 and the guides under CC BY 4.0. The README says it is looked after by the Chrome, Microsoft Edge, Mozilla Firefox and MDN teams. The repo has about 25,600 stars, and version 1.0.2 came out on 23 November 2026. It is built from a second repo, modern-web-guidance-src, where people report problems.
- Repository: github.com/GoogleChrome/modern-web-guidance
- Licence: Apache-2.0 (Apache License 2.0)
- Language: mixed. Stars: 25.6K. Forks: 1,087. Last push: Nov 23, 2026.
- Scan: safe, Nov 24, 2026, commit 2b4aa13
Who it is for
Web developers who use Claude Code, Codex, Cursor, Gemini or Copilot, people building sites with AI, and teams who want accessible, lighter code. You need Node.js 22 or later and one terminal command.
Getting started
1. Install with the interactive wizard
npx modern-web-guidance@latest install2. Or add it with the Skills CLI
npx skills add GoogleChrome/modern-web-guidance3. Try a search without installing
npx modern-web-guidance@latest search "animate a dialog modal backdrop"4. Look for old patterns in your project
npx modern-web-guidance@latest legacy-scan .5. Optional: turn telemetry off (for bash, use ~/.bashrc)
echo 'export DISABLE_TELEMETRY=1' >> ~/.zshrcThe wizard adds the skill to the agents you choose. The skill tells your agent to run npx modern-web-guidance@latest each time, so it always uses the newest version from npm, and to end its reply with a short note on which guides it used. Our scan covers this repo and the source repo, not the built npm package.
Safety scan
We cloned GoogleChrome/modern-web-guidance at commit 2b4aa13 on Nov 24, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.
- 0 secret hits and no committed binaries across 267 files and about 42,000 lines, nearly all Markdown guides. We also scanned the source repo, 2,419 files: its 5 hits are fake private-key markers used to test a tool that blanks out secrets.
- 0 pattern hits here, and no hidden Unicode or injection phrases in the guides. In the source repo, 2 hits are a script that sets up a nightly job for the maintainers' own tests. It is not part of what you install.
- No install scripts in this repo, and the npm package has no dependencies and no install hooks. The skill text marks itself as mandatory for web tasks, so expect your agent to use it often. Switching on experimental features needs a person to confirm: the command refuses to run from an agent.
- 0 advisories here, since there is nothing to install. The source repo has 9 in its development tools (0 critical, 1 high in Vite), which are used to build and test the guides.
- Telemetry is on by default and the README explains it. It sends install counts, the agent's name, which guides were read and the search phrases your agent writes to Google (play.googleapis.com). Google says raw prompts are not collected, and DISABLE_TELEMETRY=1 turns it off. This repo has no workflows. The source repo has 8, with every third-party action pinned; its one pull_request_target workflow checks out only the main branch. No security policy in either repo; Dependabot runs in the source repo.
What the scanner counted
| Check | Result |
|---|---|
| Secrets | None found. |
| Suspicious code | None found. |
| Install-time code | None: nothing runs at install beyond the package manager itself. |
| Committed binaries | None. |
| CI workflows | No GitHub Actions workflows. |
| Network hosts | 0 distinct hosts referenced from source. No URLs to bare IP addresses. |
| Known vulnerabilities | No lockfile to check: dependencies are declared as ranges, so what gets installed is whatever is current on the day. |
| Project hygiene | Has licence file, contributing guide. Missing security policy, automated dependency updates, CodeQL. |
| OpenSSF Scorecard | Not scored: the project is not in Scorecard's weekly index. |
By the numbers
| Stars | 25.6K |
|---|---|
| Forks | 1,087 |
| Contributors | 4 |
| Commits | 218 |
| Open issues | 0 |
| Open pull requests | 0 |
| Releases | 15 |
| Latest release | v1.0.2 |
| Licence | Apache-2.0 |
| Main language | mixed |
| Project age | 8 months |
| Last push | Nov 23, 2026 |
| Tracked files | 267 |
| Lines of code | 42.1K |
| Checkout size | 2 MB |
Lines by language: Markdown 41.9K, JSON 208, TOML 7.
Questions
Is Modern Web Guidance free?
Yes. The code is under Apache 2.0 and the guides under CC BY 4.0, with no paid version.
Does Modern Web Guidance send my data anywhere?
Yes, unless you turn it off. It sends anonymous usage data to Google, including the search phrases your agent writes. Set DISABLE_TELEMETRY=1 to stop it.
Which coding agents does it work with?
Any agent that supports skills and can run commands. The repo has plugin files for Claude, Codex, Cursor, Gemini, Grok and Kimi, and the README covers GitHub Copilot and Google Antigravity.
Modern Web Guidance or Context7?
Context7 looks up documentation for libraries and frameworks. Modern Web Guidance covers the web platform itself: HTML, CSS and browser features. Many people could use both.
Do I need to know how to code?
Some. It helps an AI agent write web code, so you need a project and a coding agent to use it with.
This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.
