Agent skill

Pia Health Data

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

Conducts Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific health privacy regulations.

Apache-2.0Auto-check passedLegal & Compliance

Install Pia Health Data

skills CLI
$ npx skills add mukul975/Privacy-Data-Protection-Skills --skill pia-health-data -a claude-code

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

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

At a glance

Conducts Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific health privacy regulations.

  • Works in 9 steps: Electronic Health Records (EHR) → Clinical Research → Health Wearables and mHealth Apps → …
  • Tasks that involve Privacy and GDPR
  • SKILL.md covers Overview, Regulatory Framework, Health Data Processing Scenarios and DPIA Methodology for Health Data, plus 1 more section
  • Runs Python scripts from its folder

What it does

Pia Health Data is an agent skill from mukul975/Privacy-Data-Protection-Skills. Conducts Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific health privacy regulations. Covers special category data safeguards, clinical research data, patient portals, health wearables, genetic data, and cross-border health data transfers. Keywords: health data PIA, DPIA, Article 9, HIPAA, special category data, clinical research, patient privacy, genetic data.

Its SKILL.md is about 2.3k 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, Health and fitness tracking and Clinical and healthcare research. 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 Health and fitness tracking
  • Tasks that involve Clinical and healthcare research

Example prompts

  • “Use the pia-health-data skill to conduct Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific…”
  • “/pia-health-data”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Electronic Health Records (EHR)
  2. Clinical Research
  3. Health Wearables and mHealth Apps
  4. Genetic and Genomic Data
  5. Processing Inventory (Week 1)
  6. Necessity and Proportionality (Week 2)
  7. Risk Assessment (Week 3)
  8. Mitigation and Controls (Week 4)
  9. Documentation and Review (Week 5)

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

Pia Health Data loads about 2.3k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 108 tokens; SKILL.md has 1,068 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~108
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.9k

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). 1,068 words, ~2,270 tokens.

Download SKILL.mdSave it as .claude/skills/pia-health-data/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
pia-health-data
description
Conducts Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific health privacy regulations. Covers special category data safeguards, clinical research data, patient portals, health wearables, genetic data, and cross-border health data transfers. Keywords: health data PIA, DPIA, Article 9, HIPAA, special category data, clinical research, patient privacy, genetic data.
license
Apache-2.0
metadata.author
mukul975
metadata.version
1.0
metadata.domain
privacy
metadata.subdomain
privacy-impact-assessment
metadata.tags
pia, health-data, article-9, hipaa, special-category, clinical-research

Privacy Impact Assessment for Health Data

Overview

Health data processing triggers mandatory DPIA requirements under GDPR Article 35(3)(b) (processing on a large scale of special categories of data referred to in Article 9(1)). The EDPB in WP248rev.01 identifies health data processing as meeting multiple DPIA-triggering criteria: special category data (C5), vulnerable data subjects (C7), and often innovative use or applying new technological or organisational solutions (C8). This skill provides a structured PIA methodology specific to health data processing across clinical, research, wearable, and digital health contexts.

Regulatory Framework

GDPR Article 9 — Special Category Data

Health data falls within the special categories of personal data under Article 9(1). Processing is prohibited unless one of the Article 9(2) exceptions applies:

ExceptionApplication to Health Data
Art. 9(2)(a) Explicit consentPatient consent for clinical care beyond treatment necessity; health app consent
Art. 9(2)(b) Employment obligationsOccupational health assessments, fitness-to-work evaluations
Art. 9(2)(c) Vital interestsEmergency medical treatment when data subject cannot consent
Art. 9(2)(h) Health care provisionMedical diagnosis, treatment, health system management by health professionals under secrecy obligations
Art. 9(2)(i) Public healthEpidemiological surveillance, disease registries, pharmacovigilance
Art. 9(2)(j) Scientific researchClinical trials, health research with appropriate safeguards under Art. 89(1)
HIPAA Privacy Rule (US)

The HIPAA Privacy Rule (45 CFR Part 160, 164) governs the use and disclosure of Protected Health Information (PHI) by covered entities (health plans, health care clearinghouses, health care providers) and business associates. Key privacy requirements include:

  • Minimum necessary standard for PHI use and disclosure
  • Individual access rights to PHI within 30 days
  • Accounting of disclosures of PHI
  • De-identification standards: Expert Determination (45 CFR 164.514(b)(1)) and Safe Harbor (45 CFR 164.514(b)(2))
  • Business Associate Agreements (BAAs) for third-party processors
Sector-Specific Regulations
RegulationScope
EU Clinical Trials Regulation (536/2014)Personal data in clinical trial conduct and reporting
UK Data Protection Act 2018 Schedule 1Health data processing conditions for UK-based organisations
42 CFR Part 2 (US)Substance use disorder treatment records — stricter than HIPAA
HITECH Act (US)Breach notification requirements for health data; strengthened HIPAA enforcement
eHealth Network guidelinesCross-border exchange of health data within the EU

Health Data Processing Scenarios

1. Electronic Health Records (EHR)

Data elements: Medical history, diagnoses, medications, lab results, imaging, clinician notes, patient demographics. Key risks: Unauthorised access by non-treating staff, insufficient access controls, data retention beyond clinical necessity, secondary use for research without consent or legal basis. Mitigation: Role-based access control, audit logging, break-glass procedures with post-access review, encryption at rest and in transit, purpose-bound access policies.

2. Clinical Research

Data elements: Study participant identifiers, health measurements, biospecimens, genomic data, adverse event reports. Key risks: Re-identification from research datasets, consent scope creep (using data beyond original study purpose), international transfers to non-adequate jurisdictions. Mitigation: Pseudonymisation with key separation, Data Access Committees, informed consent with granular options, data sharing agreements with re-identification prohibitions.

3. Health Wearables and mHealth Apps

Data elements: Heart rate, blood pressure, sleep patterns, activity levels, glucose levels, medication adherence, location data. Key risks: Continuous monitoring creating comprehensive health profiles, data sharing with third-party advertisers, insufficient user control over data, insecure data transmission. Mitigation: Privacy by design (on-device processing where possible), granular consent for data sharing, transparency about all data recipients, secure API design, data minimisation.

4. Genetic and Genomic Data

Data elements: DNA sequence data, genetic test results, family health history, polygenic risk scores. Key risks: Uniquely identifying and irrevocable (cannot be changed), impacts on biological relatives who did not consent, insurance and employment discrimination, law enforcement access. Mitigation: Purpose limitation (prohibit use for insurance underwriting or employment decisions where legally required), access restrictions, separate storage from clinical records, genetic counselling before data collection.

DPIA Methodology for Health Data

Show full SKILL.md (459 more words)Show less
Phase 1: Processing Inventory (Week 1)
  1. Identify all health data processing activities and map data flows.
  2. Classify health data by sensitivity tier: routine clinical data, sensitive diagnoses (mental health, HIV, substance use), genetic/genomic data.
  3. Identify all data processors and sub-processors handling health data.
  4. Verify Business Associate Agreements (HIPAA) or Data Processing Agreements (GDPR) are in place.
  5. Document the lawful basis and Article 9(2) exception for each processing activity.
Phase 2: Necessity and Proportionality (Week 2)
  1. For each processing activity, assess whether the purpose could be achieved with less data.
  2. Evaluate anonymisation or pseudonymisation alternatives.
  3. Assess data retention periods against clinical, legal, and research requirements.
  4. Review access controls: principle of least privilege, need-to-know basis.
  5. Evaluate whether aggregate or statistical data could serve the purpose instead of individual-level health data.
Phase 3: Risk Assessment (Week 3)
  1. Assess risks to data subjects from each processing activity.
  2. Apply the severity factors: sensitivity of health condition (stigma, discrimination risk), vulnerability of data subjects (patients, children, elderly), volume of records, identifiability.
  3. Assess likelihood factors: threat landscape (insider threats, ransomware targeting health sector), control maturity, regulatory scrutiny.
  4. Score risks on the standard likelihood x severity matrix.
Phase 4: Mitigation and Controls (Week 4)
  1. For each identified risk, define technical and organisational measures.
  2. Implement health-sector-specific controls: clinical audit trails, break-glass access, pseudonymisation key management, encrypted backup.
  3. Assess residual risk after mitigation.
  4. If residual risk remains high, consider prior consultation with the supervisory authority (Art. 36) or abandoning the processing activity.
Phase 5: Documentation and Review (Week 5)
  1. Document the DPIA in the required format (Art. 35(7)): systematic description of processing, necessity and proportionality assessment, risk assessment, measures to address risks.
  2. Obtain sign-off from DPO, Caldicott Guardian (UK NHS), Chief Medical Information Officer, or equivalent.
  3. Schedule periodic review (at least annually for health data processing, or on trigger events).
  4. File with supervisory authority if required (prior consultation).

