
ai-privacy-inference
Managing privacy risks from AI-driven inferences about individuals including derived data classification, profiling under GDPR Art. 22, inference accuracy obligations, and controlling automated personality/behaviour predictions. Keywords: AI inference, derived data, profiling, automated predictions, GDPR.
- Installs
- 45
- 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-privacy-inference- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ai-privacy-inference automatically when relevant.
- 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.
AI Privacy Inference and Derived Data
Overview
AI systems routinely generate inferences about individuals — predictions about creditworthiness, health risks, personality traits, political opinions, or behavioural patterns that were never directly provided by the data subject. These AI-derived inferences raise critical privacy questions: Are inferences personal data? When does inference become profiling under GDPR Article 22? What accuracy obligations apply to AI predictions? Can data subjects access, rectify, or object to inferences drawn about them? The CJEU, EDPB, and national DPAs have progressively clarified that inferences are personal data when they relate to an identified or identifiable person, and that GDPR rights extend to derived and inferred data. Cerebrum AI Labs must classify, govern, and provide transparency over all inferences its AI systems generate about individuals.
Legal Framework for AI Inferences
When Inferences Are Personal Data
| Criterion | Analysis | Example |
|---|---|---|
| Relates to an identified person | Inference is linked to a specific customer record or user profile | "Customer C-12345 has 78% churn probability" |
| Relates to an identifiable person | Inference can be linked to a person through combination with other data | "User with session token X-789 is likely aged 25-34" |
| Used to evaluate a person | Inference is used to assess, classify, or make decisions about someone | Credit score derived from transaction patterns |
| Has impact on a person | Inference affects how the person is treated or what options are available | Insurance premium adjusted based on predicted health risk |
CJEU C-434/16 (Nowak, 2017): Personal data includes "any information" relating to a data subject — this encompasses opinions, assessments, and inferences, not only factual data directly provided by the individual.
EDPB Guidelines 8/2020 on Targeting of Social Media Users: Inferred data (data created by the controller through observation or derivation) constitutes personal data and is subject to the full scope of GDPR rights.
GDPR Classification of Inference Types
| Inference Type | Classification | GDPR Implications |
|---|---|---|
| Observed data | Data collected through direct interaction (browsing history, purchase records) | Standard personal data — Art. 6 lawful basis required |
| Derived data | Data created by the controller through computation on existing data (credit score, risk rating) | Personal data — subject to access, rectification, objection rights |
| Inferred data | Probabilistic predictions about characteristics not directly observed (personality, health risk) | Personal data — potentially special category if predicting Art. 9 characteristics |
| Aggregated data | Statistical outputs at group level, not linked to individuals | Not personal data if truly anonymous (k-anonymity verified) |
When Inferences Become Special Category Data
| Predicted Characteristic | Art. 9 Category | Trigger |
|---|---|---|
| Ethnic origin from name/location patterns | Racial or ethnic origin | Any inference about ethnic background, even probabilistic |
| Political leaning from content engagement | Political opinions | Prediction used to classify or target based on politics |
| Religious affiliation from purchase patterns | Religious beliefs | Halal/kosher purchase scoring, prayer time activity patterns |
| Health condition from behavioural signals | Health data | Step count decline predicting depression, typing pattern analysis |
| Sexual orientation from browsing/social data | Sexual orientation | Any inference about sexual orientation regardless of accuracy |
| Pregnancy from purchase pattern shifts | Health data + gender | Purchase category analysis predicting pregnancy status |
Cerebrum AI Labs Policy: Any inference that predicts, estimates, or classifies an Art. 9 characteristic — even indirectly or probabilistically — must be treated as special category data and requires an Art. 9(2) condition for processing.
Profiling Under GDPR Article 22
Profiling Definition (Art. 4(4))
Profiling means any form of automated processing of personal data consisting of the use of personal data to evaluate certain personal aspects relating to a natural person, in particular to analyse or predict aspects concerning:
- Work performance
- Economic situation
- Health
- Personal preferences
- Interests
- Reliability
- Behaviour
- Location
- Movements
Three-Level Framework
| Level | Description | GDPR Requirement | Cerebrum AI Labs Example |
|---|---|---|---|
| Profiling only | Automated evaluation without decision | Art. 6 lawful basis + Art. 13-14 transparency | Customer segmentation for analytics dashboard |
| Profiling + human decision | Automated evaluation informing a human decision-maker | Art. 6 lawful basis + transparency + meaningful human involvement | Credit risk score reviewed by loan officer |
| Solely automated decision with legal/significant effects | Automated decision with no meaningful human involvement producing legal or similarly significant effects | Art. 22(1) prohibition applies — must fall within Art. 22(2) exceptions | Automated loan rejection based solely on AI credit score |
Art. 22(2) Exceptions Allowing Solely Automated Decisions
| Exception | Requirement | Cerebrum AI Labs Application |
|---|---|---|
| Art. 22(2)(a) — Contract | Decision necessary for entering into or performing a contract | Automated credit pre-approval for existing customers |
| Art. 22(2)(b) — Law | Authorised by EU or Member State law with suitable safeguards | Regulatory-mandated fraud screening |
| Art. 22(2)(c) — Explicit consent | Data subject's explicit consent obtained | Customer opts in to automated portfolio rebalancing |
Safeguards Required (Art. 22(3))
| Safeguard | Implementation at Cerebrum AI Labs |
|---|---|
| Right to obtain human intervention | Escalation button in customer portal routes to trained human reviewer within 2 business days |
| Right to express point of view | Customer can submit additional context through contestation form before human review |
| Right to contest the decision | Appeal process with independent review panel; decision reversed if AI error demonstrated |
| Right to explanation | Individual explanation generated using SHAP values showing top 5 factors influencing the AI decision |
Inference Accuracy and Quality Obligations
GDPR Article 5(1)(d) — Accuracy Principle
AI inferences must be accurate, and where necessary, kept up to date. For probabilistic predictions this means:
| Obligation | Implementation |
|---|---|
| Accuracy measurement | Track prediction accuracy metrics (precision, recall, F1) per demographic group |
| Confidence thresholds | Do not present inferences with confidence below 70% as actionable without human review |
| Staleness detection | Re-evaluate inferences when underlying data changes; flag inferences older than 90 days |
| Accuracy disclosure | Inform data subjects of the probabilistic nature and known accuracy of inferences |
| Rectification of inferences | Allow data subjects to challenge inferences; if input data is corrected, regenerate inference |
EDPB Position on Inference Accuracy
The EDPB Guidelines on Automated Decision-Making (WP 251 rev.01) state that controllers must:
- Use appropriate mathematical or statistical procedures for profiling
- Implement appropriate technical and organisational measures to minimise the risk of errors
- Correct inaccuracies and enable rectification
- Secure personal data to prevent discriminatory effects
Transparency Requirements for AI Inferences
Art. 13-14 Information Requirements
| Information | Requirement | Cerebrum AI Labs Implementation |
|---|---|---|
| Existence of profiling | Inform data subjects that profiling occurs | Privacy notice section: "How we use AI to analyse your data" |
| Logic involved | Meaningful information about the logic involved | Technical explainer: "Our AI analyses your transaction patterns, account tenure, and product usage to predict service needs" |
| Significance | Envisaged consequences of such processing | "This analysis may affect the products and offers shown to you, and may influence credit decisions" |
| Categories of data used | What data feeds the inference | "We use: transaction history, account tenure, product holdings, service interactions" |
| Inference outputs | What inferences are generated | "We generate: churn probability, product affinity scores, credit risk indicators" |
AI Act Transparency Requirements
| Obligation | AI Act Article | Cerebrum AI Labs Implementation |
|---|---|---|
| Inform users they are interacting with AI | Art. 52(1) | Chat interface disclosure: "You are interacting with an AI assistant" |
| Disclose AI-generated content | Art. 52(3) | Outputs marked: "This recommendation was generated by AI" |
| Disclose emotion recognition | Art. 52(2) | Not applicable — Cerebrum AI Labs does not use emotion recognition |
| High-risk system deployer transparency | Art. 13 | Technical documentation available to regulators on request |
Inference Governance Framework
Cerebrum AI Labs Inference Registry
All AI systems that generate inferences about individuals must be registered in the Cerebrum AI Labs Inference Registry:
| Registry Field | Description |
|---|---|
| System ID | Unique identifier for the AI system |
| Inference type | Category of inference generated (behavioural, demographic, financial, health) |
| Data subjects affected | Categories and approximate volume of individuals profiled |
| Input features | Data elements used to generate the inference |
| Output format | Inference output (score, category, probability, ranking) |
| Accuracy metrics | Latest precision, recall, F1 by demographic group |
| Retention period | How long inferences are stored before deletion |
| Art. 22 assessment | Whether the inference feeds a solely automated decision |
| Lawful basis | Art. 6 and (if applicable) Art. 9 basis for generating the inference |
| DPIA reference | Associated DPIA document ID |
Inference Lifecycle Controls
| Phase | Control |
|---|---|
| Generation | Log all inferences with timestamp, model version, confidence score, input data hash |
| Storage | Encrypt inference outputs; apply access controls limiting who can read individual-level inferences |
| Usage | Track downstream consumption of inferences; prevent scope creep beyond documented purposes |
| Disclosure | Make inferences available to data subjects on request (Art. 15 access right) |
| Rectification | If underlying data is corrected, flag dependent inferences for regeneration |
| Deletion | Delete inferences per retention schedule (90 days operational, 12 months audit) |
Enforcement and Regulatory Precedents
- CJEU C-634/21 (SCHUFA, 2023): The CJEU held that the generation of a credit score by a private entity constitutes "automated individual decision-making" under Art. 22 if the score plays a decisive role in a subsequent decision by a third party. This means AI-derived scores used in downstream decisions may trigger Art. 22 protections even if the AI provider is not the final decision-maker.
- Austrian DPA — Case DSB-D550.038 (2022): Found that inferred political opinions from social media activity constitute special category data under Art. 9, even when the inference is probabilistic and may be inaccurate.
- Norwegian DPA — Grindr Decision (2021): NOK 65 million fine for sharing data enabling inference of sexual orientation. Established that data enabling inference of Art. 9 characteristics is itself special category data.
- CNIL — Clearview AI (2022): EUR 20 million fine, finding that biometric inferences (face embeddings) from public photographs are personal data subject to full GDPR compliance.
Key Legal References
- GDPR Article 4(4) — Definition of profiling
- GDPR Article 5(1)(d) — Accuracy principle
- GDPR Article 13(2)(f) — Right to information about profiling logic and significance
- GDPR Article 15(1)(h) — Right of access to profiling information
- GDPR Article 22 — Automated individual decision-making including profiling
- GDPR Recital 71 — Safeguards for profiling and automated decisions
- GDPR Recital 72 — Guidelines on profiling
- CJEU C-434/16 (Nowak, 2017) — Broad interpretation of personal data including assessments
- CJEU C-634/21 (SCHUFA, 2023) — Credit scoring as automated decision-making
- EDPB Guidelines on Automated Decision-Making (WP 251 rev.01) — Art. 22 interpretation
- EDPB Guidelines 8/2020 on Targeting of Social Media Users — Inferred data as personal data
- EU AI Act Article 52 — Transparency obligations for AI systems
- EU AI Act Article 14 — Human oversight for high-risk AI systems
FAQ
What does the ai-privacy-inference skill do?
Managing privacy risks from AI-driven inferences about individuals including derived data classification, profiling under GDPR Art. 22, inference accuracy obligations, and controlling automated personality/behaviour predictions. Keywords: AI inference, derived data, profiling, automated predictions, GDPR.
How do I install ai-privacy-inference?
Run npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill ai-privacy-inference 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-privacy-inference/ (personal) or .claude/skills/ai-privacy-inference/ (project).
Which AI agents can use ai-privacy-inference?
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-privacy-inference 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-privacy-inference?
It is published by mukul975 in mukul975/privacy-data-protection-skills. It has 45 recorded installs.
More from mukul975/privacy-data-protection-skills
brazil-lgpd
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
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.
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.
gdpr-compliance-audit
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
conducting-gdpr-dpia
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
backup-retention-erasure
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
Popular ai & agents skills
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).
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).
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.
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.
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.
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