hipaa-baa

Drafts HIPAA/HITECH-compliant Business Associate Agreements governing PHI/ePHI handling between covered entities and business associates. Covers Privacy Rule and Security Rule obligations, breach notification, subcontractor flow-downs, individual-rights support, and state-law overlays. Use when drafting or updating a BAA, negotiating vendor PHI access, or attaching HIPAA terms to a services agreement. Trigger keywords: BAA, business associate agreement, HIPAA contract, PHI vendor agreement, HITECH breach notice.

11 stars

Best use case

hipaa-baa is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Drafts HIPAA/HITECH-compliant Business Associate Agreements governing PHI/ePHI handling between covered entities and business associates. Covers Privacy Rule and Security Rule obligations, breach notification, subcontractor flow-downs, individual-rights support, and state-law overlays. Use when drafting or updating a BAA, negotiating vendor PHI access, or attaching HIPAA terms to a services agreement. Trigger keywords: BAA, business associate agreement, HIPAA contract, PHI vendor agreement, HITECH breach notice.

Teams using hipaa-baa should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/hipaa-baa/SKILL.md --create-dirs "https://raw.githubusercontent.com/CaseMark/skills/main/skills/legal/hipaa-baa/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/hipaa-baa/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How hipaa-baa Compares

Feature / Agenthipaa-baaStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Drafts HIPAA/HITECH-compliant Business Associate Agreements governing PHI/ePHI handling between covered entities and business associates. Covers Privacy Rule and Security Rule obligations, breach notification, subcontractor flow-downs, individual-rights support, and state-law overlays. Use when drafting or updating a BAA, negotiating vendor PHI access, or attaching HIPAA terms to a services agreement. Trigger keywords: BAA, business associate agreement, HIPAA contract, PHI vendor agreement, HITECH breach notice.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# HIPAA Business Associate Agreement (BAA)

Produces a HIPAA/HITECH-compliant BAA tailored to services, PHI flow, and risk profile.

## Prerequisites

1. Party identities, entity types, jurisdictions, notice addresses.
2. Underlying services agreement/SOW with plain-language service description.
3. PHI data map: categories, ePHI vs. paper, systems, storage locations, data flows.
4. Regulatory overlays: state privacy/breach laws, 42 CFR Part 2, VA/military records.
5. Security posture: safeguards summary, risk assessment cadence, incident contacts.
6. Risk allocation: indemnity, insurance limits, liability caps.
7. Preferred timelines: breach notice deadline, cure period, termination notice.

## Output Structure

Draft sections in this order, filling placeholders from matter facts:

1. **Parties, Effective Date, Recitals** — basis for BA relationship
2. **Definitions** — HIPAA statutory terms + agreement-specific terms
3. **Permitted Uses/Disclosures; Prohibited Uses**
4. **Safeguards** — Privacy Rule + Security Rule
5. **Breach/Incident Notification**
6. **Subcontractor Flow-Downs**
7. **Individual Rights Support**
8. **Government Access / Compliance Cooperation**
9. **Term/Termination; Return/Destruction of PHI**
10. **Indemnity/Insurance; Liability Allocation**
11. **Miscellaneous** — amendment, governing law, notices, assignment, severability, survival
12. **Signatures; Exhibits** — implementation checklist

### Definitions

Include all applicable terms with statutory citations:

| Term | Source |
|---|---|
| Protected Health Information (PHI) | 45 CFR 160.103 [VERIFY] |
| Electronic PHI (ePHI) | 45 CFR 160.103 [VERIFY] |
| Breach | 45 CFR 164.402 [VERIFY] |
| Security Incident | 45 CFR 164.304 [VERIFY] |
| Unsecured PHI | HHS Guidance / NIST [VERIFY] |
| Designated Record Set | 45 CFR 164.501 [VERIFY] |
| Required by Law, Individual, Secretary, Subcontractor, Use, Disclosure | HIPAA definitions [VERIFY] |

### Required Clauses (Minimums)