Enforcement Precedents

  • Finnish DPA vs Pihlajalinna (2021): EUR 608,000 fine for inadequate access controls to patient records in a private healthcare company; employees accessed patient records without clinical justification.
  • Dutch DPA vs OLVG Hospital (2021): EUR 440,000 fine for insufficient access controls to patient medical records; inadequate two-factor authentication and insufficient log review.
  • Portuguese DPA vs Hospital do Barreiro (2018): EUR 400,000 fine for excessive access to patient data; 985 users had profiles allowing access to clinical information, but only 296 were physicians.
  • Swedish DPA vs Capio St Goran Hospital (2020): EUR 30,000 fine for insufficient access controls and logging in EHR system.
  • HHS OCR vs Anthem Inc (2018): USD 16 million HIPAA settlement for data breach affecting 78.8 million individuals due to insufficient access controls and risk analysis.

© 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/pia-health-data 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

Pia Health Data 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.

Pia Health Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pia Health Data this skillmukul975/Privacy-Data-Protection-Skills301—~2.3kAutomated safety check: PassApache-2.0
HIPAA Safe Harbor Coverage Auditmaziyarpanahi/openmed5.5k—~1.7kAutomated safety check: PassApache-2.0
Hipaa ComplianceSushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~2.3kAutomated safety check: PassMIT
Clinical Reportsdavila7/claude-code-templates33k11 repos~9.9kAutomated safety check: NotesMIT
Audit Reportharness/harness-skills115—~1.3kAutomated safety check: PassApache-2.0
Anne WojcickiK-Dense-AI/mimeographs129—~1.5kAutomated safety check: PassMIT

Similar skills

  • Checks OpenMed de-identified clinical text against the 18 HIPAA Safe Harbor identifier categories and reports gaps and residual re-identification risk.

    5.5k GitHub stars~1.7k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Hipaa Compliance

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert HIPAA compliance assistant for healthcare and software contexts.

    946 GitHub starsUsed in 1 repo~2.3k tokens
    Legal & ComplianceAuto-check passed
  • Clinical Reports

    davila7/claude-code-templates

    Write comprehensive clinical reports including case reports (CARE guidelines), diagnostic reports (radiology/pathology/lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation…

    33k GitHub starsUsed in 11 repos~9.9k tokens
    Legal & ComplianceAuto-check: notes
  • Audit Report

    harness/harness-skills

    Generate audit reports and compliance trails using Harness audit trail data via MCP v2 tools.

    115 GitHub stars~1.3k tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Anne Wojcicki

    K-Dense-AI/mimeographs

    Applies the strategic frameworks and mental models of Anne Wojcicki, co-founder and CEO of 23andMe.

    129 GitHub stars~1.5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Dpa Checklist Review

    LegalQuants/lq-ai

    A skill your agent uses when the user provides a Data Processing Agreement, Data Processing Addendum, or HIPAA Business Associate Agreement and asks whether it contains the terms required under the…

    150 GitHub stars~3.7k tokensUpdated today
    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 Pia Health Data

What does Pia Health Data do?

Conducts Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific health privacy regulations. Pia Health Data is an agent skill from mukul975/Privacy-Data-Protection-Skills. Conducts Privacy Impact Assessment for health data processing under GDPR Article 9, HIPAA, and sector-specific health privacy regulations.

When should I use Pia Health Data?

Pia Health Data fits situations like: tasks that involve Privacy and GDPR; tasks that involve Health and fitness tracking; tasks that involve Clinical and healthcare research.

How do I install Pia Health Data in Claude Code?

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

How do I install Pia Health Data in Codex?

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

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

What does Pia Health Data need to run?

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

Does Pia Health Data 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 Pia Health Data 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 Pia Health Data use?

Pia Health Data 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 Pia Health Data use?

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

What are the alternatives to Pia Health Data?

Skills that share tags, products or a category with Pia Health Data: HIPAA Safe Harbor Coverage Audit (maziyarpanahi/openmed, 5.5k stars), Hipaa Compliance (Sushegaad/Claude-Skills-Governance-Risk-and-Compliance, 946 stars), Clinical Reports (davila7/claude-code-templates, 33k stars) and Audit Report (harness/harness-skills, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pia Health Data?

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.