modern-web-guidance

modern-web-guidance is a skill for Claude Code from GoogleChrome/modern-web-guidance. It costs 210 tokens per session (1,864 once invoked), scanned A, original, Apache-2.0.

A lookup tool for current web development guidance covering HTML, CSS, and browser-side JavaScript.

In plain words
What is it for?
Use it before implementing interfaces such as dialogs, popovers, layouts, or performance improvements to find relevant best-practice guides.
Why use it?
It helps developers avoid outdated techniques and check whether a standard pattern already exists before building a web feature.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Part of the modern-web-guidance plugin — 2 skills shipped together

Good fit Use it before implementing interfaces such as dialogs, popovers, layouts, or performance improvements to find relevant best-practice guides.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/googlechrome/modern-web-guidance/modern-web-guidance
About the project

Modern Web Guidance is a set of agent skills that supplies coding agents with curated advice on current web platform APIs, browser compatibility, performance, and accessibility. It helps agents choose newer browser capabilities instead of reproducing older web development patterns, and the catalogue entries are its installable skills and plugin.

GoogleChrome/modern-web-guidance · 2,629 stars · on GitHub · goo.gle

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GoogleChrome/modern-web-guidance --skill modern-web-guidance
Clone the repo
git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance

Made for: Claude Code.

Or install modern-web-guidance, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for modern-web-guidance

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance/modern-web-guidance/github.svg)](https://agentmods.dev/skills/googlechrome/modern-web-guidance/modern-web-guidance)
Your own site
<a href="https://agentmods.dev/skills/googlechrome/modern-web-guidance/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance/modern-web-guidance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for modern-web-guidance

Your own site · 80×15
<a href="https://agentmods.dev/skills/googlechrome/modern-web-guidance/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance/modern-web-guidance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Oct 2026
  • Snyk pass 2 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 38
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 65
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 75
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 94
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 97
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 94
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00210 $0.01864
Opus 5.5 $0.00084 $0.00746
Sonnet 5.5 $0.00042 $0.00373
Haiku 4.5 $0.00021 $0.00186

Measured 3d ago against content hash f81b42a337b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

modern-web-guidance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/modern-web-guidance/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Modern Web Guidance

Search and retrieve standardized modern web best practices at the start of implementing or updating any web UI, CSS layout/animation, or client-side JS logic (dates/timezones, sanitization, performance, accessibility, UX fixes) before writing ad-hoc solutions or adding dependencies.

Usage Instructions

Step 1. Search Use Cases

Run modern-web-guidance directly with npx using a 2–5 word action-oriented query for a single web platform capability or UI pattern:

  • Keep queries focused and generic: Describe the user-visible capability (<verb> + <UI/platform object>, optionally paired with the target HTML/CSS/JS feature name if known). Omit framework/library names (React, Vue, Tailwind, etc.) and app/domain nouns (product, route, or component/file names). Split multi-feature tasks into separate search calls.
  • Example: Search "light dismiss dialog" or "responsive data table", not "dialog" (too terse), "responsive table dark mode" (compound — split into two searches), or "close React settings modal on outside click" (framework/app noise).
npx -y modern-web-guidance@latest search "<query>" --skill-version 2026_10_30-58d055df

Note: Returns [{ "id", "description" }, ...]. Judge results by their description fields:

  • Match found: Call retrieve directly—do not also run list.
  • No match on a web UI/CSS/DOM behavior (or broad UI audit): If search returns [] or unrelated descriptions because your phrasing differed from the catalog (or your task spans multiple categories), run npx -y modern-web-guidance@latest list once to check if the pattern is covered under more general terminology.
  • Topic not covered: If no guide description directly matches your task, proceed with your implementation without retry loops or retrieving unrelated guides.

Step 2. Retrieve Best Practices

Once you have relevant id(s) from the search results, call retrieve to get the full guide(s)—including both specific use-case guides that match your task and any broader discipline guide (e.g., html, css, forms, accessibility, color, performance, security) that applies. You can pass multiple IDs separated by commas.

Read the full file on GitHub · 73 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · -64 lines · -58 tokens per session f81b42a337b4
  2. 18d ago Changed · +5 lines · +35 tokens per session 11be6f07942e
  3. 25d ago Changed · +8 lines e810a6759ce5
  4. 1mo ago Changed · -1 lines 0d22fb5b550d
  5. 2mo ago Changed · +10 lines 04c155936a74
  6. 2mo ago First seen · 115 lines · 233 tokens per session scan A 0e7aae3cc355

Subscribe to this mod's changes

modern-web-guidance is a skill published in the GitHub repository GoogleChrome/modern-web-guidance (2,629 stars, last pushed 4d ago), licensed Apache-2.0. It adds 210 tokens to every session and 1,864 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

modern-web-guidance compared with skills from other repositories

modern-web-guidance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modern-web-guidanceGoogleChrome/modern-web-guidanceSkill2.6k4d agoApache-2.0A210Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8kyesterdayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.1kyesterdayMITA104Claude Code
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex