Token导航 LogoToken导航

Agent Skill · 研究检索

hipaa-guardian(健康保险协会监护人)

hipaa-guardian 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

hipaa-guardian 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 66,030。

总安装 269周安装 11GitHub Stars 4下载 87核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hipaa-guardian(健康保险协会监护人)
来源仓库:https://github.com/1mangesh1/dev-skills
仓库路径:skills/hipaa-guardian
安装命令:
npx skills add https://github.com/1mangesh1/dev-skills --skill hipaa-guardian
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/1mangesh1/dev-skills --skill hipaa-guardian

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

专为医疗健康领域的 AI 代理设计,用于自动识别敏感健康信息并评估合规风险。支持代码、配置和日志中的 PHI 检测与分类,提供风险评分和审计报告生成功能。通过 GitHub 安装,需确认网络访问权限及文件读写能力。适用于 Codex、Claude、Cursor、 Gemini CLI 等宿主环境。

hipaa-guardian 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/hipaa-guardian

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/1mangesh1/dev-skills --skill hipaa-guardian;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hipaa-guardian 怎么安装?

在终端执行 npx skills add https://github.com/1mangesh1/dev-skills --skill hipaa-guardian。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hipaa-guardian 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

hipaa-guardian 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

hipaa-guardian 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

hipaa-guardian 用的人多吗?

公开数据是累计安装 269 次,近一周安装 11 次,下载 87 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

hipaa-guardian 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
hipaa-guardian

健康保险协会监护人 · 本页

2694接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

HIPAA Guardian

A comprehensive PHI/PII detection and HIPAA compliance skill for AI agents, with a strong focus on developer code security patterns. Detects all 18 HIPAA Safe Harbor identifiers in data files and source code, provides risk scoring, maps findings to HIPAA regulations, and generates audit reports with remediation guidance.

Capabilities

  1. PHI/PII Detection - Scan data files for the 18 HIPAA Safe Harbor identifiers
  2. Code Scanning - Detect PHI in source code, comments, test fixtures, configs
  3. Auth Gate Detection - Find API endpoints exposing PHI without authentication
  4. Log Safety Audit - Detect PHI leaking into log statements
  5. Classification - Classify findings as PHI, PII, or sensitive_nonPHI
  6. Risk Scoring - Score findings 0-100 based on sensitivity and exposure
  7. HIPAA Mapping - Map each finding to specific HIPAA rules
  8. Audit Reports - Generate findings.json, audit reports, and playbooks
  9. Remediation - Provide step-by-step remediation with code examples
  10. Control Checks - Validate security controls are in place

Usage

/hipaa-guardian [command] [path] [options]

Commands

  • scan <path> - Scan files or directories for PHI/PII
  • scan-code <path> - Scan source code for PHI leakage
  • scan-auth <path> - Check API endpoints for missing authentication before PHI access
  • scan-logs <path> - Detect PHI patterns in logging statements
  • scan-response <path> - Check API responses for unmasked PHI exposure
  • audit <path> - Generate full HIPAA compliance audit report
  • controls <path> - Check security controls in a project
  • report - Generate report from existing findings

Options

  • --format <type> - Output format: json, markdown, csv (default: markdown)
  • --output <file> - Write results to file
  • --severity <level> - Minimum severity: low, medium, high, critical
  • --include <patterns> - File patterns to include
  • --exclude <patterns> - File patterns to exclude
  • --synthetic - Treat all data as synthetic (default for safety)

Workflow

When invoked, follow this workflow:

Step 1: Determine Scan Scope

Ask the user to specify:

  • Target path (file, directory, or glob pattern)
  • Scan type (data files, source code, or both)
  • Whether data is synthetic/test data or potentially real PHI

Step 2: File Discovery

Use Glob to find relevant files:

# For data files
Glob: **/*.{json,csv,txt,log,xml,hl7,fhir}

# For source code
Glob: **/*.{py,js,ts,tsx,java,cs,go,rb,sql,sh}

