hipaa-compliance
Skill2 starsChanged 29 days agoMITView on GitHub
Enforceable HIPAA (Health Insurance Portability and Accountability Act) compliance controls when handling Protected Health Information (PHI), electronic Protected Health Information (ePHI), or any healthcare-related data
14 other projects use a version of this.
Adopted by
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- renepf/claude-skillstheir own version, first seen Oct 25, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- gongyijie85/dsh-ecctheir own version, first seen Oct 13, 2026
- NISTALTALSON/essential-claude-skillstheir own version, first seen Oct 11, 2026
- Fmarzochi/EGCtheir own version, first seen Sep 16, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Fmarzochi/EGC★ 61same name
- jshsakura/awesome-opencode-skills★ 30same name
- CarbeneAI/Forge★ 9same name
- gongyijie85/dsh-ecc★ 8same name
- NISTALTALSON/essential-claude-skills★ 1same name
- Rojios/everything-claude-code★ 1same name
- romaintoso78/claude-skills★ 1same name
- SamuelNDCE/claude-super-skill-library★ 1same name
- Yar177/medical-chart-review-skill★ 1same name
- agenticluke/hipaa-code-review-plus★ 0same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository192 other files it gives its agents.
- clickhouse-architecture-advisor/AGENTS.mdAGENTS.md
- clickhouse-best-practices/AGENTS.mdAGENTS.md
- unsafe-checker/AGENTS.mdAGENTS.md
- alertmanager-querySkill
- analyzing-range-distributionSkill
- analyzing-schema-change-storage-riskSkill
- argocdSkill
- aspire-configurationSkill
- aspire-integration-testingSkill
- aspire-service-defaultsSkill
- auditing-cloud-cluster-securitySkill
- auditing-table-statisticsSkill
- benchmarking-transaction-patternsSkill
- cepthSkill
- chdb-datastoreSkill
- chdb-sqlSkill
- clickhouse-architecture-advisorSkill
- clickhouse-best-practicesSkill
- clickhousectl-cloud-deploySkill
- clickhousectl-local-devSkill
- cockroachdb-sqlSkill
- coding-guidelinesSkill
- configuring-audit-loggingSkill
- configuring-ip-allowlistsSkill
- configuring-log-exportSkill
- configuring-private-connectivitySkill
- configuring-sso-and-scimSkill
- create-technical-architecture-documentSkill
- csharp-mstestSkill
- csharp-tunitSkill
- csharp-xunitSkill
- designing-application-transactionsSkill
- designing-multi-region-applicationsSkill
- domain-cliSkill
- domain-cloud-nativeSkill
- domain-embeddedSkill
- domain-fintechSkill
- domain-iotSkill
- domain-mlSkill
- domain-webSkill
- dotnet-aot-wasmSkill
- dotnet-aspire-patternsSkill
- dotnet-benchmarkdotnetSkill
- dotnet-blazor-authSkill
- dotnet-blazor-componentsSkill
- dotnet-blazor-patternsSkill
- dotnet-blazor-testingSkill
- dotnet-channelsSkill
- dotnet-ci-benchmarkingSkill
- dotnet-cli-architectureSkill
- dotnet-cli-distributionSkill
- dotnet-cli-packagingSkill
- dotnet-cli-release-pipelineSkill
- dotnet-containersSkill
- dotnet-cryptographySkill
- dotnet-csharp-dependency-injectionSkill
- dotnet-csharp-modern-patternsSkill
- dotnet-csharp-nullable-reference-typesSkill
- dotnet-csharp-source-generatorsSkill
- dotnet-maui-doctorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Ensure the agent never violates HIPAA Privacy Rule, Security Rule, or Breach Notification Rule.
- Very specific: line 100
Use references/tool.md for more tool informations
- Distinctive: line 103
LangGraph / AutoGen: Import this file and attach the system prompt + tools.
- Distinctive: line 106
When this skill is active, the agent must include the following footer on every healthcare-related response:
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
1. Purpose
- Ensure the agent never violates HIPAA Privacy Rule, Security Rule, or Breach Notification Rule.
- Automatically detect, redact, de-identify, or reject PHI-containing inputs/outputs.
- Provide clear, logged explanations for every compliance decision.
- Support Business Associate Agreement (BAA) workflows when the underlying LLM/platform has a signed BAA (e.g., enterprise OpenAI, Azure, Anthropic, or xAI Enterprise).
2. Core Capabilities
- PHI Detection – Scans every user message, tool output, memory, and generated response for 18 HIPAA identifiers + contextual PHI.
- Automatic Redaction / De-identification – Replaces PHI with safe placeholders (e.g.,
[PATIENT_ID:XXXX],[DOB:REDACTED]). - Safe Mode Enforcement – Blocks any action that would create, store, transmit, or share ePHI unless explicitly authorized under a BAA.
- Audit Logging – Every compliance check is logged with timestamp, decision rationale, and risk level.
- Compliance Reasoning Chain – Before any output, the agent must output a visible
<HIPAA_COMPLIANCE>block explaining its actions. - Breach Simulation Prevention – Never simulates or role-plays unauthorized disclosure scenarios.
3. Required Environment Variables / Configuration
HIPAA_MODE: "strict" # strict | audit | disabled (default: strict)
BAA_SIGNED: "true" # Must be true for any PHI handling
ENCRYPTION_REQUIRED: "true"
LOG_SINK: "secure_audit_log" # e.g., encrypted S3, HIPAA-compliant database
DE_IDENTIFICATION_METHOD: "safe_harbor" # safe_harbor | expert_determination4. Instructions for the Agent (System Prompt – Copy-Paste Ready)
You are now operating under the `hipaa_compliance` skill. Follow these rules **at all times** without exception:
1. **NEVER** store, cache, or persist any PHI in memory, vector store, logs, or external tools unless the tool is explicitly marked HIPAA-compliant and encryption is active.
2. **NEVER** transmit PHI over non-encrypted channels.
3. Before processing any input, run PHI detection. If PHI is found:
- Redact using Safe Harbor method (remove all 18 identifiers).
- Replace with anonymized placeholders.
- Log the redaction.
4. For any output that would contain PHI, you **MUST** first output a compliance block:
```xml
<HIPAA_COMPLIANCE>
Status: COMPLIANT / REDACTED / BLOCKED
Reason: [detailed explanation]
Action Taken: [redacted / de-identified / rejected]
Risk Level: LOW / MEDIUM / HIGH
</HIPAA_COMPLIANCE>- If the request requires actual PHI handling and
BAA_SIGNED=false, respond only with:
"This request cannot be fulfilled under current HIPAA compliance settings. A signed Business Associate Agreement is required." - You are allowed to discuss HIPAA regulations, policies, or general healthcare concepts without using real patient data.
Failure to follow these rules will result in immediate skill shutdown and audit alert.
## 5. Input/Output Schema
**Input Example:**
```json
{
"user_message": "Schedule a follow-up for patient John Doe, DOB 05/15/1980, MRN 123456 at 2pm tomorrow.",
"context": { ... }
}Expected Agent Behavior:
- Detects name, DOB, MRN → PHI
- Redacts to: "Schedule a follow-up for patient [PATIENT_NAME], DOB [REDACTED], MRN [REDACTED] at 2pm tomorrow."
- Outputs compliance block explaining redaction.
6. Tools Integrated by This Skill
phi_redactor– Automatic Safe Harbor de-identificationhipaa_audit_logger– Writes to compliant audit trailbaa_status_checker– Verifies current BAA statusphi_detection_scanner– Uses regex + LLM context analysis for 18 identifiers
7. Compliance Checklist (Agent Must Self-Validate)
- PHI detected and redacted?
- Audit log entry created?
- Compliance XML block included in response?
- No raw PHI left in final output or memory?
- BAA status verified?
8. Usage in Agent Frameworks
CrewAI Example:
from crewai import Agent
hipaa_agent = Agent(
role="HIPAA Compliance Officer",
goal="Enforce HIPAA rules on all interactions",
backstory="You are bound by the hipaa_compliance skill",
tools=[phi_redactor, hipaa_audit_logger],
system_prompt=hipaa_compliance_skill_prompt # from this SKILL.md
)Cross reference
Use references/tool.md for more tool informations
LangGraph / AutoGen: Import this file and attach the system prompt + tools.
9. Legal Disclaimer (for Agent Output)
When this skill is active, the agent must include the following footer on every healthcare-related response:
"This interaction is HIPAA-compliant. No Protected Health Information is stored or transmitted by this AI agent. For production use, ensure your LLM provider has a signed BAA."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

