MCPInstall

ai-data-subject-rights

Implements data subject rights mechanisms for AI systems including right to explanation of AI decisions, contestation procedures, human review, model output correction, and training data access. Covers GDPR Arts. 15-22 and AI Act Art. 86. Keywords: data subject rights, AI explanation, contestation, human review, training data access, model correction.

Installs
43
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-data-subject-rights
  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-data-subject-rights 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 Subject Rights for AI Systems

Overview

AI systems create unique challenges for data subject rights exercise. Traditional rights mechanisms designed for structured databases do not map directly to ML model architectures where personal data is encoded in model weights, reproduced in model outputs, or used in opaque decision processes. This skill provides the framework for implementing each GDPR right (Arts. 15-22) and the AI Act Art. 86 right to explanation in the context of AI processing, addressing both training-time and inference-time rights.

Rights Framework for AI

Right of Access (Art. 15)

AI ContextObligationImplementation
Training data contributionConfirm whether data subject's data was in training set; provide copy if feasibleTraining data catalogue indexed by data subject identifier; membership query
AI inference inputsProvide data used as input to AI decisionLog inference inputs with data subject linkage
AI inference outputsProvide AI decision/score/classification affecting data subjectDecision logging with data subject ID
Logic explanationArt. 15(1)(h): meaningful information about logic of automated decisionsSHAP/LIME explanation on request or system-level explanation
Training data sourceArt. 14(2)(f): source of data if not collected from data subjectTraining data provenance documentation

Technical Challenges:

  • Identifying specific records in massive training datasets
  • Determining if a data subject's data is in the training set without running membership inference
  • Providing meaningful logic explanation for complex models

Right to Rectification (Art. 16)

AI ContextObligationImplementation
Training data correctionCorrect inaccurate data in training datasetUpdate training data; assess if model retraining needed
Model output correctionCorrect inaccurate AI outputs about a data subjectOutput correction mechanism; flag in decision system
Inference input correctionCorrect data used as inference inputUpdate input data; re-run inference

Technical Challenge: Correcting training data may require model retraining to propagate the correction. For deployed models, correction may need model update or retraining pipeline.

Right to Erasure (Art. 17)

AI ContextObligationImplementation
Training data deletionDelete data subject's data from training datasetRemove from training data; assess model impact
Model unlearningRemove influence of deleted data from trained modelMachine unlearning technique or full retraining
Inference logsDelete inference inputs and outputs linked to data subjectPurge from decision logs
Model outputsDelete generated content about the data subjectContent removal mechanism

Technical Challenge: True erasure from a trained model requires either verified machine unlearning or complete model retraining. The EDPB acknowledges this challenge but expects controllers to demonstrate good faith effort and use best available techniques.

Right to Restriction (Art. 18)

AI ContextObligation
Contested accuracyRestrict processing while accuracy of training data or AI output is verified
Unlawful processingRestrict rather than delete if data subject requests
During objection assessmentRestrict while controller assesses whether legitimate grounds override

Implementation: Quarantine data subject's data from training pipeline and inference pipeline during restriction period.

Right to Data Portability (Art. 20)

AI ContextObligation
Training data contributionProvide data subject's training data contribution in structured, machine-readable format
AI-generated profileIf AI has created a profile, provide in portable format
Inference historyProvide history of AI decisions affecting data subject

Right to Object (Art. 21)

AI ContextObligation
AI training objectionIf training is based on legitimate interest (Art. 6(1)(f)), data subject can object
Profiling objectionObject to AI profiling including inference of characteristics
Direct marketingAbsolute right to object to AI-driven direct marketing profiling

Upon objection: Controller must cease processing unless compelling legitimate grounds override. For AI training: remove data from training pipeline and assess model impact.

Rights Relating to Automated Decisions (Art. 22)

RightImplementation
Right not to be subjectOpt-out from solely automated AI decisions with legal/significant effects
Right to human interventionQualified human reviewer with authority to override AI
Right to express viewsMechanism for data subject to provide additional context
Right to contestFormal contestation with independent review
Right to explanationAI Act Art. 86 + GDPR Recital 71: clear explanation of AI's role in the decision

AI Act Art. 86 — Right to Explanation

For high-risk AI systems, affected persons have the right to:

  • Clear and meaningful explanations of the role of the AI system in the decision-making procedure
  • The main elements of the decision taken
  • This right is without prejudice to GDPR data subject rights

