modern-web-guidance

modern-web-guidance is a skill for Claude Code from unbrowse-ai/unbrowse. It costs 123 tokens per session (2,258 once invoked), scanned A, a copy of modern-web-guidance, Apache-2.0.

A frontend development guide based on Chrome's Modern Web Guidance, with browser checks using agent-browser. It helps apply current web-platform practices and then verify the built page in Chrome.

In plain words
What is it for?
It is for building or modernizing web interfaces and checking issues such as layout movement, motion preferences, and browser behavior.
Why use it?
Static code checks alone cannot show whether a page works or whether visual behavior is correct in a real browser.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for building or modernizing web interfaces and checking issues such as layout movement, motion preferences, and browser behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unbrowse-ai/unbrowse/modern-web-guidance
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 unbrowse-ai/unbrowse --skill modern-web-guidance
Clone the repo
git clone --depth 1 https://github.com/unbrowse-ai/unbrowse

Made for: Claude Code.

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/unbrowse-ai/unbrowse/modern-web-guidance/github.svg)](https://agentmods.dev/skills/unbrowse-ai/unbrowse/modern-web-guidance)
Your own site
<a href="https://agentmods.dev/skills/unbrowse-ai/unbrowse/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/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/unbrowse-ai/unbrowse/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/modern-web-guidance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,258 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.
Origin 100% copy Near-identical to another mod 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.00123 $0.02258
Opus 5.5 $0.00049 $0.00903
Sonnet 5.5 $0.00025 $0.00452
Haiku 4.5 $0.00012 $0.00226

Measured 7d ago against content hash 93234d8103db, 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 7d 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

This is a copy

100% identical to modern-web-guidance — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

unbrowse-browser/skill-data/modern-web-guidance/SKILL.md · 166 lines

How it starts

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

Modern Web Guidance

Modern Web Guidance is a set of guides from Chrome that describe how to build common UI with current web platform features, including Baseline compatibility data. Its CLI returns guidance and can statically scan source files for legacy patterns. It does not load or run the page, so it cannot tell you whether the result works.

Use Modern Web Guidance to decide what to write and agent-browser to check the built page in Chrome. Finish only after every rule you applied has a browser check with recorded evidence.

Get the guidance

Search for the task, then retrieve the guides that match. You do not need to install anything; npx runs the CLI directly.

npx modern-web-guidance@latest search "animate a dialog"
# [{"id":"animate-to-from-top-layer","description":"Animate elements such as dialogs, popovers, and tooltips as they're entering/exiting the top layer."}, ...]

npx modern-web-guidance@latest retrieve "dialog"
npx modern-web-guidance@latest retrieve "dialog,animate-to-from-top-layer"
npx modern-web-guidance@latest list

retrieve accepts one ID or several comma-separated IDs. When the text is larger than 9,500 bytes and standard output is not a file, the CLI saves it to a file in the system temporary directory and prints only its path, for example Output (12.1 KB, 220 lines) saved to .../mwg-guide-49624-1794420750850.md. Read that whole file before you write code. To choose the location, redirect the output to a file, which receives the full guide:

npx modern-web-guidance@latest retrieve "dialog" > dialog.md

To find existing code that a guide would replace, run the static scan on the source directory. It reads files only:

npx modern-web-guidance@latest legacy-scan ./src --json
npx modern-web-guidance@latest legacy-scan ./src --guide dialog

The scan has rules for only part of the guidance (33 guides in version 1.0.0), so a result with no findings does not mean the code already follows every guide.

Read the full file on GitHub · 166 lines

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. 7d ago First seen · 166 lines · 123 tokens per session scan A 93234d8103db

Subscribe to this mod's changes

modern-web-guidance is a skill published in the GitHub repository unbrowse-ai/unbrowse (951 stars, last pushed yesterday), licensed Apache-2.0. It adds 123 tokens to every session and 2,258 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to modern-web-guidance, differing in 0 lines, and is treated as a copy.

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-guidanceunbrowse-ai/unbrowseSkill951yesterdayApache-2.0A123Claude Code
transcriptapiZeroPointRepo/youtube-skillsSkill1.2k26d agoMITA110Claude Code
youtube-playlistZeroPointRepo/youtube-skillsSkill1.2k26d agoMITA64Claude Code
cross-validated-searchInternLM/WildClawBenchSkill53612d agoMITA39Claude Code, Codex
gogopowermanagerbastos/skillsSkill75d agoMITA82Codex
apple-cktool-jsbastos/skillsSkill75d agoMITA141Codex
awkbastos/skillsSkill75d agoMITA141Claude Code, Codex