/privacy-skills-complete:universal-opt-outfrom privacy-skills-complete
Implements Global Privacy Control (GPC) universal opt-out mechanism for US state privacy laws. Covers browser detection, HTTP header handling, state-by-state requirements, and compliance testing.
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.
A universal opt-out mechanism is a browser or device-level signal that communicates a consumer's privacy preferences to websites and online services. The Global Privacy Control (GPC) is the leading universal opt-out mechanism, supported by major browsers (Firefox, Brave, DuckDuckGo) and browser extensions (Privacy Badger, Disconnect). Multiple US state privacy laws now require businesses to recognize and honor these signals.
GPC is defined in the Global Privacy Control specification (published by the GPC project), transmitted via the Sec-GPC: 1 HTTP header and the navigator.globalPrivacyControl JavaScript API.
| State | Law | Signal Required | Effective Date | Scope |
|---|---|---|---|---|
| California | CCPA/CPRA | Yes | Jan 1, 2023 | Sale + Sharing |
| Colorado | CPA | Yes | Jul 1, 2024 | Targeted ads + Sale |
| Connecticut | CTDPA | Yes | Jan 1, 2025 | Targeted ads + Sale |
| Montana | MTDPA | Yes | Oct 1, 2025 | Targeted ads + Sale |
| Texas | TDPSA | Not required | N/A | N/A |
| Virginia | VCDPA | Not required | N/A | N/A |
| Oregon | OCPA | Not required | N/A | N/A |
| Kentucky | KPPA | Not required | N/A | N/A |
Sec-GPC: 1
The Sec-GPC header is a structured header with a bare item value of 1 (true) or absent (no preference expressed). The Sec- prefix indicates it is a fetch metadata header set by the browser, not by JavaScript.
navigator.globalPrivacyControl // boolean: true or undefined
The navigator.globalPrivacyControl property returns true if the user has enabled GPC in their browser or extension, or undefined if GPC is not active.
function detectGPC() {
// Check JavaScript API
const jsGPC = navigator.globalPrivacyControl === true;
// The HTTP header is checked server-side
// This function covers client-side detection only
return {
gpcEnabled: jsGPC,
timestamp: new Date().toISOString(),
userAgent: navigator.userAgent,
};
}
function checkGPCHeader(req) {
const gpcHeader = req.headers['sec-gpc'];
return gpcHeader === '1';
}
app.use((req, res, next) => {
if (checkGPCHeader(req)) {
req.gpcOptOut = true;
// Apply opt-out before rendering page
res.locals.suppressThirdPartyTags = true;
res.locals.suppressCrossSiteBehavioralAds = true;
}
next();
});
HTTP Request Arrives
│
├─► Server-Side Check
│ └─ Parse Sec-GPC header from request
│
├─► Client-Side Check (for SPAs)
│ └─ Read navigator.globalPrivacyControl
│
└─► Combined Result
├─ GPC detected = true → Apply opt-out
└─ GPC not detected → Normal processing
| State | Sale Opt-Out | Sharing Opt-Out | Targeted Ads Opt-Out | Profiling Opt-Out |
|---|---|---|---|---|
| California | Yes | Yes | Implied (sharing = cross-context behavioral ads) | No (separate) |
| Colorado | Yes | N/A | Yes | No (separate) |
| Connecticut | Yes | N/A | Yes | No (separate) |
| Montana | Yes | N/A | Yes | No (separate) |
Authenticated Consumer (logged in):
sale_opt_out = true, targeted_ads_opt_out = trueUnauthenticated Consumer (not logged in):
Upon detecting GPC signal, the system must:
Suppress third-party advertising tags before page render:
Allow first-party processing:
Update server-side systems:
Sec-GPC: 1 header detectednavigator.globalPrivacyControl === trueTechnology stack: Consent management platform (CMP) with GPC signal handler, tag management system (TMS) with server-side control, privacy operations dashboard.
Architecture:
Sec-GPC: 1 header on incoming requestsgpc_opt_out: true flagWhat 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 19, 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