# For config files
Glob: **/*.{env,yaml,yml,json,xml,ini,conf}

Step 3: PHI Detection

For each file, scan for the 18 HIPAA identifiers using patterns from references/detection-patterns.md:

  1. Names - Patient, provider, relative names
  2. Geographic - Addresses, cities, ZIP codes
  3. Dates - DOB, admission, discharge, death dates
  4. Phone Numbers - All formats
  5. Fax Numbers - All formats
  6. Email Addresses - All formats
  7. SSN - Social Security Numbers
  8. MRN - Medical Record Numbers
  9. Health Plan IDs - Insurance identifiers
  10. Account Numbers - Financial accounts
  11. License Numbers - Driver's license, professional
  12. Vehicle IDs - VIN, license plates
  13. Device IDs - Serial numbers, UDI
  14. URLs - Web addresses
  15. IP Addresses - Network identifiers
  16. Biometric - Fingerprints, retinal, voice
  17. Photos - Full-face images
  18. Other Unique IDs - Any other identifying numbers

Step 4: Classification

Classify each finding:

  • PHI - Health information linkable to individual
  • PII - Personally identifiable but not health-related
  • sensitive_nonPHI - Sensitive but not individually identifiable

Step 5: Risk Scoring

Calculate risk score (0-100) using methodology from references/risk-scoring.md:

Risk Score = (Sensitivity × 0.35) + (Exposure × 0.25) +
             (Volume × 0.20) + (Identifiability × 0.20)

Step 6: HIPAA Mapping

Map findings to HIPAA rules from references:

  • references/privacy-rule.md - 45 CFR 164.500-534
  • references/security-rule.md - 45 CFR 164.302-318
  • references/breach-rule.md - 45 CFR 164.400-414

Step 7: Generate Output

Create structured output following examples/sample-finding.json format:

{
  "id": "F-YYYYMMDD-NNNN",
  "timestamp": "ISO-8601",
  "file": "path/to/file",
  "line": 123,
  "field": "field.path",
  "value_hash": "sha256:...",
  "classification": "PHI|PII|sensitive_nonPHI",
  "identifier_type": "ssn|mrn|dob|...",
  "confidence": 0.95,
  "risk_score": 85,
  "hipaa_rules": [...],
  "remediation": [...],
  "status": "open"
}

Code Scanning

When scanning source code, look for:

1. Hardcoded PHI in Source

  • String literals containing SSN, MRN, names, dates
  • Variable assignments with sensitive values
  • Database seed/fixture data

2. PHI in Comments

  • Example data in code comments
  • TODO comments with patient info
  • Documentation strings with real data

3. Test Data Leakage

  • Test fixtures with real PHI
  • Mock data files with actual patient info
  • Integration test data

4. Configuration Files

  • .env files with PHI
  • Connection strings with embedded credentials
  • API responses cached with PHI

5. SQL Files

  • INSERT statements with PHI
  • Sample queries with real patient data
  • Database dumps

See references/code-scanning.md for detailed patterns.

Security Control Checks

Verify these controls are in place:

Access Controls

  • Role-based access control (RBAC) implemented
  • Minimum necessary access principle applied
  • Access logging enabled

Encryption

  • Data encrypted at rest (AES-256)
  • Data encrypted in transit (TLS 1.2+)
  • Encryption keys properly managed

Audit Controls

  • Audit logging implemented
  • Log integrity protected
  • Retention policies defined

Code Security

  • .gitignore excludes sensitive files
  • Pre-commit hooks scan for PHI
  • Secrets management in place
  • Data masking in logs

Output Formats

findings.json

Structured array of all findings with full metadata.

audit_report.md

Human-readable report with:

  • Executive summary
  • Findings by severity
  • HIPAA compliance status
  • Risk assessment
  • Recommendations

playbook.md

Step-by-step remediation guide:

  • Prioritized actions
  • Code examples
  • Verification steps

Security Guardrails

  1. Default Synthetic Mode - Assumes data is synthetic unless confirmed otherwise
  2. No PHI Storage - Never stores detected PHI values, only hashes
  3. Redaction - All example outputs redact actual values
  4. Warning Prompts - Warns before processing potentially real PHI
  5. Audit Trail - Logs all scans (without PHI values)

References

  • references/hipaa-identifiers.md - All 18 HIPAA Safe Harbor identifiers
  • references/detection-patterns.md - Regex patterns for PHI detection
  • references/code-scanning.md - Code scanning patterns and rules
  • references/healthcare-formats.md - FHIR, HL7, CDA detection patterns
  • references/privacy-rule.md - HIPAA Privacy Rule (45 CFR 164.500-534)
  • references/security-rule.md - HIPAA Security Rule (45 CFR 164.302-318)
  • references/breach-rule.md - Breach Notification Rule (45 CFR 164.400-414)
  • references/risk-scoring.md - Risk scoring methodology
  • references/auth-patterns.md - Authentication gate patterns for PHI endpoints
  • references/logging-safety.md - PHI-safe logging patterns and filters
  • references/api-security.md - API response masking and field-level auth

CI/CD Integration

Pre-Commit Hook Installation

# Install the pre-commit hook
cp scripts/pre-commit-hook.sh .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

# Or using pre-commit framework
# Add to .pre-commit-config.yaml:
repos:
  - repo: local
    hooks:
      - id: hipaa-guardian
        name: HIPAA Guardian PHI Scan
        entry: python scripts/detect-phi.py
        language: python
        types: [file]
        pass_filenames: true

Environment Variables

# Configure pre-commit behavior
export HIPAA_BLOCK_ON_CRITICAL=true   # Block commits with critical findings
export HIPAA_BLOCK_ON_HIGH=true       # Block commits with high severity findings
export HIPAA_SCAN_DATA=true           # Scan data files
export HIPAA_SCAN_CODE=true           # Scan source code
export HIPAA_VERBOSE=false            # Enable verbose output

GitHub Actions Integration

# .github/workflows/hipaa-scan.yml
name: HIPAA PHI Scan
on: [push, pull_request]
jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
      - name: Run PHI Scan
        run: |
          python scripts/detect-phi.py . --format markdown --output phi-report.md
      - name: Upload Report
        uses: actions/upload-artifact@v4
        with:
          name: phi-scan-report
          path: phi-report.md

Healthcare Data Format Support

Supported Formats

FormatExtensionsDetection
FHIR R4.fhir.json, .fhir.xmlResource type, identifiers
HL7 v2.x.hl7, .hl7v2MSH, PID, DG1 segments
CDA/C-CDA.cda, .ccda, .ccdClinicalDocument, patientRole
X12 EDI.x12, .edi, .837Transaction set headers

High-Risk FHIR Resources

  • Patient - Demographics, identifiers, contacts
  • Condition - Diagnoses, health conditions
  • Observation - Lab results, vitals
  • MedicationRequest - Prescriptions
  • DiagnosticReport - Test results

HL7 v2 PHI Segments

  • PID - Patient Identification (SSN in PID-19)
  • DG1 - Diagnosis Information
  • OBX - Observation/Result Values
  • IN1 - Insurance Information

Examples

  • examples/sample-finding.json - Example finding output format
  • examples/sample-audit-report.md - Example audit report
  • examples/synthetic-phi-data.json - Test data for validation

Scripts

  • scripts/detect-phi.py - PHI/PII detection in data files (supports FHIR, HL7, CDA formats)
  • scripts/scan-code.py - Code scanning for PHI leakage
  • scripts/scan-auth.py - Authentication gate detection for PHI endpoints
  • scripts/scan-logs.py - PHI detection in logging statements
  • scripts/scan-response.py - API response PHI exposure detection
  • scripts/generate-report.py - Report generation script
  • scripts/validate-controls.sh - Control validation script
  • scripts/pre-commit-hook.sh - Git pre-commit hook for CI/CD integration

平台分布

Codex

38.62%
按下载量换算34

Claude

29.04%
按下载量换算25

Cursor

18.21%
按下载量换算16

Gemini CLI

9.4%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills