JPeetz/agent-skills / skills/compliance-legal/privacy-compliance
privacy-compliance
VerifiedUse this skill when handling global privacy compliance work — GDPR, CCPA/CPRA, HIPAA Privacy Rule, EU AI Act, LGPD, cross-border data transfer mechanisms (SCCs, BCRs, EU-US DPF), PII identification and classification, data minimization, consent management, privacy-by-design patterns, DPIA workflows, data subject access request (DSAR) handling, and breach notification procedures. Provides procedural knowledge for compliance workflows — NOT legal advice. Designed for agentic platforms including Claude Code, Codex, Cursor, Gemini CLI, OpenClaw, GitHub Copilot, Windsurf, and OpenCode.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 4.0 KB |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 59.4 KB |
| evals/evals.json | config | 10.7 KB |
| references/privacy-regulations.md | markdown | 18.7 KB |
| scripts/validate_skill.py | script | 12.9 KB |
references/privacy-regulations.md
View on GitHub# Privacy Regulations Quick Reference
> **⚠️ This is a procedural reference, NOT legal advice.**
> Regulatory interpretations evolve. Always verify against current official
> guidance and consult qualified legal counsel for compliance decisions.
---
## GDPR — General Data Protection Regulation (EU/EEA)
**Full name:** Regulation (EU) 2016/679
**Effective:** May 25, 2018
**Territorial scope:** Processing of personal data of individuals in the EU/EEA, regardless of where the processor/controller is established (Art. 3).
**Enforcement:** National Data Protection Authorities (DPAs) coordinated via EDPB.
### Key Articles
| Article | Topic | Summary |
|---|---|---|
| Art. 4 | Definitions | Personal data, processing, controller, processor, consent, pseudonymization, etc. |
| Art. 5 | Principles | Lawfulness, fairness, transparency, purpose limitation, data minimization, accuracy, storage limitation, integrity, confidentiality, accountability. |
| Art. 6 | Lawfulness of processing | Six lawful bases: consent, contract, legal obligation, vital interests, public task, legitimate interests. |
| Art. 7 | Conditions for consent | Freely given, specific, informed, unambiguous; demonstrable; withdrawal as easy as giving. |
| Art. 9 | Special categories | Prohibition on processing special categories (race, politics, religion, trade union, genetics, biometrics, health, sex life) unless exception applies. |
| Art. 12–23 | Data subject rights | Transparent information (12–14), access (15), rectification (16), erasure (17), restriction (18), notification (19), portability (20), objection (21), automated decisions (22). |
| Art. 24–31 | Controller and processor | Responsibility (24), data protection by design/default (25), joint controllers (26), representatives (27), processors (28), processing under authority (29), records (30), cooperation (31). |
| Art. 32 | Security of processing | Appropriate technical and organizational measures. |
| Art. 33–34 | Breach notification | 72 hours to SA (33), communication to data subjects (34). |
| Art. 35–36 | DPIA and prior consultation | Required for high-risk processing. |
| Art. 37–39 | Data Protection Officer | Designation, position, tasks. |
| Art. 44–49 | International transfers | Adequacy decisions (45), appropriate safeguards (46), BCRs (47), derogations (49). |
| Art. 77–84 | Remedies, liability, penalties | Right to lodge complaint (77), judicial remedies (78–79), compensation (82), fines (83). |
### Fines (Art. 83)
- **Lower tier:** Up to €10 million or 2% of global annual turnover (whichever is higher) — for controller/processor obligations, certification body obligations, monitoring body obligations.
- **Upper tier:** Up to €20 million or 4% of global annual turnover — for basic processing principles, data subject rights, international transfers, non-compliance with DPA orders.
---
## UK GDPR
**Full name:** UK General Data Protection Regulation (as amended by the Data Protection Act 2018)
**Effective:** January 1, 2021 (post-Brexit)
**Territorial scope:** Processing of personal data in the UK.
**Enforcement:** Information Commissioner's Office (ICO).
Substantially identical to EU GDPR with UK-specific modifications. Key differences:
- UK has its own adequacy regulations and transfer mechanisms
- UK IDTA (International Data Transfer Agreement) replaces EU SCCs
- Maximum fine: £17.5 million or 4% of annual worldwide turnover
---
## CCPA/CPRA — California Consumer Privacy Act / California Privacy Rights Act
**Full name:** California Consumer Privacy Act (AB 375) as amended by CPRA (Proposition 24)
**Effective:** CCPA: January 1, 2020 | CPRA: January 1, 2023
**Enforcement:** California Privacy Protection Agency (CPPA) + Attorney General.
### Applicability
A business must comply if it does business in California AND meets **any one** of:
- Annual gross revenue > $25 million
- Buys, sells, or shares PI of 100,000+ consumers/households
- Derives 50%+ of annual revenue from selling or sharing PI
### Consumer Rights
| Right | Description | Legal Basis |
|---|---|---|
| Right to Know | Know what PI is collected, categories, sources, purposes, third parties shared with | §1798.110, §1798.115 |
| Right to Delete | Request deletion of PI collected from consumer (with exceptions) | §1798.105 |
| Right to Correct | Correct inaccurate PI (CPRA addition) | §1798.106 |
| Right to Opt-Out | Opt out of sale of PI and sharing for cross-context behavioral advertising | §1798.120 |
| Right to Limit | Limit use and disclosure of sensitive PI (CPRA addition) | §1798.121 |
| Right to Non-Discrimination | No discrimination for exercising CCPA rights | §1798.125 |
| Right to Data Portability | PI provided in portable, readily usable format (CPRA expanded) | §1798.100, §1798.130 |
### Sensitive Personal Information (CPRA)
Categories requiring "Limit the Use" link:
- Social Security, driver's license, state ID, passport numbers
- Account log-in + password/credentials
- Precise geolocation
- Racial or ethnic origin, religious beliefs, union membership
- Contents of mail, email, text messages (unless business is intended recipient)
- Genetic data
- Biometric data for identification
- Health information
- Sex life or sexual orientation
### Enforcement
- Civil penalties: Up to $2,500 per violation, $7,500 per intentional violation or violation involving minors
- 30-day cure period (CCPA original — CPRA removed for new violations)
- Private right of action: Statutory damages $100–$750 per consumer per incident (data breaches only)
---
## HIPAA — Health Insurance Portability and Accountability Act (Privacy Rule)
**Full name:** HIPAA Privacy Rule (45 CFR Part 160 and Part 164, Subparts A and E)
**Effective:** April 14, 2003 (Privacy Rule); various amendments since
**Enforcement:** HHS Office for Civil Rights (OCR).
### Applicability
- **Covered Entities:** Health plans, health care clearinghouses, health care providers who transmit health information electronically
- **Business Associates:** Entities that create, receive, maintain, or transmit PHI on behalf of a covered entity
### The 18 PHI Identifiers
1. Names
2. Geographic subdivisions smaller than a State
3. Dates (except year) directly related to an individual
4. Telephone numbers
5. Fax numbers
6. Email addresses
7. Social Security numbers
8. Medical record numbers
9. Health plan beneficiary numbers
10. Account numbers
11. Certificate/license numbers
12. Vehicle identifiers and serial numbers (including license plates)
13. Device identifiers and serial numbers
14. Web URLs
15. IP addresses
16. Biometric identifiers (fingerprints, voice prints)
17. Full-face photographs and comparable images
18. Any other unique identifying number, characteristic, or code
### Permitted Uses/Disclosures (No Authorization Required)
- Treatment, Payment, Health Care Operations (TPO)
- Required by law
- Public health activities
- Victims of abuse, neglect, domestic violence
- Health oversight activities
- Judicial and administrative proceedings
- Law enforcement purposes
- Decedents (coroners, funeral directors)
- Research (with conditions)
- Serious threat to health or safety
- Specialized government functions
### Individual Rights
- Right to access PHI (within 30 days)
- Right to amend PHI
- Right to accounting of disclosures (6 years)
- Right to request restrictions
- Right to confidential communications
- Right to notice of privacy practices
- Right to be notified of a breach
### Enforcement & Penalties
| Tier | Culpability | Minimum Per Violation | Maximum Per Year |
|---|---|---|---|
| Tier 1 | Did not know and could not have known | $100 | $25,000 |
| Tier 2 | Reasonable cause, not willful neglect | $1,000 | $100,000 |
| Tier 3 | Willful neglect, corrected within 30 days | $10,000 | $250,000 |
| Tier 4 | Willful neglect, not corrected | $50,000 | $1,500,000 |
---
## LGPD — Lei Geral de Proteção de Dados (Brazil)
**Full name:** Lei nº 13.709/2018 (Lei Geral de Proteção de Dados Pessoais)
**Effective:** September 18, 2020 (sanctions from August 1, 2021)
**Territorial scope:** Processing in Brazil, processing of data of individuals in Brazil, or offering goods/services to individuals in Brazil.
**Enforcement:** Autoridade Nacional de Proteção de Dados (ANPD).
### Key Articles
| Article | Topic | Summary |
|---|---|---|
| Art. 2 | Foundations | Respect for privacy, informational self-determination, freedom of expression, economic development, human rights. |
| Art. 5 | Definitions | Similar to GDPR definitions (personal data, sensitive data, controller, processor, DPO). |
| Art. 6 | Principles | Purpose, adequacy, necessity, free access, data quality, transparency, security, prevention, non-discrimination, accountability. |
| Art. 7 | Processing bases | 10 legal bases: consent, legal obligation, public policy, research, contract, judicial exercise, vital interests, health protection, legitimate interest, credit protection. |
| Art. 11 | Sensitive data | Additional requirements for sensitive personal data (racial/ethnic origin, religion, political opinion, health, sex life, genetics, biometrics, union membership). |
| Art. 18 | Data subject rights | Confirmation, access, correction, anonymization/blocking/deletion, portability, information about sharing, revocation of consent, opposition, review of automated decisions. |
| Art. 33–36 | International transfers | Adequacy decisions, SCCs, BCRs, seals/certificates/codes. |
| Art. 37 | Data protection officer | Controller must appoint a DPO (broader requirement than GDPR). |
| Art. 38 | DPO duties | Accept complaints, receive communications from ANPD, guide employees, execute other duties assigned by controller. |
| Art. 41 | Processor role | Registration of processing operations, appointment of DPO (if required by ANPD). |
| Art. 46 | Security | Technical and administrative measures. |
| Art. 48 | Breach notification | Notify ANPD and data subjects within reasonable time. |
| Art. 52 | Sanctions | Warning, fine, blocking of data, deletion of data, suspension/prohibition of processing. |
### Fines (Art. 52)
- Up to 2% of revenue in Brazil (limited to R$ 50 million per infraction)
- Daily fines (subject to total cap)
- Publication of infraction
- Blocking or deletion of personal data
- Partial or total suspension of database operations
- Partial or total prohibition of processing activities
### Key Differences from GDPR
- LGPD applies to any processing "carried out in Brazil" — physical presence can be sufficient
- 10 legal bases (vs. GDPR's 6) including credit protection and research
- Broader DPO requirement (most controllers must appoint one, not just specific categories)
- Fines capped at R$ 50 million (vs. GDPR's global turnover percentage)
- No concept of "legitimate interest" needing the same detailed balancing test as GDPR
---
## EU AI Act
**Full name:** Regulation (EU) 2024/1689 (Artificial Intelligence Act)
**Effective:** August 1, 2024 (progressive entry into force)
**Enforcement:** National market surveillance authorities + EU AI Office.
### Risk Categories
| Risk Level | Definition | Requirements | Examples |
|---|---|---|---|
| **Unacceptable Risk** | Prohibited practices | Cannot be placed on market, put into service, or used | Social scoring, real-time remote biometric ID in public spaces, emotion recognition in workplace/schools, predictive policing based on profiling, untargeted scraping of facial images, biometric categorization to infer protected characteristics |
| **High Risk** | Annex III use cases + product safety legislation | Conformity assessment, risk management, data governance, transparency, human oversight, accuracy/robustness, logging, documentation | Biometric ID/categorization, critical infrastructure, education/vocational, employment/worker management, access to essential services, law enforcement, migration/ border control, justice/democratic processes |
| **Limited Risk** | Interaction with natural persons | Transparency obligations | Chatbots (must disclose AI nature), emotion recognition, deepfake generation (must label) |
| **Minimal Risk** | All other AI systems | Voluntary codes of conduct | AI video games, spam filters, inventory management |
### High-Risk AI System Requirements
| Article | Requirement |
|---|---|
| Art. 8 | Compliance with requirements |
| Art. 9 | Risk management system |
| Art. 10 | Data and data governance |
| Art. 11 | Technical documentation |
| Art. 12 | Record-keeping (logging) |
| Art. 13 | Transparency and provision of information to deployers |
| Art. 14 | Human oversight |
| Art. 15 | Accuracy, robustness, and cybersecurity |
### Implementation Timeline
| Date | Milestone |
|---|---|
| **Aug 1, 2024** | AI Act enters into force |
| **Feb 2, 2025** | Chapters I (general provisions) and II (prohibited practices) apply |
| **Aug 2, 2025** | Chapter V (GPAI models) applies; EU AI Office governance established |
| **Aug 2, 2026** | Full AI Act applies (except Art. 6(1)) |
| **Aug 2, 2027** | Art. 6(1) — classification rules for high-risk AI systems apply |
### Fines
- **Prohibited practices:** Up to €35 million or 7% of total worldwide annual turnover
- **Most other obligations (high-risk, transparency):** Up to €15 million or 3%
- **Incorrect/misleading information to authorities:** Up to €7.5 million or 1.5%
- SME and startup caps: Lower of the two amounts
---
## Cross-Border Transfer Mechanisms Quick Reference
### Adequacy Decisions (GDPR Art. 45)
Countries recognized as providing adequate protection:
**Andorra, Argentina, Canada (commercial organizations), Faroe Islands, Guernsey, Israel, Isle of Man, Japan, Jersey, New Zealand, Republic of Korea, Switzerland, United Kingdom, Uruguay.**
**Framework-based:** EU-US Data Privacy Framework (certified entities only).
### Transfer Tools
| Mechanism | Regulation | Best For | Effort | Notes |
|---|---|---|---|---|
| **Adequacy Decision** | GDPR Art. 45 | Transfers to adequate countries | Low | No additional safeguards needed |
| **Standard Contractual Clauses (SCCs)** | GDPR Art. 46(2)(c) | Most transfers to non-adequate countries | Medium | Must conduct TIA; cannot be modified |
| **Binding Corporate Rules (BCRs)** | GDPR Art. 47 | Intra-group transfers (multinationals) | High | 6–18 month approval; legally binding |
| **EU-US Data Privacy Framework** | Adequacy decision | US companies with DPF certification | Low | Verify certification at dataprivacyframework.gov |
| **UK IDTA** | UK adequacy regs | UK restricted transfers | Medium | UK-specific replacement for EU SCCs |
| **Derogations (Art. 49)** | GDPR Art. 49 | Occasional, non-repetitive transfers | Low | Limited scope; cannot be used for routine transfers |
### Transfer Impact Assessment (TIA) — Key Steps (per EDPB 01/2020)
1. **Map the transfer** — what data, where, under what mechanism
2. **Assess destination law** — can local authorities access data disproportionate to EU standards?
3. **Assess the transfer tool** — do SCCs/other mechanisms provide sufficient protection?
4. **Identify and adopt supplementary measures** — technical (E2EE, split processing), organizational, contractual
5. **Procedural steps** — adopt, document, periodically re-assess
6. **If insufficient** — suspend or do not proceed with the transfer
---
## Consent Requirements Comparison
| Aspect | GDPR | CCPA/CPRA | LGPD |
|---|---|---|---|
| **Definition** | Freely given, specific, informed, unambiguous | N/A (rights-based, not consent-based) | Free, informed, unambiguous |
| **Form** | Affirmative action required (no pre-ticked boxes) | Opt-out model for most PI | Manifestation of will |
| **Withdrawal** | Must be as easy as giving consent | Opt-out preference signals | Easy and free procedure |
| **For sensitive data** | Explicit consent required | Opt-in consent for use beyond stated purpose | Specific and prominent consent |
| **For minors** | Parental consent for under 16 (can lower to 13 by member state) | Opt-in for 13–16; parental consent for under 13 | Parental consent for children |
| **Record keeping** | Controller must demonstrate consent was obtained | No consent records required (except for minors/sensitive) | Controller must prove consent was obtained |
---
## DSAR Response Timelines
| Regulation | Standard Response | Extension | Extension Notice Required |
|---|---|---|---|
| **GDPR** | 1 month | +2 months (complex/ numerous requests) | Within first month |
| **CCPA** | 45 days | +45 days | Within first 45 days |
| **HIPAA** | 30 days | +30 days | Within first 30 days |
| **LGPD** | 15 days (confirmation); reasonable time (rest) | Not specified | Not specified |
---
## Breach Notification Timelines
| Regulation | To Regulator | To Data Subjects | Trigger |
|---|---|---|---|
| **GDPR** | 72 hours | Without undue delay (if high risk) | Risk to individuals → regulator; High risk → subjects |
| **UK GDPR** | 72 hours to ICO | Without undue delay | Same as GDPR |
| **CCPA** | N/A (no regulator notification) | "Most expedient time possible, without unreasonable delay" | Unencrypted/unredacted PI breach |
| **HIPAA** | 60 days (<500 affected = annual log; ≥500 = concurrent with individual notice) | 60 days | Unsecured PHI breach |
| **LGPD** | Reasonable time to ANPD | Must notify (reasonable time) | Relevant risk or harm |
---
## Key Definitions Comparison
| Term | GDPR | CCPA/CPRA | HIPAA | LGPD |
|---|---|---|---|---|
| **Protected Data** | Personal data — any info relating to an identified or identifiable natural person | Personal information — info that identifies, relates to, describes, is reasonably capable of being associated with, or could reasonably be linked with a consumer or household | Protected Health Information (PHI) — individually identifiable health information held/transmitted by covered entity or BA | Personal data — information regarding an identified or identifiable natural person |
| **Sensitive Data** | Special categories: race, politics, religion, trade union, genetics, biometrics, health, sex life (Art. 9) | Sensitive PI: SSN, precise geolocation, race, religion, union, mail content, genetics, biometrics, health, sex life | All PHI is protected (no separate "sensitive" tier) | Sensitive data: race, religion, political opinion, health, sex life, genetics, biometrics, union membership (Art. 5(II)) |
| **Controller** | Entity determining purposes and means of processing | Business — for-profit entity determining purposes and means of processing | Covered Entity — health plans, clearinghouses, providers | Controller — natural or legal person responsible for processing decisions |
| **Processor** | Entity processing on behalf of controller | Service Provider / Contractor | Business Associate | Processor — entity processing on behalf of controller |
| **Data Subject** | Data subject — identified or identifiable natural person | Consumer — natural person who is a California resident | Individual — person who is the subject of PHI | Data subject — natural person to whom personal data refers |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |