MCPInstall

ai-dpia

Conducts Data Protection Impact Assessments for AI and ML systems per EDPB Guidelines 04/2025 on AI processing. Covers training data lawfulness evaluation, model risk assessment, automated decision triggers, and AI-specific DPIA methodology. Keywords: AI DPIA, machine learning impact assessment, EDPB AI guidelines, model risk, training data.

Installs
42
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill ai-dpia
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ai-dpia automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Data Protection Impact Assessment for AI/ML Systems

Overview

AI and ML systems present unique privacy challenges that traditional DPIA methodologies fail to adequately address. The EDPB Guidelines 04/2025 on processing personal data through AI systems establish a specialized framework that supplements the general DPIA requirements of GDPR Article 35 and WP248rev.01. AI-specific DPIAs must evaluate the entire ML pipeline — from training data collection through model deployment and inference — assessing risks that emerge from statistical learning, emergent model behaviours, and the opacity of algorithmic decision-making. This skill implements the EDPB's AI-specific DPIA methodology integrated with the EU AI Act risk classification framework.

AI-Specific DPIA Triggers

Mandatory DPIA Triggers for AI Systems

All AI processing that meets any of the following criteria requires a DPIA before deployment:

TriggerLegal BasisDescription
AI-based profiling with legal effectsArt. 35(3)(a) GDPRML models that produce decisions with legal or similarly significant effects on natural persons (credit scoring, hiring, insurance pricing)
Training on special category dataArt. 35(3)(b) GDPRModels trained on health, biometric, genetic, racial, political, religious, sexual orientation, or trade union data at scale
AI-powered surveillanceArt. 35(3)(c) GDPRComputer vision, facial recognition, behavioural analytics, or anomaly detection in public spaces
High-risk AI systemsArt. 6 EU AI ActSystems listed in Annex III of the AI Act (biometric identification, critical infrastructure, employment, law enforcement, migration, justice)
Foundation models processing personal dataEDPB Guidelines 04/2025LLMs and foundation models trained on datasets containing personal data, regardless of downstream use
Automated inference of sensitive attributesEDPB Guidelines 04/2025Models that infer Art. 9 special category data from non-sensitive inputs (inferring health status from purchasing patterns)

EDPB WP248 Criteria Applied to AI

AI systems frequently trigger multiple WP248 criteria simultaneously:

  • Evaluation/scoring: Inherent to classification and regression models
  • Automated decision-making: Core function of deployed AI systems
  • Innovative technology: Novel model architectures, training techniques
  • Large-scale processing: Training datasets containing millions of records
  • Matching/combining datasets: Multi-source training data aggregation
  • Vulnerable data subjects: When AI is applied to children, employees, patients

When an AI system meets two or more criteria, a DPIA is presumptively required.

AI DPIA Methodology — EDPB Framework

Phase 1: AI System Description (Art. 35(7)(a) Extended)

The systematic description must cover the complete AI lifecycle:

1.1 Training Phase Documentation

  • Training data sources: Origin, collection method, consent status, lawful basis for each dataset
  • Data categories: All personal data categories present in training data, including data that may be inadvertently included (background individuals in images, metadata in text corpora)
  • Data volume: Number of records, data subjects affected, geographic scope
  • Data preprocessing: Cleaning, augmentation, labelling processes and any human review
  • Feature engineering: Which personal data attributes are used as features, how derived features are computed
  • Training infrastructure: Where training occurs (cloud provider, jurisdiction), data residency during training

1.2 Model Architecture Documentation

  • Model type: Neural network architecture (transformer, CNN, RNN), ensemble methods, decision trees
  • Model parameters: Number of parameters, model size, complexity indicators
  • Explainability characteristics: Inherent interpretability level (white-box, grey-box, black-box)
  • Memorization risk: Assessed propensity for the model to memorize training data (higher for large models with small datasets)

1.3 Deployment Phase Documentation

  • Inference inputs: What personal data is processed at inference time
  • Output types: Classifications, scores, recommendations, generated content
  • Decision pipeline: How model outputs feed into decisions affecting data subjects
  • Human oversight: Level and effectiveness of human review in the decision chain
  • Monitoring: Drift detection, performance monitoring, feedback loops

Phase 2: AI-Specific Necessity and Proportionality

