Modern Web Guidance is a source repository for coding-agent skills that provide web-platform guidance, recommended practices, and browser compatibility information. It helps coding agents choose newer web APIs and patterns when generating web applications. The catalogue skills are the guidance produced and maintained by this project.
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.
npx agentmods add skills/googlechrome/modern-web-guidance-src/privacynpx skills add GoogleChrome/modern-web-guidance-src --skill privacygit clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-srcWrote 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.
[](https://agentmods.dev/skills/googlechrome/modern-web-guidance-src/privacy)<a href="https://agentmods.dev/skills/googlechrome/modern-web-guidance-src/privacy"><img src="https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance-src/privacy.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.02016 |
| Opus 5 | $0.00023 | $0.01008 |
| Sonnet 5 | $0.00009 | $0.00403 |
| Haiku 4.5 | $0.00005 | $0.00202 |
Grade A, and why
privacy 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.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Privacy
Web application architects and developers must treat privacy not as an compliance afterthought, but as a foundational architectural design requirement. Modern web platforms are shifting away from implicit tracking toward explicit, user-consented, browser-mediated identity and permission exchanges.
1. Privacy by Design and Data Minimization
Reducing the digital footprint to limit breach exposure and foster user trust.
DOs:
- DO collect only adequate, relevant, and strictly necessary data for a stated purpose.
- DO use lower granularity ("fuzzing") where precise data is not required (e.g., age brackets vs. exact birthdates).
- DO offer guest checkouts to avoid forced account creation.
- DO explain why data is collected inline, using
aria-describedbyto link inputs to their explanations. - DO use the
Clear-Site-DataHTTP header upon logout to wipe client-side cookie caches and local storage.
DON'Ts:
- DON'T collect data speculatively "just in case" it becomes useful.
- DON'T rely on dark patterns or pre-checked opt-ins to force consent.
Code Examples:
Clear-Site-Data (HTTP)
Send this header on the page after logout confirmation.
Clear-Site-Data: "cache", "cookies", "storage"
Inline Transparency (HTML)
<div>
<label for="email">Email address*</label>
<input id="email" type="email" name="email" required aria-describedby="whyemail">
<a href="#whyemail">Why do we need this?</a>
<aside id="whyemail">
We need this email to send password resets. We will not use it for marketing unless you opt-in.
</aside>
</div>
2. Third-Party Audits and Mitigations
Limiting leakage introduced by external scripts, embeds, and tracking pixels.
DOs:
- DO audit third parties technically using DevTools (Network panel) and HAR logs.
- DO use the Façade Pattern (Lazy Loading) to load static thumbnails first, only loading heavy widget iframes upon user click.
- DO replace third-party social buttons with static HTML sharing links (e.g., zero tracking SDKs).
- DO set strict HTTP Referrer policies (
strict-origin-when-cross-originorno-referrer) to prevent leaking sensitive URL query parameters. - DO use rigid
Permissions-Policyto lock down powerful APIs (geolocation, camera) globally or for subframes. - DO use
Content-Security-Policy-Report-Onlyfor continuous automated audits of where third-party scripts are attempting to send data.
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.
- 7d ago First seen · 222 lines · 46 tokens per session scan A 6dbb620cd9f1
privacy is a skill published in the GitHub repository GoogleChrome/modern-web-guidance-src (1,019 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 2,016 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
policy-creation
Guide for adding new enterprise policies to Chromium. Complete guide for policy definitions, pref mapping, and writing tests.
legal-iros-registry-automation
대법원 인터넷등기소(IROS, iros.go.kr)에서 법인·부동산 등기부등본(등기사항증명서)을 여러 건 일괄 발급할 때 안전한 작업 순서와 로컬 자동화 방법을 안내합니다. 로그인·인증·결제는 사용자가 브라우저에서 직접 처리하고, 본 스킬은 장바구니 담기· 결제 후 열람·저장·종합 리포트 생성을 보조합니다. 다음과 같은 요청 시 반드시 이 스킬을 사용하세요: "법인등기부등본 100개 한번에 떼야 해", "회사 100개 등기부 정리해줘" "고객사 등기부등본 일괄 발급", "실사 대상 법인 등기 묶음 처리" "인터넷등기소 자동화", "iros.go.kr 일괄 발급"…
browser-automation-expert
Drive a real browser to navigate, extract data and complete flows on sites without an API: scraping, crawling, authentication, dynamic content and anti-bot handling. Use when the user mentions web scraping, crawling, browser automation, Puppeteer or headless Chrome, wants data pulled from a website, needs a login or…
browse
Web browsing for legal work: extract contracts from portals, navigate legal research sites, pull documents from cloud storage, capture evidence screenshots.
capturar-sessao-pje
Captura sessao do PJE via Chrome MCP com login automatico. Use antes de baixar processos.
webwright-legal-pl
Pobierz orzeczenia i akty prawne z polskich serwisów sądowych niedostępnych przez MCP (orzeczenia.ms.gov.pl, sn.pl, trybunal.gov.pl) używając Playwright. Użyj gdy potrzebujesz wyroku po sygnaturze z MS, SN lub TK, albo gdy mcp-saos nie ma danego orzeczenia.