Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ccpa-compliance

БесплатноБез исполняемых скриптовНе проверен

Builds California Consumer Privacy Act (CCPA, as amended by CPRA) compliance features: consumer request handling, opt-out of sale/sharing, Global Privacy…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

CCPA / CPRA Compliance

Overview

The California Consumer Privacy Act (CCPA), amended by CPRA (California Privacy Rights Act effective January 1, 2023), gives California residents rights over their personal information. Applies to for-profit businesses that do business in California and:

  • Have annual gross revenue above the inflation-adjusted threshold ($26,625,000 since 2025-01-01; the statute says $25M and is re-indexed in odd-numbered years), OR
  • Buy, sell or share personal info of 100,000+ California consumers/households, OR
  • Derive 50%+ of annual revenue from selling or sharing personal info

Administrative fines (California Privacy Protection Agency or Attorney General): up to $2,663 per violation, $7,988 for intentional violations or those involving minors under 16 (2025 adjustment of $2,500 / $7,500). Consumers cannot sue for ordinary violations; the private right of action covers data breaches only ($107 to $799 per consumer per incident since 2025). Source: cppa.ca.gov/regulations/cpi_adjustment.html. The regulations in force from 2026-01-01 also add risk assessments, cybersecurity audits and automated decision-making technology (ADMT) rules with their own start dates; this skill covers the consumer-request and opt-out core only. This is engineering guidance, not legal advice.

Instructions

Consumer Rights Under CCPA/CPRA

Right Description Response Deadline
Right to Know / Access (incl. portable copy) What personal info is collected, used, shared, sold Confirm receipt in 10 business days; answer in 45 days (+45-day extension with notice)
Right to Delete Request deletion of personal info Same: 10 business days / 45 days
Right to Correct Correct inaccurate personal info (CPRA) Same: 10 business days / 45 days
Right to Opt-Out Opt out of sale or sharing of personal info As soon as feasible, at most 15 business days; no verification may be required
Right to Limit Limit use of sensitive personal info (CPRA) At most 15 business days
Right to Non-Discrimination Cannot be denied service for exercising rights Always

Source: CPPA regulations, sections 7021 and 7026 (cppa.ca.gov/regulations).

Sensitive Personal Information (CPRA)

CPRA adds extra protections for sensitive PI:

  • SSN, driver's license, passport number
  • Financial account credentials
  • Precise geolocation (within a radius of 1,850 feet)
  • Racial or ethnic origin
  • Religious or philosophical beliefs
  • Union membership
  • Contents of mail, email, text messages
  • Genetic data
  • Neural data (added by SB 1223, in force since 2025)
  • Biometric data used for identification
  • Health information
  • Sexual orientation or sex life

Data Inventory and Mapping

Before building request workflows, map your data:

# data_inventory.py — what personal data you collect, where, and who receives it
DATA_INVENTORY = {
    "users.email": {"category": "contact", "sensitive": False, "shared_with": ["SendGrid"]},
    "users.location": {"category": "location", "sensitive": True, "shared_with": []},
    "events.device_id": {"category": "identifier", "sensitive": False, "shared_with": ["Mixpanel"]},
}

Privacy Notice Requirements

Your privacy policy must disclose:

  • Categories of personal information collected
  • Purposes for collection
  • Whether you sell or share personal information
  • Categories of third parties data is disclosed to
  • Consumer rights and how to exercise them
  • Contact info for privacy requests

Also state whether you sold or shared personal information in the preceding 12 months, link to the opt-out page, and give a contact for privacy requests (for example [email protected]).

GPC (Global Privacy Control) Signal Detection

GPC is a browser signal (HTTP header Sec-GPC: 1, and navigator.globalPrivacyControl in JavaScript) that the regulations treat as a valid opt-out of sale/sharing request (section 7025); businesses must honor it. Apply it to the browser or device that sent it, and to the account too if the user is logged in. It does not cover the right to limit sensitive data use.

// Express.js middleware — detect GPC signal and honor opt-out
const gpcMiddleware = (req, res, next) => {
  const gpcEnabled = req.headers['sec-gpc'] === '1';

  if (gpcEnabled) {
    // Auto-apply opt-out for this request
    req.privacyConsent = {
      optedOutOfSale: true,
      optedOutOfSharing: true,
      source: 'gpc_signal',
      detectedAt: new Date().toISOString()
    };
  
    // Record opt-out preference
    if (req.user) {
      recordOptOut(req.user.id, 'gpc_signal');
    } else {
      // Use cookie to persist for anonymous users
      res.cookie('ccpa_optout', '1', { 
        maxAge: 365 * 24 * 60 * 60 * 1000,  // 1 year
        httpOnly: true, 
        secure: true, 
        sameSite: 'Lax'
      });
    }
  }

  next();
};

Data Subject Request (DSR) API


Полный SKILL.md на GitHub

Установить ccpa-compliance в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл ccpa-compliance?

Builds California Consumer Privacy Act (CCPA, as amended by CPRA) compliance features: consumer request handling, opt-out of sale/sharing, Global Privacy Control detection and privacy-notice content. Use when serving California users, building privacy features, implementing consumer data rights, or responding to data subject requests.

Как установить скилл ccpa-compliance?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ccpa-compliance запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ccpa-compliance с