/privacy-skills-complete:global-privacy-controlfrom privacy-skills-complete
Implements Global Privacy Control (GPC) opt-out signal detection via Sec-GPC header and navigator.globalPrivacyControl API. Includes server-side detection code and state-by-state compliance mapping for CA, CO, CT, MT, TX, and OR privacy laws.
Ships in privacy-skills-complete. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Global Privacy Control (GPC) is a browser-level signal that communicates a user's privacy preference to opt out of the sale or sharing of their personal information. The GPC specification defines both an HTTP header (Sec-GPC: 1) and a JavaScript API (navigator.globalPrivacyControl) for transmitting this signal.
Under California Privacy Rights Act (CPRA) Section 1798.135(e), businesses must treat GPC signals as valid opt-out requests. The California Attorney General confirmed this enforcement position in the Sephora settlement (August 2022, $1.2 million fine), which was the first enforcement action involving GPC signals.
The GPC signal is transmitted as an HTTP request header:
Sec-GPC: 1
This header is set by the browser (or browser extension) on every HTTP request when the user has enabled GPC. The header is absent (not set to 0) when GPC is not enabled.
The GPC signal is also available via the JavaScript DOM API:
// Check if GPC is supported and enabled
if (navigator.globalPrivacyControl === true) {
// User has opted out — do not sell/share personal information
// Do not load non-essential tracking scripts
// Set internal opt-out flag for this user
}
Key considerations:
navigator.globalPrivacyControl returns true when GPC is enablednavigator.globalPrivacyControl returns false or undefined when GPC is not enabled or not supportedOn the server side, check for the Sec-GPC header in incoming requests:
If Sec-GPC header is present AND equals "1":
→ Set opt-out flag for this session/user
→ Do not initiate sale or sharing of personal information
→ Do not load third-party tracking pixels
→ Log GPC signal receipt for compliance records
CloudVault SaaS Inc. checks GPC at two points:
Page Load: Before initializing any analytics or advertising SDKs, check navigator.globalPrivacyControl. If true, suppress non-essential tracking.
Consent Banner Interaction: If GPC is detected, pre-select the "Opt Out of Sale/Sharing" option in the cookie consent banner and display a notice: "We detected your Global Privacy Control signal. Your opt-out preference has been applied."
The CloudVault SaaS Inc. backend middleware:
Sec-GPC: 1 header.gpc_opt_out = true.Sec-GPC response header echoing the signal (transparency).GPC is a binary signal (opt out of sale/sharing). CloudVault SaaS Inc. maps it to specific consent purposes:
| GPC Signal | Internal Purpose | Action |
|---|---|---|
| Sec-GPC: 1 | pur_benchmarking_003 (Third-party data sharing) | Withdraw consent / opt out |
| Sec-GPC: 1 | pur_advertising_004 (Targeted advertising) | Withdraw consent / opt out |
| Sec-GPC: 1 | pur_analytics_001 (Service improvement) | No change (internal use, not sale/sharing) |
| Sec-GPC: 1 | pur_marketing_002 (Product emails) | No change (direct marketing, not sale/sharing) |
When a user has manually opted in via the preference center but their browser sends GPC:
To verify GPC implementation:
Sec-GPC: 1 header is sent in network requestsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mukul975/privacy-data-protection-skills --plugin privacy-skills-complete2 plugins in one repository ship this exact skill · first indexed Jul 7, 2026
282 skills in this plugin
/42-cfr-part-2Implements 42 CFR Part 2 protections for substance use disorder patient records. Covers written consent requirements stricter than HIPAA, re-disclosure prohibition, court order procedures, qualified service organization agreements, and 2024 amendments aligning Part 2 with HIPAA. Keywords: 42 CFR Part 2, substance use disorder, SUD records, re-disclosure, consent, Part 2 amendments./adequacy-assessmentGuides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list./age-gating-servicesOther plugins' skills for the same job