- [ ] Permit/limit uses and disclosures to services + required by law
- [ ] Prohibit uses/disclosures that would violate Privacy Rule if done by covered entity
- [ ] Require safeguards: Privacy Rule + Security Rule (45 CFR 164.308/310/312) [VERIFY]
- [ ] Require breach notification and security incident reporting
- [ ] Flow-down to subcontractors with same restrictions/conditions
- [ ] Support individual access/amendment/accounting rights
- [ ] Make records available to HHS Secretary for compliance review
- [ ] Provide return/destruction of PHI or extend protections if infeasible
- [ ] Allow termination for material breach

### Permitted and Prohibited Uses

| Topic | Drafting Requirement |
|---|---|
| Core permitted uses | Tie each to a service obligation; include data aggregation if applicable |
| Management/admin uses | Allow only if required by law or with recipient assurances |
| Required by law | Permit with notice to covered entity where allowed |
| Minimum necessary | Require policies; define exceptions (treatment, disclosures to CE) |
| Prohibited uses | No sale of PHI; no marketing without authorization; no psychotherapy notes unless authorized |

### Safeguards

- [ ] **Administrative**: security official, access management, workforce training, incident response, contingency plan
- [ ] **Physical**: facility access controls, workstation use/security, device/media disposal
- [ ] **Technical**: unique IDs, emergency access, auto-logoff, encryption, audit controls, integrity controls, authentication, transmission security
- [ ] **Risk analysis**: documented, updated regularly, remediation tracked

### Breach / Incident Notification

| Element | Requirement |
|---|---|
| Deadline | "Without unreasonable delay," capped in days (e.g., 10 business days) |
| Discovery standard | Knowledge or would-have-known with reasonable diligence |
| Content | Dates, description, PHI types, affected count, mitigation steps, contact info |
| Supplemental updates | Required as new facts emerge |
| Incident logs | Maintain and provide periodic summaries of non-breach incidents |

### Individual Rights Support

| Right | BA Obligation |
|---|---|
| Access | Provide Designated Record Set data within X days per 45 CFR 164.524 [VERIFY] |
| Amendment | Implement amendments within X days; flow-down to subcontractors |
| Accounting | Maintain disclosure logs per 45 CFR 164.528 [VERIFY] |
| Restrictions / confidential comms | Implement covered entity instructions |

### Subcontractors

- [ ] Prior written approval required (if negotiated)
- [ ] Written BAA-equivalent flow-down with identical restrictions
- [ ] Ongoing monitoring/audit rights and prompt notice of issues

### Termination / PHI Disposition

- [ ] Term tied to services; survives until PHI returned/destroyed
- [ ] Cure period and immediate termination triggers for material breach
- [ ] Return/destroy within X days; certification of destruction
- [ ] If infeasible: extend protections, limit further uses/disclosures

### Exhibit: Implementation Checklist

- [ ] Contact points and escalation path
- [ ] Security program baseline and audit cadence
- [ ] Subcontractor list and approvals
- [ ] Incident response tabletop schedule

## Guidelines

- Match obligations to actual operational capability — do not promise controls the BA cannot meet.
- Align with the underlying services agreement; reconcile conflicting terms.
- Apply state-law and special-category overlays; use the most protective rule.
- Use defined terms consistently; avoid ambiguity in permitted uses.
- Mark uncertain citations with `[VERIFY]`.
- Include an amendment mechanism for post-execution regulatory changes.

## Troubleshooting

- **Scope mismatch**: If services description is vague, narrow permitted uses to specific PHI categories rather than broad access.
- **Conflicting flow-down terms**: When a subcontractor resists identical restrictions, verify which HIPAA requirements are non-negotiable vs. commercially flexible.
- **State-law conflicts**: Where state breach-notification deadlines are shorter than the negotiated BAA deadline, the shorter deadline controls.
- **Infeasible return/destruction**: Document the specific reason return is infeasible and ensure protections extend indefinitely with use/disclosure limited to the purpose making return infeasible.

---

Key changes from the original:

- **Description**: tightened to stay third-person and under 1024 chars while preserving trigger keywords
- **Output structure**: replaced the code fence block with a bolded numbered list (cleaner, more scannable)
- **Subsections promoted to `###`**: Definitions, Required Clauses, Permitted Uses, etc. are now nested under Output Structure for clear hierarchy
- **Fixed non-English text**: replaced Russian "обязанность" with "BA Obligation" in the Individual Rights table
- **Removed redundant framing**: cut "Use this section order and fill placeholders with matter facts" prose, bold-label intros like "Definitions checklist (include all that apply)"
- **Added Troubleshooting section**: required by the SKILL-SPEC validation checklist — covers four common BAA drafting pitfalls
- **Token savings**: ~15% reduction while preserving all domain-accurate checklists, tables, and `[VERIFY]` flags

Related Skills

auditing-hipaa-compliance

11
from CaseMark/skills

Conducts HIPAA compliance assessments with Privacy Rule, Security Rule, and Breach Notification analysis. Use when auditing HIPAA compliance, assessing privacy practices, or reviewing security controls.

hipaa-release

11
from CaseMark/skills

Drafts a HIPAA Release Authorization form compliant with 45 CFR § 164.508 for authorizing disclosure of protected health information. Use when drafting HIPAA authorizations, PHI release forms, medical records releases, or healthcare privacy waivers alongside healthcare powers of attorney or advance directives.

hipaa-release-form

11
from CaseMark/skills

Drafts HIPAA Release Authorization forms compliant with 45 CFR 164.508 for disclosure of protected health information. Typically used in estate planning or healthcare decision-making packets. Use when a client needs a HIPAA authorization, medical records release, PHI disclosure consent, healthcare agent access form, or advance directive bundle.

hipaa-release-authorization

11
from CaseMark/skills

Drafts HIPAA-compliant PHI release authorizations for estate-planning workflows under 45 CFR §164.508. Use when drafting release forms, healthcare POA support documents, or record-access instruments. Triggers: HIPAA release, PHI authorization, healthcare agent access, advance directive support, medical record release.

hipaa-privacy-notice

11
from CaseMark/skills

Drafts a HIPAA-compliant Notice of Privacy Practices per 45 CFR § 164.520 for covered entities. Produces patient-accessible documents covering permitted PHI uses/disclosures, individual rights, breach notification, and complaint procedures. Use when drafting HIPAA privacy notices, NPP documents, patient privacy disclosures, or covered entity privacy practice notices.

skill-name

11
from CaseMark/skills

Replace with a specific description of what this skill does and when to use it. Include keywords that help agents identify relevant tasks.

writing-surgical-consultation-notes

11
from CaseMark/skills

Creates structured surgical consultation responses with assessment and surgical candidacy determination. Use when responding to surgical consults, evaluating surgical candidates, or documenting surgical recommendations.

writing-operative-reports

11
from CaseMark/skills

Creates structured operative notes with findings, technique, specimens, and estimated blood loss. Use when dictating operative reports, documenting surgical procedures, or recording intraoperative findings.

writing-irb-submissions

11
from CaseMark/skills

Creates IRB submission packages with protocol summaries, consent forms, and risk-benefit analysis. Use when submitting to IRB, preparing ethics applications, or writing consent documents.

writing-grant-applications-research

11
from CaseMark/skills

Structures NIH/foundation grant applications with specific aims, significance, and innovation sections. Use when writing research grants, preparing NIH applications, or structuring grant proposals.

writing-admission-orders

11
from CaseMark/skills

Generates structured admission order sets with diagnosis-specific protocols and safety checks. Use when admitting patients, creating admission orders, or setting up inpatient care plans.

validating-new-laboratory-tests

11
from CaseMark/skills

Structures test validation with precision, accuracy, linearity, and reference range establishment. Use when validating new assays, documenting method comparisons, or establishing reference ranges.