2.1 Purpose Limitation for AI

  • Is the AI system necessary for the stated purpose, or could simpler processing achieve it?
  • Has the controller evaluated non-AI alternatives and documented why AI is required?
  • Are the training data processing purposes compatible with the original collection purposes (Art. 6(4) assessment)?
  • For repurposed data: has a compatibility assessment been conducted per EDPB Guidelines 04/2025?

2.2 Data Minimisation for AI

  • Has the minimum dataset required for acceptable model performance been determined through ablation studies?
  • Can synthetic data, federated learning, or differential privacy reduce the personal data requirement?
  • Are there personal data elements in the training data that do not contribute to model performance?
  • Has the controller assessed whether anonymised or pseudonymised data could achieve adequate performance?

2.3 Training Data Lawfulness Assessment

For each training dataset, document:

Assessment ElementRequirement
Original collection purposeWas personal data collected for a purpose compatible with AI training?
Lawful basisArt. 6(1) basis for the training processing — legitimate interest requires balancing test
Consent validityIf consent is the basis, was AI training specified as a purpose? Was consent freely given?
Special category conditionsIf Art. 9 data is present, which Art. 9(2) exception applies?
Web-scraped dataEDPB position: web scraping for AI training generally cannot rely on legitimate interest without additional safeguards
Third-party datasetsHas the controller verified the upstream lawful basis chain?

Phase 3: AI-Specific Risk Assessment

3.1 Privacy Risk Categories for AI

Risk CategoryDescriptionLikelihood Factors
Training data extractionAdversary extracts verbatim training data from the modelModel size, training data repetition, overfitting degree
Membership inferenceAdversary determines if specific data was in the training setModel confidence distribution, overfitting, shadow model availability
Model inversionAdversary reconstructs input features from model outputsOutput granularity, model type, auxiliary information available
Attribute inferenceModel reveals sensitive attributes not provided as inputCorrelations in training data, feature interactions
Emergent bias amplificationModel amplifies biases present in training data, producing discriminatory outcomesTraining data representativeness, debiasing measures applied
Concept drift discriminationModel performance degrades unequally across demographic groups over timeMonitoring coverage, retraining frequency
Re-identification through AI outputModel outputs enable linking back to specific data subjectsOutput specificity, population uniqueness, auxiliary data
Automated decision errorsIncorrect AI decisions causing material harm to data subjectsModel accuracy, error distribution across groups

3.2 AI Risk Scoring Matrix

Combine likelihood and severity using the EDPB-recommended matrix:

                    Negligible    Limited    Significant    Maximum
Almost Certain      Medium        High       Very High      Very High
Likely              Medium        High       High           Very High
Possible            Low           Medium     High           High
Remote              Low           Low        Medium         High

3.3 AI Act Risk Level Integration

Cross-reference GDPR risk assessment with AI Act classification:

  • Unacceptable risk (Art. 5 AI Act): Processing must not proceed — social scoring, real-time biometric identification in public spaces (with limited exceptions)
  • High risk (Art. 6 + Annex III): Enhanced DPIA obligations, conformity assessment required
  • Limited risk (Art. 50): Transparency obligations — inform users they are interacting with AI
  • Minimal risk: Standard DPIA process applies

Phase 4: AI-Specific Mitigation Measures

Technical Measures

MeasureRisk AddressedImplementation
Differential privacyTraining data extraction, membership inferenceApply DP-SGD during training with calibrated epsilon (ε ≤ 8 for moderate protection, ε ≤ 1 for strong)
Federated learningData centralisation riskDistribute training across data holders without centralising personal data
Model output perturbationModel inversion, attribute inferenceAdd calibrated noise to model outputs, round confidence scores
Training data deduplicationMemorization riskRemove duplicate and near-duplicate records before training
Membership inference testingMembership inferenceRun MI attacks against the model pre-deployment; retrain if leakage exceeds threshold
Fairness constraintsBias amplificationApply demographic parity, equalised odds, or calibration constraints during training
Input/output filteringPII leakage in generative modelsDeploy PII detection on model inputs and outputs with automated redaction
Model pruning and distillationMemorization, extractionCompress the model to reduce capacity for memorizing individual records

