phi-handling

phi-handling is a skill for Claude Code from aks-builds/healthcareskills. It costs 220 tokens per session (3,739 once invoked), scanned A, original, MIT.

A guide for protecting protected health information, or PHI—the identifiable health data covered by privacy rules. It covers removing identifying details, encryption, access control, masking, minimization, and retention.

In plain words
What is it for?
Use it to design or review de-identification, pseudonymization, encryption, secure access, data minimization, and retention processes for clinical, billing, research, analytics, or AI systems.
Why use it?
It helps developers choose practical safeguards for health data across databases, text, images, audio, and biometric information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the healthcare-skills plugin — 41 skills shipped together , and of healthcare-skills

Good fit Use it to design or review de-identification, pseudonymization, encryption, secure access, data minimization, and retention processes for clinical, billing, research, analytics, or AI systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aks-builds/healthcareskills/phi-handling
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 aks-builds/healthcareskills --skill phi-handling
Clone the repo
git clone --depth 1 https://github.com/aks-builds/healthcareskills

Made for: Claude Code.

Or install healthcare-skills, the plugin that ships this one along with the rest of its 41 skills.

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 phi-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/aks-builds/healthcareskills/phi-handling/github.svg)](https://agentmods.dev/skills/aks-builds/healthcareskills/phi-handling)
Your own site
<a href="https://agentmods.dev/skills/aks-builds/healthcareskills/phi-handling"><img src="https://agentmods.dev/badge/skills/aks-builds/healthcareskills/phi-handling/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 phi-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/aks-builds/healthcareskills/phi-handling"><img src="https://agentmods.dev/badge/skills/aks-builds/healthcareskills/phi-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 220 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,739 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.00220 $0.03739
Opus 5 $0.00110 $0.01869
Sonnet 5 $0.00044 $0.00748
Haiku 4.5 $0.00022 $0.00374

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

Security

Grade A, and why

phi-handling 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 11d 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.

skills/phi-handling/SKILL.md · 292 lines

How it starts

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

PHI Handling

You are an expert in the operational handling of Protected Health Information. Your job is to translate HIPAA, GDPR, and analogous regimes into concrete engineering controls — choosing the right de-identification method, the right encryption posture, the right access model, and the right retention path for each kind of PHI an organization holds.

Initial Assessment

Read .agents/healthcare-context.md first (fall back to .claude/healthcare-context.md). The context tells you the HIPAA role, jurisdictions, EHR systems, encryption posture, and identity controls already in place. If absent, ask: what PHI elements are involved, where they flow (system A to system B to vendor C), what the downstream use is (clinical, billing, research, analytics, AI training), and which jurisdictions apply.


The 18 HIPAA Identifiers (Practitioner View)

The Safe Harbor 18 are the practical "things to redact" list for U.S. data:

  1. Names
  2. Geographic subdivisions smaller than a state (full ZIP code redaction beyond first 3 digits, and only if the 3-digit ZIP covers > 20,000 people; otherwise mask to 000)
  3. Dates directly related to an individual (DOB, admission, discharge, death) — keep year only; ages > 89 collapse to "90+"
  4. Phone numbers
  5. Fax numbers
  6. Email addresses
  7. SSNs
  8. MRNs
  9. Health plan beneficiary numbers
  10. Account numbers
  11. Certificate / license numbers
  12. Vehicle identifiers / VIN / license plates
  13. Device identifiers / serial numbers
  14. URLs
  15. IP addresses
  16. Biometric identifiers (fingerprints, voice prints, retinal scans)
  17. Full-face photos and comparable images
  18. Any other unique identifying number, characteristic, or code (catch-all)

This is the "do at least this" list for HIPAA Safe Harbor. It is not sufficient by itself if the residual data still allows re-identification (the no actual knowledge clause — see below).


De-identification Methods (HIPAA)

Safe Harbor (§164.514(b)(2))

  1. Remove all 18 identifiers above
  2. The CE has no actual knowledge that the remaining information could be used alone or in combination to re-identify an individual

Read the full file on GitHub · 292 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 292 lines · 220 tokens per session scan A 3a1ff11e4dde

Subscribe to this mod's changes

phi-handling is a skill published in the GitHub repository aks-builds/healthcareskills (1 stars, last pushed yesterday), licensed MIT. It adds 220 tokens to every session and 3,739 once invoked, about $0.0011 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-08-31.

Related

Other skills, from other repositories

european-medical-cv-analyzer

Analyzes physician/medical CVs for residency, specialist-training, or clinical job applications within European (EU/EEA) healthcare systems. Use this skill whenever a user shares a doctor's/physician's CV or resume and asks for feedback, review, scoring, ATS-readiness, or improvement suggestions — even if they don't…

sobhan-nj/european-medical-cv-analyzer · 183 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens

google-ads-audit

Google Ads account audit and business context setup. Use for account-health audits and business-context setup. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should I fix in my ads", or when the user is new to NotFair and hasn't run…

nowork-studio/notfair-plugin · 86 tokens

data-charts-tako

Search and visualize the world's data - get charts, insights, and embeddable knowledge cards for finance, economics, demographics, sports, and more.

gooseworks-ai/goose-skills · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens