Agent skill

Cpra Opt Out Signals

by mukul975 in mukul975/Privacy-Data-Protection-Skills

Implements CPRA Section 1798.135 opt-out preference signal handling, covering Global Privacy Control (GPC) technical detection, automated signal honoring, cross-device consistency, and the…

Apache-2.0Auto-check passedLegal & Compliance

Install Cpra Opt Out Signals

skills CLI
$ npx skills add mukul975/Privacy-Data-Protection-Skills --skill cpra-opt-out-signals -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mukul975/Privacy-Data-Protection-Skills cpra-opt-out-signals --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mukul975/Privacy-Data-Protection-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/privacy/cpra-opt-out-signals .claude/skills/cpra-opt-out-signals && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cpra-opt-out-signals
GitHub stars
301
Token cost
~2k tokens
SKILL.md length
871 words
Files
5 (incl. scripts, references, assets)
Skills in repo
280
Repo updated
First seen
Licence
Apache-2.0

At a glance

Implements CPRA Section 1798.135 opt-out preference signal handling, covering Global Privacy Control (GPC) technical detection, automated signal honoring, cross-device consistency, and the…

  • Works in 7 steps: Detect the GPC Signal → Map GPC Signal to Consumer → Automated Honoring → …
  • Tasks that involve Privacy and GDPR
  • SKILL.md covers Overview, Legal Foundation, Technical Implementation and Monitoring and Testing
  • Runs Python scripts from its folder

What it does

Cpra Opt Out Signals is an agent skill from mukul975/Privacy-Data-Protection-Skills. Implements CPRA Section 1798.135 opt-out preference signal handling, covering Global Privacy Control (GPC) technical detection, automated signal honoring, cross-device consistency, and the relationship between browser signals and explicit consumer choices. Activate for GPC, opt-out preference signal, CPRA 1798.135, browser privacy signal, Do Not Sell queries.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts, reference files and assets (for example `assets/template.md`, `references/standards.md` and `references/workflows.md`).

It sits in Legal & Compliance, covering Privacy and GDPR and Responsive design. The repository describes itself as: 282+ structured privacy & data protection skills for AI agents. GDPR, CCPA, EU AI Act, HIPAA, LGPD, PIPL, DPDP Act. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Privacy and GDPR
  • Tasks that involve Responsive design

Example prompts

  • “Use the cpra-opt-out-signals skill to implement CPRA Section 1798.135 opt-out preference signal handling, covering Global Privacy Control (GPC)…”
  • “/cpra-opt-out-signals”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Detect the GPC Signal
  2. Map GPC Signal to Consumer
  3. Automated Honoring
  4. Consent Management Platform (CMP) Integration
  5. Cross-Device Consistency
  6. Conflict Resolution
  7. Documentation and Audit

What it can do on your machine

Read from SKILL.md and the folder at commit 9b2ef9e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cpra Opt Out Signals loads about 2k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 871 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mukul975/Privacy-Data-Protection-Skills at commit 9b2ef9e, republished under its Apache-2.0 licence (© mukul975). 871 words, ~1,960 tokens.

Download SKILL.mdSave it as .claude/skills/cpra-opt-out-signals/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
cpra-opt-out-signals
description
Implements CPRA Section 1798.135 opt-out preference signal handling, covering Global Privacy Control (GPC) technical detection, automated signal honoring, cross-device consistency, and the relationship between browser signals and explicit consumer choices. Activate for GPC, opt-out preference signal, CPRA 1798.135, browser privacy signal, Do Not Sell queries.
license
Apache-2.0
metadata.author
mukul975
metadata.version
1.0
metadata.domain
privacy
metadata.subdomain
data-subject-rights
metadata.tags
opt-out-preference-signal, gpc, cpra, global-privacy-control, do-not-sell

Implementing CPRA Opt-Out Preference Signals

Overview

CPRA Section 1798.135 requires businesses to treat opt-out preference signals (such as Global Privacy Control / GPC) as valid consumer requests to opt out of the sale and sharing of personal information. This skill covers the technical detection of GPC signals, automated honoring workflows, cross-device consistency requirements, and the interaction between browser-level signals and explicit consumer choices.

CPRA Section 1798.135 — Methods of Limiting Sale, Sharing, and Use
  1. Section 1798.135(a) — A business that sells or shares consumers' personal information shall provide a clear and conspicuous link on its homepage titled "Do Not Sell or Share My Personal Information."

  2. Section 1798.135(b)(1) — A business that sells or shares personal information shall treat the consumer's use of an opt-out preference signal as a valid request to opt out under Section 1798.120.

  3. Section 1798.135(b)(3) — A business that complies with subsection (b)(1) is not required to post the "Do Not Sell or Share My Personal Information" link on its homepage, provided it instead posts a link to a page describing the consumer's opt-out rights.

  4. Section 1798.135(e) — A business may not interpret the absence of an opt-out preference signal as consent to sell or share personal information.

CCPA Regulations (11 CCR Section 7025)
  • Section 7025(a) — A business shall process an opt-out preference signal as a valid request to opt out of sale/sharing for that browser or device, and, if known, the consumer.
  • Section 7025(b) — If the business is unable to identify the consumer, the opt-out shall apply to the browser or device from which the signal was sent.
  • Section 7025(c) — The business shall not require the consumer to provide additional information to opt out via a preference signal, unless necessary to verify the consumer's identity.
  • Section 7025(d) — If a conflict exists between the opt-out preference signal and a consumer's business-specific privacy setting, the business shall process the opt-out preference signal but may notify the consumer of the conflict and provide the consumer the opportunity to confirm their intention.
Global Privacy Control (GPC) Specification

GPC is an HTTP header and JavaScript API signal that communicates a user's privacy preferences:

  • HTTP header: Sec-GPC: 1
  • JavaScript API: navigator.globalPrivacyControl === true
  • DNT header: GPC is distinct from the deprecated Do Not Track (DNT) header. GPC has legal effect under CPRA and Colorado Privacy Act; DNT does not.

Technical Implementation

Step 1: Detect the GPC Signal
Server-Side Detection

Check for the GPC HTTP header on every incoming request:

HTTP Header: Sec-GPC: 1

If the header is present and its value is 1, the user has activated GPC.

Client-Side Detection (JavaScript)

For single-page applications or client-side consent management:

javascript
if (navigator.globalPrivacyControl === true) {
    // GPC signal detected — treat as opt-out of sale/sharing
}
Step 2: Map GPC Signal to Consumer
ScenarioAction
Consumer is logged in (authenticated)Apply opt-out to the consumer's account across all devices
Consumer is not logged in but has cookiesApply opt-out to the browser/device
Consumer is anonymous (no identification)Apply opt-out to the current browsing session and device
Show full SKILL.md (390 more words)Show less
Step 3: Automated Honoring

When a GPC signal is detected, the following actions must be executed automatically:

  1. Suppress third-party tracking scripts: Do not load advertising pixels, third-party analytics trackers, or cross-site tracking scripts.
  2. Disable advertising cookies: Do not set or read cookies used for targeted advertising or cross-context behavioral advertising.
  3. Exclude from data sharing: Do not include the user's data in any data-sharing arrangements with third parties for advertising or monetisation purposes.
  4. Exclude from sale: Do not sell the user's personal information to any third party.
  5. Update consent management platform: Set the user's sale/sharing preference to "opted-out" in the CMP.

The CMP must be configured to:

  1. Detect GPC on page load: Before any third-party scripts are loaded.
  2. Suppress consent banner sale/sharing options: If GPC is detected, automatically set the sale/sharing toggle to "opted-out" and suppress any request for consent to sell/share.
  3. Allow explicit re-consent: If the consumer explicitly chooses to opt back in through the business's privacy settings, this explicit choice overrides the GPC signal for that business only.
  4. Log the signal: Record the GPC signal detection for compliance audit purposes.
Step 5: Cross-Device Consistency
Consumer StatusCross-Device Behaviour
Authenticated (logged-in account)GPC signal from one device triggers account-level opt-out across all devices
UnauthenticatedGPC signal applies only to the device/browser from which it was sent
Consumer later logs in from GPC-enabled deviceAccount-level opt-out is applied retroactively
Step 6: Conflict Resolution

When a conflict exists between the GPC signal and the consumer's explicit business-specific setting:

[GPC Signal Detected: Opt-Out]
         │
         ▼
[Does consumer have an explicit business-specific setting?]
   │
   ├── No explicit setting ──► Honor GPC signal (opt-out)
   │
   ├── Explicit opt-in to sale/sharing ──► [Conflict]
   │     └── Honor GPC signal (opt-out applies)
   │         Optionally: display notification
   │         "Your browser is sending a Global Privacy Control signal.
   │          We have applied this as an opt-out of sale/sharing.
   │          You previously opted in to sale/sharing on this site.
   │          If you wish to maintain your opt-in, please confirm
   │          in your privacy settings."
   │
   └── Explicit opt-out ──► No conflict (both agree on opt-out)
Step 7: Documentation and Audit
  1. Log every GPC signal detection with timestamp, IP hash, device identifier, and authenticated status.
  2. Log every opt-out action taken in response to a GPC signal.
  3. Maintain records for 24 months per CCPA regulation requirements.
  4. Include GPC signal handling in quarterly privacy compliance audits.
  5. Test GPC detection quarterly using browsers with GPC enabled (Firefox, Brave, DuckDuckGo).

Monitoring and Testing

Monthly Verification Checklist
  • GPC header detection confirmed operational (test with Sec-GPC: 1)
  • JavaScript API detection confirmed operational (test with navigator.globalPrivacyControl)
  • Third-party tracking scripts are suppressed when GPC is detected
  • Advertising cookies are not set when GPC is detected
  • CMP correctly reflects GPC opt-out status
  • Cross-device consistency confirmed for authenticated users
  • Conflict resolution functioning as designed
  • Audit logs recording GPC detections

© mukul975, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references, assets) in skills/privacy/cpra-opt-out-signals of mukul975/Privacy-Data-Protection-Skills.

  • SKILL.md
  • assets/template.md
  • references/standards.md
  • references/workflows.md
  • scripts/process.py

Open the folder on GitHubat commit 9b2ef9e

Compare with similar skills

Cpra Opt Out Signals next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cpra Opt Out Signals compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cpra Opt Out Signals this skillmukul975/Privacy-Data-Protection-Skills301—~2kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
HIPAA Safe Harbor Coverage Auditmaziyarpanahi/openmed5.5k—~1.7kAutomated safety check: PassApache-2.0
Korean Privacy Termskimlawtech/korean-privacy-terms587—~2.9kAutomated safety check: PassApache-2.0
Gdpr ComplianceSushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~3.9kAutomated safety check: PassMIT
Hipaa ComplianceSushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Checks OpenMed de-identified clinical text against the 18 HIPAA Safe Harbor identifier categories and reports gaps and residual re-identification risk.

    5.5k GitHub stars~1.7k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Korean Privacy Terms

    kimlawtech/korean-privacy-terms

    처리방침·이용약관 자동 생성 스킬 패키지 (v4.0). An agent skill from kimlawtech/korean-privacy-terms.

    587 GitHub stars~2.9k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Gdpr Compliance

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert GDPR compliance assistant covering all four core workflows: (1) auditing code and systems for GDPR violations, (2) drafting GDPR-compliant documents such as privacy policies, Data Processing…

    946 GitHub starsUsed in 1 repo~3.9k tokens
    Legal & ComplianceAuto-check passed
  • Hipaa Compliance

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert HIPAA compliance assistant for healthcare and software contexts.

    946 GitHub starsUsed in 1 repo~2.3k tokens
    Legal & ComplianceAuto-check passed
  • Pii Contract Analyze

    gregmos/PII-Shield

    Universal legal document processor with PII anonymization. An agent skill from gregmos/PII-Shield.

    150 GitHub stars~8.9k tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check: notes

More from mukul975/Privacy-Data-Protection-Skills

All 280 skills in this repo
  • Age Gating Services

    mukul975/Privacy-Data-Protection-Skills

    Implements age-gating mechanisms for online services to restrict access based on user age.

    301 GitHub stars~3.7k tokensUpdated 6 mo ago
    Auto-check passed
  • AI Data Retention

    mukul975/Privacy-Data-Protection-Skills

    Manages AI model retention and machine unlearning requirements.

    301 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • AI Dpia

    mukul975/Privacy-Data-Protection-Skills

    Conducts Data Protection Impact Assessments for AI and ML systems per EDPB Guidelines 04/2025 on AI processing.

    301 GitHub stars~3.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Dpia Mitigation Plan

    mukul975/Privacy-Data-Protection-Skills

    Structures risk mitigation planning and residual risk tracking for Data Protection Impact Assessments under GDPR Article 35(7)(d).

    301 GitHub stars~846 tokensUpdated 6 mo ago
    Auto-check passed
  • Gdpr Accountability

    mukul975/Privacy-Data-Protection-Skills

    Guides implementation of the GDPR accountability principle under Articles 5(2) and 24, including documentation requirements for policies, DPIAs, RoPA, training records, and breach logs.

    301 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Pia Threshold Screening

    mukul975/Privacy-Data-Protection-Skills

    Conducts pre-DPIA threshold screening to determine whether a full Data Protection Impact Assessment is required under GDPR Article 35.

    301 GitHub stars~880 tokensUpdated 6 mo ago
    Auto-check passed

Questions about Cpra Opt Out Signals

What does Cpra Opt Out Signals do?

Implements CPRA Section 1798.135 opt-out preference signal handling, covering Global Privacy Control (GPC) technical detection, automated signal honoring, cross-device consistency, and the…. Cpra Opt Out Signals is an agent skill from mukul975/Privacy-Data-Protection-Skills.135 opt-out preference signal handling, covering Global Privacy Control (GPC) technical detection, automated signal honoring, cross-device consistency, and the relationship between browser signals and explicit consumer choices.

When should I use Cpra Opt Out Signals?

Cpra Opt Out Signals fits situations like: tasks that involve Privacy and GDPR; tasks that involve Responsive design.

How do I install Cpra Opt Out Signals in Claude Code?

Run `npx skills add mukul975/Privacy-Data-Protection-Skills --skill cpra-opt-out-signals -a claude-code`. Or copy the skill folder (skills/privacy/cpra-opt-out-signals in mukul975/Privacy-Data-Protection-Skills) into .claude/skills/cpra-opt-out-signals in your project. Claude Code loads it when a task matches its description.

How do I install Cpra Opt Out Signals in Codex?

Run `npx skills add mukul975/Privacy-Data-Protection-Skills --skill cpra-opt-out-signals -a codex`. Or copy the skill folder (skills/privacy/cpra-opt-out-signals in mukul975/Privacy-Data-Protection-Skills) into .agents/skills/cpra-opt-out-signals in your project. Codex loads it when a task matches its description.

Can I use Cpra Opt Out Signals in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mukul975/Privacy-Data-Protection-Skills --skill cpra-opt-out-signals -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cpra-opt-out-signals, .gemini/skills/cpra-opt-out-signals, .github/skills/cpra-opt-out-signals and .opencode/skills/cpra-opt-out-signals in your project.

What does Cpra Opt Out Signals need to run?

Going by SKILL.md and its folder, Cpra Opt Out Signals needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Cpra Opt Out Signals access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cpra Opt Out Signals safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cpra Opt Out Signals use?

Cpra Opt Out Signals is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cpra Opt Out Signals use?

About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Cpra Opt Out Signals?

Skills that share tags, products or a category with Cpra Opt Out Signals: C15t (c15t/c15t, 1.9k stars), HIPAA Safe Harbor Coverage Audit (maziyarpanahi/openmed, 5.5k stars), Korean Privacy Terms (kimlawtech/korean-privacy-terms, 587 stars) and Gdpr Compliance (Sushegaad/Claude-Skills-Governance-Risk-and-Compliance, 946 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cpra Opt Out Signals?

mukul975 (a GitHub user) maintains it in mukul975/Privacy-Data-Protection-Skills, which has 301 GitHub stars. The repository holds 280 skills in this directory. The repository was last updated on March 16, 2026.

Source: mukul975/Privacy-Data-Protection-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.