pia-health-data

pia-health-data is a skill for Claude Code, Codex from ThomasMoreAI/legal-skills-open. It costs 86 tokens per session (1,909 once invoked), scanned A, original, Apache-2.0.

A guide to assessing privacy risks when processing health data under GDPR, HIPAA, and other health-privacy rules. It explains PIAs and DPIAs, which are structured reviews of how data processing could harm people and how to reduce those risks.

In plain words
What is it for?
Use it to assess patient portals, wearables, genetic-data systems, clinical research, digital-health products, and other projects involving medical information.
Why use it?
It helps healthcare teams account for sensitive data, vulnerable patients, new technology, clinical research, and cross-border transfers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess patient portals, wearables, genetic-data systems, clinical research, digital-health products, and other projects involving medical information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasmoreai/legal-skills-open/pia-health-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ThomasMoreAI/legal-skills-open --skill pia-health-data
Clone the repo
git clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-open

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pia-health-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/pia-health-data/github.svg)](https://agentmods.dev/skills/thomasmoreai/legal-skills-open/pia-health-data)
Your own site
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/pia-health-data"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/pia-health-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pia-health-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/pia-health-data"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/pia-health-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,909 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.01909
Opus 5 $0.00043 $0.00955
Sonnet 5 $0.00017 $0.00382
Haiku 4.5 $0.00009 $0.00191

Measured 9d ago against content hash ccbbe91642c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pia-health-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cross-jurisdiction/data-protection/skills/pia-health-data/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

Exception Application to Health Data
Art. 9(2)(a) Explicit consent Patient consent for clinical care beyond treatment necessity; health app consent
Art. 9(2)(b) Employment obligations Occupational health assessments, fitness-to-work evaluations
Art. 9(2)(c) Vital interests Emergency medical treatment when data subject cannot consent
Art. 9(2)(h) Health care provision Medical diagnosis, treatment, health system management by health professionals under secrecy obligations
Art. 9(2)(i) Public health Epidemiological surveillance, disease registries, pharmacovigilance
Art. 9(2)(j) Scientific research Clinical 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

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 128 lines · 86 tokens per session scan A ccbbe91642c3

Subscribe to this mod's changes

pia-health-data is a skill published in the GitHub repository ThomasMoreAI/legal-skills-open (72 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,909 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.