Agent skill

AI Data Subject Rights

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

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.

Apache-2.0Auto-check passedLegal & Compliance

Install AI Data Subject Rights

skills CLI
$ npx skills add mukul975/Privacy-Data-Protection-Skills --skill ai-data-subject-rights -a claude-code

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

GitHub CLI
$ gh skill install mukul975/Privacy-Data-Protection-Skills ai-data-subject-rights --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/ai-data-subject-rights .claude/skills/ai-data-subject-rights && 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
ai-data-subject-rights
GitHub stars
301
Token cost
~2.2k tokens
SKILL.md length
890 words
Files
5 (incl. scripts, references, assets)
Skills in repo
280
Repo updated
First seen
Licence
Apache-2.0

At a glance

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.

  • Tasks that involve Privacy and GDPR
  • SKILL.md covers Overview, Rights Framework for AI, Operational Implementation and Enforcement Precedents, plus 1 more section
  • Runs Python scripts from its folder
  • Tasks that involve AI governance

What it does

AI Data Subject Rights is an agent skill from mukul975/Privacy-Data-Protection-Skills. 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.

Its SKILL.md is about 2.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 AI governance. 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 AI governance

Example prompts

  • “Use the ai-data-subject-rights skill to implement data subject rights mechanisms for AI systems including right to explanation of AI decisions…”
  • “/ai-data-subject-rights”

Requirements

  • Python 3

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

AI Data Subject Rights loads about 2.2k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 890 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~2.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). 890 words, ~2,193 tokens.

Download SKILL.mdSave it as .claude/skills/ai-data-subject-rights/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
ai-data-subject-rights
description
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.
license
Apache-2.0
metadata.author
mukul975
metadata.version
1.0
metadata.domain
privacy
metadata.subdomain
ai-privacy-governance
metadata.tags
data-subject-rights, ai-explanation, contestation, human-review, training-data-access, model-correction

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
Show full SKILL.md (381 more words)Show less
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

© 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/ai-data-subject-rights 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

AI Data Subject Rights 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.

AI Data Subject Rights compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Data Subject Rights this skillmukul975/Privacy-Data-Protection-Skills301—~2.2kAutomated safety check: PassApache-2.0
Compliance Testingpetrkindlmann/qa-skills170—~4.6kAutomated safety check: PassMIT
Compliance Osalirezarezvani/claude-skills28k—~3.3kAutomated safety check: PassMIT
Ra Qm Skillsalirezarezvani/claude-skills28k—~833Automated safety check: PassMIT
Cross Regulatory Impact Analyzer Patrick Munrolawve-ai/awesome-legal-skills847—~3.1kAutomated safety check: PassAGPL-3.0
Regulatory Deal Card Generator Patrick Munrolawve-ai/awesome-legal-skills847—~2.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Compliance Testing

    petrkindlmann/qa-skills

    Test for regulatory compliance: GDPR/CMP consent verification, Google Consent Mode v2, Global Privacy Control (GPC), CCPA/US state opt-out, EU AI Act Article 50 transparency, Better Ads Standards…

    170 GitHub stars~4.6k tokensUpdated 4 mo ago
    Legal & ComplianceAuto-check passed
  • Compliance Os

    alirezarezvani/claude-skills

    Compliance OS — meta-orchestrator that lets compliance teams CONFIGURE which frameworks apply, COMPUTE cross-framework control overlap, SIMULATE internal audits, and CONSOLIDATE evidence across…

    28k GitHub stars~3.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Ra Qm Skills

    alirezarezvani/claude-skills

    Router/index for the 15 regulatory & quality-management skills bundled in this plugin (ISO 13485 QMS, EU MDR 2017/745, FDA submissions under QMSR, ISO 14971 risk, CAPA, document control, ISO…

    28k GitHub stars~833 tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Analyzes how multiple regulations interact for a specific product, service, or business model.

    847 GitHub stars~3.1k tokensUpdated 8 days ago
    Legal & ComplianceAuto-check passed
  • Generates standalone interactive HTML "deal cards" that translate complex regulations into negotiation-ready reference tools, systematically distinguishing mandatory obligations from negotiable…

    847 GitHub stars~2.1k tokensUpdated 8 days ago
    Legal & ComplianceAuto-check passed
  • Repo Prep

    glebis/claude-skills

    Interactively prepare a code repository for publication — LICENSE, NOTICE, AUTHORSHIP, README sections, package metadata, .gitignore, community docs (CONTRIBUTING/CODEOFCONDUCT/SECURITY/CHANGELOG)…

    391 GitHub stars~1.6k tokensUpdated 3 days ago
    Legal & ComplianceAuto-check passed

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 AI Data Subject Rights

What does AI Data Subject Rights 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. AI Data Subject Rights is an agent skill from mukul975/Privacy-Data-Protection-Skills. 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.

When should I use AI Data Subject Rights?

AI Data Subject Rights fits situations like: tasks that involve Privacy and GDPR; tasks that involve AI governance.

How do I install AI Data Subject Rights in Claude Code?

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

How do I install AI Data Subject Rights in Codex?

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

Can I use AI Data Subject Rights 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 ai-data-subject-rights -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-data-subject-rights, .gemini/skills/ai-data-subject-rights, .github/skills/ai-data-subject-rights and .opencode/skills/ai-data-subject-rights in your project.

What does AI Data Subject Rights need to run?

Going by SKILL.md and its folder, AI Data Subject Rights needs Python for the scripts in its folder. Our summary lists: Python 3.

Does AI Data Subject Rights 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 AI Data Subject Rights 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 AI Data Subject Rights use?

AI Data Subject Rights 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 AI Data Subject Rights use?

About 2.2k tokens (SKILL.md is roughly 8.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.2k tokens, read only when the agent opens those files.

What are the alternatives to AI Data Subject Rights?

Skills that share tags, products or a category with AI Data Subject Rights: Compliance Testing (petrkindlmann/qa-skills, 170 stars), Compliance Os (alirezarezvani/claude-skills, 28k stars), Ra Qm Skills (alirezarezvani/claude-skills, 28k stars) and Cross Regulatory Impact Analyzer Patrick Munro (lawve-ai/awesome-legal-skills, 847 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Data Subject Rights?

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.