sanitize - Detect and redact PII from text files.
Scans text files for personally identifiable information across 15 categories and replaces matches with numbered placeholders.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Detect PII in text files
- Redact PII using numbered placeholders
- Preview detected categories and offsets
- Filter detection by category
- Output detection results in JSON
Inputs
- Input text files
- Category filter flags
- Output file paths
Outputs
- Sanitized text file
- Entity map sidecar file
- JSON stdout summary
Requirements
- Python 3.11+
- python3 executable
