dicom-anonymizer
Batch anonymize DICOM medical images by removing patient sensitive information (name, ID, birth date) while preserving image data for research use. Trigger when users need to de-identify medical imaging data, prepare DICOM files for research sharing, or remove PHI from radiology/scanned images.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aipoch-ai/dicom-anonymizerWhat This Skill Does
The dicom-anonymizer is a specialized clinical-grade utility designed to strip Protected Health Information (PHI) from medical imaging files. By targeting the 18 critical DICOM tags defined by HIPAA safe harbor standards, this skill ensures that patient identifiers—such as names, IDs, and birth dates—are permanently removed or pseudonymized. Unlike basic metadata strippers, this tool understands the complex hierarchical structure of DICOM files, allowing it to preserve essential study, series, and image data so that the resulting files remain fully functional for longitudinal research, teaching, or secondary analysis without compromising patient privacy.
Installation
To integrate this tool into your OpenClaw environment, use the official installation command:
clawhub install openclaw/skills/skills/aipoch-ai/dicom-anonymizer
Once installed, ensure your environment has access to the necessary Python dependencies for DICOM parsing. The skill is designed to work seamlessly within your existing local file system workflows.
Use Cases
- Clinical Research: Anonymizing large repositories of radiology scans before uploading them to collaborative cloud research portals.
- Educational Databases: Preparing de-identified case studies for medical students or training diagnostic AI models.
- Compliance Auditing: Rapidly scrubbing batch archives of patient data to ensure adherence to institutional HIPAA requirements.
- Data Sharing: Sharing anonymized scans with third-party vendors or collaborators while maintaining the integrity of image metadata.
Example Prompts
- "Anonymize all DICOM files in the /data/mri-scans directory and save them to /data/clean-scans, ensuring all study relationships are preserved."
- "Run the dicom-anonymizer on patient_chest_xray.dcm but make sure to keep the PatientAge tag as it is required for my current research project."
- "Process the batch of scans in /imaging/new, generate a full audit log at /logs/anonymization_audit.json, and skip existing files to avoid duplicates."
Tips & Limitations
- Always Audit: While the tool is compliant with standard HIPAA practices, always verify the output using a DICOM viewer to ensure no sensitive tags were missed in non-standard vendor-specific private tag headers.
- Batch Limits: For extremely large datasets (10,000+ files), we recommend processing in smaller batches to monitor system memory and disk I/O performance.
- Pseudonymization: Use the
--preserve-studiesflag carefully; while it maintains data consistency, ensure the mapping logic aligns with your institution's specific data security protocols for linking research subjects.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aipoch-ai-dicom-anonymizer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
mechanism-flowchart
Generates Mermaid flowchart code and visual diagrams for pathophysiological.
reference-style-sync
One-click synchronization and standardization of reference formats in literature management tools, intelligently fixing metadata errors.
clinical-data-cleaner
Use when cleaning clinical trial data, preparing data for FDA/EMA submission, standardizing SDTM datasets, handling missing values in clinical studies, detecting outliers in lab results, or converting raw CRF data to CDISC format. Cleans and standardizes clinical trial data for regulatory compliance with audit trails.
metagenomic-krona-chart
Analyze data with `metagenomic-krona-chart` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
anatomy-quiz-master
Generate interactive anatomy quizzes for medical education with multiple question types, difficulty levels, and anatomical regions. Supports gross anatomy, neuroanatomy, and clinical correlations for self-assessment and exam preparation.