/consent-management-skills:global-privacy-controlfrom consent-management-skills
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 consent-management-skills. 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
2 plugins in one repository ship this exact skill · first indexed Jul 7, 2026
14 skills in this plugin
/cnil-compliant-cookiesImplementation guide for CNIL cookie guidelines compliance. References the EUR 150M Google fine and EUR 60M Meta fine. Covers equal prominence accept/reject buttons, cookie wall prohibition, 6-month reconsent intervals, essential cookies exemption, and detailed CNIL Deliberation No. 2020-091 requirements./consent-for-transfersGuide for obtaining explicit consent for international data transfers under GDPR Article 49(1)(a). Covers informed consent requirements including risks of transfers without adequacy decisions or appropriate safeguards, specific destination country disclosure, and the narrow scope of derogation-based transfers./consent-platform-evalFramework for evaluating and selecting Consent Management Platforms (CMPs). Covers TCF v2.2 certification requirements, Global Privacy Control support, multi-regulation compliance (GDPR, CCPA, LGPD), A/B testing capabilities, API integration options, reporting features, and a structured vendor comparison methodology./consent-pref-centerTechnical architecture guide for building a multi-purpose consent preference center. Covers per-purpose granularity, easy withdrawal under Article 7(3), version history, audit trails, and IAB Transparency and Consent Framework v2.2 integration. Includes database schema, API design, and UI component specifications./consent-record-keepingGuide for building a consent record-keeping system to demonstrate valid consent per GDPR Article 7(1). Covers required fields including timestamp, version, purpose, mechanism, and identity. Implements audit-ready consent receipts per the Kantara Initiative Consent Receipt Specification and supervisory authority expectations./consent-withdrawalImplementation guide for GDPR Article 7(3) consent withdrawal mechanisms. Covers the equal ease requirement ensuring withdrawal is as easy as giving consent, one-click withdrawal implementation, cascading effects on downstream processing, third-party notification workflows, and technical architecture for real-time consent revocation.npx claudepluginhub mukul975/privacy-data-protection-skills --plugin consent-management-skillsOther plugins' skills for the same job