phi-cleaner

De-identify clinical text by removing patient names, dates, and identifiers.

88|16|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/drpedapati/sciclaw --skill phi-cleaner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phi-cleaner
Source: https://github.com/drpedapati/sciclaw/tree/main/skills/phi-cleaner
Command: npx skills add https://github.com/drpedapati/sciclaw --skill phi-cleaner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

phi-cleaner de-identifies clinical text to remove PHI from drafts, notes, and manuscript excerpts, enabling safe sharing with collaborators.

Core Features & Use Cases

  • PHI removal: sanitizes drafts, notes, and manuscript excerpts by removing patient names, dates, and identifiers.
  • Detect-only mode: audits potential PHI leakage without modifying the source text.
  • Auditable outputs: preserves an evidence trail for compliance and reproducibility in research workflows.

Quick Start

Run phi-clean to sanitize a sample note before sharing externally.

Frequently Asked Questions about phi-cleaner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I de-identify clinical text to remove PHI before sharing drafts externally?

You can de-identify clinical text by running the deterministic phi-clean command, which sanitizes drafts, notes, and manuscript excerpts by removing patient names, dates, and identifiers for safe external sharing.

Can I audit potential PHI leakage in clinical notes without modifying the source text?

Yes, you can use the detect-only mode to audit potential PHI leakage in clinical notes without modifying the original source text, ensuring safe review during research workflows.

Does the de-identification process provide auditable outputs for compliance tracking?

Yes, the de-identification process preserves an evidence trail with auditable outputs, supporting compliance and reproducibility requirements across clinical research workflows.

Can I process both individual text strings and files for PHI protection?

Yes, the tool can process both individual text inputs and files for PHI protection, applying deterministic de-identification logic to remove protected health information from clinical text.

When do I need to de-identify manuscript excerpts for clinical research collaboration?

You need to de-identify manuscript excerpts when sharing clinical research drafts with external collaborators, ensuring all protected health information is removed to maintain privacy and regulatory compliance.