Operational Implementation

Rights Request Triage for AI

Data subject rights request received
│
├─ Identify if AI processing is involved
│  ├─ Was AI used in any decision affecting the data subject?
│  ├─ Is the data subject's data in any training dataset?
│  └─ Has AI generated any content about the data subject?
│
├─ Determine applicable AI-specific rights
│  ├─ Access: training data, inference records, logic explanation
│  ├─ Rectification: training data or output correction
│  ├─ Erasure: training data deletion, model unlearning
│  ├─ Restriction: quarantine from AI pipeline
│  ├─ Objection: cease AI training on their data
│  └─ Automated decision: explanation, human review, contestation
│
├─ Route to appropriate team
│  ├─ Standard rights: data protection team
│  ├─ AI-specific: data protection + ML engineering team
│  └─ Contestation: independent review panel
│
└─ Process within Art. 12 timeframe (one month, extendable by two)

Response Timeframes

Request TypeStandardExtendedJustification for Extension
Access (standard)1 month3 monthsComplex, voluminous
Access (AI logic)1 month3 monthsRequires technical explanation generation
Rectification1 month3 monthsMay require model retraining
Erasure1 month3 monthsMachine unlearning complexity
Explanation (Art. 86)Without undue delay—Time-critical for affected persons
Contestation30 days90 daysRequires independent review

Enforcement Precedents

  • Austrian DPA v. CRIF (2023): Violation of Art. 15(1)(h) — credit scoring system failed to provide meaningful information about automated decision logic upon access request.
  • Garante v. OpenAI (2023): Required mechanism for data subjects to request correction of inaccurate AI outputs and to object to AI training on their data.
  • Dutch DPA guidance (2024): Right to erasure includes obligation to address erasure from AI training data, even if technically challenging.
  • EDPB ChatGPT Taskforce (2024): Controllers must demonstrate capability to address rights requests affecting training data — technical difficulty does not exempt.

Integration Points

  • ai-automated-decisions: Contestation and human review mechanisms
  • ai-transparency-reqs: Logic explanation fulfils transparency obligations
  • ai-data-retention: Erasure rights intersect with retention and unlearning
  • ai-training-lawfulness: Objection right applies to legitimate interest-based training

FAQ

What does the ai-data-subject-rights skill do?

Implements data subject rights mechanisms for AI systems including right to explanation of AI decisions, contestation procedures, human review, model output correction, and training data access. Covers GDPR Arts. 15-22 and AI Act Art. 86. Keywords: data subject rights, AI explanation, contestation, human review, training data access, model correction.

How do I install ai-data-subject-rights?

Run npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill ai-data-subject-rights 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-data-subject-rights/ (personal) or .claude/skills/ai-data-subject-rights/ (project).

Which AI agents can use ai-data-subject-rights?

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-data-subject-rights 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-data-subject-rights?

It is published by mukul975 in mukul975/privacy-data-protection-skills. It has 43 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

conducting-gdpr-dpia

mukul975/privacy-data-protection-skills

Guides the end-to-end GDPR Data Protection Impact Assessment process under Article 35, including mandatory trigger identification per Art. 35(3), DPIA content requirements per Art. 35(7), and EDPB WP248rev.01 methodology. Activate for systematic profiling, large-scale special category processing, or large-scale public monitoring. Keywords: DPIA, Article 35, impact assessment, WP248, data protection, risk assessment.

Docs & Writing48 installs

gdpr-compliance-audit

mukul975/privacy-data-protection-skills

Guides a comprehensive organisational data protection audit against key GDPR requirements including Articles 5, 24, 25, 28, 30, 32, 35, and 37. Includes 50+ control points covering principles, accountability, security, and governance. Activate when performing compliance audits, preparing for supervisory authority inspections, or assessing organisational GDPR maturity. Keywords: data protection audit, compliance audit, GDPR audit, control points, accountability.

Security48 installs

backup-retention-erasure

mukul975/privacy-data-protection-skills

Manages backup and archive data under retention schedules and erasure obligations. Covers the technical infeasibility exception for backup deletion, backup cycle alignment with retention periods, restore-and-delete procedures, and interim protective measures during backup retention. Activate for backup deletion, archive erasure, backup retention, restore and delete, technical infeasibility queries.

47 installs

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.