Organisational Measures

  • Establish an AI Ethics Review Board with privacy representation
  • Implement model cards documenting privacy properties for each deployed model
  • Conduct regular model audits (minimum annually) testing for privacy leakage
  • Maintain training data provenance documentation and deletion capability
  • Define retraining triggers and ensure DPIA review accompanies each retraining cycle
  • Implement incident response procedures specific to AI privacy incidents

Phase 5: Human Oversight Assessment

Per AI Act Art. 14 and GDPR Art. 22, assess the human oversight mechanism:

Oversight ElementAssessment Question
Meaningful reviewCan the human reviewer effectively evaluate the AI recommendation and override it?
Time and resourcesIs sufficient time allocated for meaningful review, or is the human a rubber stamp?
CompetenceDoes the reviewer have the expertise to identify AI errors?
AuthorityDoes the reviewer have the authority and means to override the AI?
Feedback mechanismAre overrides recorded and fed back into model improvement?
Automation biasAre measures in place to mitigate the tendency to defer to the AI?

Prior Consultation Triggers for AI

Art. 36 prior consultation with the supervisory authority is required when:

  1. The AI system produces high residual risk after all mitigation measures
  2. The AI system processes special category data at scale with novel techniques
  3. The supervisory authority's Art. 35(4) list specifically includes the AI use case
  4. The AI system is deployed for real-time biometric identification under AI Act Art. 5 exceptions

Enforcement Precedents

  • Clearview AI (Multiple DPAs, 2021-2024): Fines totalling over EUR 90 million across Italy (EUR 20M), France (EUR 20M), UK (GBP 7.5M), Greece (EUR 20M) for facial recognition AI deployed without DPIA, lawful basis, or transparency
  • CNIL v. Clearview AI (SAN-2022-019): Specific finding that no DPIA was conducted for biometric AI processing
  • Italian DPA v. Replika (2023): Ordered cessation of AI chatbot processing due to inadequate age verification and failure to conduct DPIA for AI processing affecting minors
  • Spanish DPA v. CaixaBank (PS/00421/2020): EUR 6 million fine for automated credit scoring without adequate DPIA addressing algorithmic decision-making risks
  • Dutch DPA v. Tax Authority (2020): Finding that algorithmic fraud detection system (SyRI) lacked proportionality and adequate DPIA for AI-driven profiling

Integration Points

  • ai-training-lawfulness: Detailed lawful basis analysis for training data feeds into Phase 2
  • ai-automated-decisions: Art. 22 assessment integrates with Phase 5 human oversight
  • ai-model-privacy-audit: Technical privacy testing results feed into Phase 3 risk assessment
  • ai-act-high-risk-docs: AI Act conformity assessment aligns with Phase 3.3 risk classification
  • ai-bias-special-category: Bias assessment results feed into risk scoring for discrimination harms

FAQ

What does the ai-dpia skill do?

Conducts Data Protection Impact Assessments for AI and ML systems per EDPB Guidelines 04/2025 on AI processing. Covers training data lawfulness evaluation, model risk assessment, automated decision triggers, and AI-specific DPIA methodology. Keywords: AI DPIA, machine learning impact assessment, EDPB AI guidelines, model risk, training data.

How do I install ai-dpia?

Run npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill ai-dpia in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ai-dpia/ (personal) or .claude/skills/ai-dpia/ (project).

Which AI agents can use ai-dpia?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ai-dpia safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ai-dpia?

It is published by mukul975 in mukul975/privacy-data-protection-skills. It has 42 recorded installs.

More from mukul975/privacy-data-protection-skills

View all →

brazil-lgpd

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

61 installs

analytics-cookie-consent

mukul975/privacy-data-protection-skills

Managing consent for analytics cookies and implementing privacy-preserving measurement. Covers GA4 privacy configuration, consent mode fallback behavior, aggregate reporting alternatives, and cookieless measurement approaches.

Data & Databases56 installs

audit-report-writing

mukul975/privacy-data-protection-skills

Guides privacy audit report writing including executive summary drafting, findings classification (critical, high, medium, low), evidence referencing, root cause analysis documentation, recommendation formulation, management response tracking, and report distribution protocols. Covers report structure from scope definition through appendices and sign-off. Keywords: audit report, findings documentation, executive summary, recommendations, report structure, privacy audit deliverables.

Docs & Writing50 installs

gdpr-compliance-audit

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

Security48 installs

conducting-gdpr-dpia

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

48 installs

backup-retention-erasure

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

47 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs