privacy

privacy is a skill for Claude Code, Codex from GoogleChrome/modern-web-guidance-src. It costs 46 tokens per session (2,016 once invoked), scanned A, original, Apache-2.0.

A set of privacy-by-design guidelines for software that handles user data, cookies, tracking, third-party scripts, or browser permissions. Privacy by design means considering data protection from the start of development.

In plain words
What is it for?
Use it to design data-minimizing systems, logout behavior, consent interfaces, browser privacy features, and third-party integrations.
Why use it?
It helps reduce unnecessary data collection, explain consent clearly, and limit privacy and breach risks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

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.

GoogleChrome/modern-web-guidance-src · 1,019 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.

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

Made for: Claude Code, Codex.

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 privacy

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance-src/privacy.svg)](https://agentmods.dev/skills/googlechrome/modern-web-guidance-src/privacy)
Your own site
<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>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00046 $0.02016
Opus 5 $0.00023 $0.01008
Sonnet 5 $0.00009 $0.00403
Haiku 4.5 $0.00005 $0.00202

Measured 7d ago against content hash 6dbb620cd9f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

skills-src/privacy/SKILL.md · 222 lines

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-describedby to link inputs to their explanations.
  • DO use the Clear-Site-Data HTTP 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-origin or no-referrer) to prevent leaking sensitive URL query parameters.
  • DO use rigid Permissions-Policy to lock down powerful APIs (geolocation, camera) globally or for subframes.
  • DO use Content-Security-Policy-Report-Only for continuous automated audits of where third-party scripts are attempting to send data.

Read the full file on GitHub · 222 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 · 222 lines · 46 tokens per session scan A 6dbb620cd9f1

Subscribe to this mod's changes

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.

Related

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.

chromium/chromium · 26 tokens

legal-iros-registry-automation

대법원 인터넷등기소(IROS, iros.go.kr)에서 법인·부동산 등기부등본(등기사항증명서)을 여러 건 일괄 발급할 때 안전한 작업 순서와 로컬 자동화 방법을 안내합니다. 로그인·인증·결제는 사용자가 브라우저에서 직접 처리하고, 본 스킬은 장바구니 담기· 결제 후 열람·저장·종합 리포트 생성을 보조합니다. 다음과 같은 요청 시 반드시 이 스킬을 사용하세요: "법인등기부등본 100개 한번에 떼야 해", "회사 100개 등기부 정리해줘" "고객사 등기부등본 일괄 발급", "실사 대상 법인 등기 묶음 처리" "인터넷등기소 자동화", "iros.go.kr 일괄 발급"…

modu-ai/moai-cowork · 310 tokens

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…

personamanagmentlayer/pcl · 94 tokens

browse

Web browsing for legal work: extract contracts from portals, navigate legal research sites, pull documents from cloud storage, capture evidence screenshots.

eigenlegal/counsel-os · 28 tokens

capturar-sessao-pje

Captura sessao do PJE via Chrome MCP com login automatico. Use antes de baixar processos.

georgemarmelstein/superjurista-dev · 29 tokens

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.

matematicsolutions/awesome-matematic-skills-pl · 88 tokens