pii-sanitizer

Detects and redacts PII from text data with configurable styles.

2|1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/jorgealves/agent_skills --skill pii-sanitizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pii-sanitizer
Source: https://github.com/jorgealves/agent_skills/tree/main/pii-sanitizer
Command: npx skills add https://github.com/jorgealves/agent_skills --skill pii-sanitizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill detects and redacts Personally Identifiable Information (PII) from datasets, logs, or conversations to help comply with privacy regulations (GDPR/CCPA) and prevent leakage of sensitive data.

Core Features & Use Cases

  • PII detection using regex and NLP-based approaches for common formats (emails, phones, credit cards, addresses, etc.).
  • Flexible redaction modes (mask, replace, hash) with configurable pii_types and data-preservation of structure.
  • Local, zero-retention processing ensures input data is never stored or sent externally.
  • Useful for log scrubbing, data sanitization for analytics, and anonymizing customer communications.

Quick Start

Use the pii-sanitizer to redact emails and phone numbers from the provided text or logs.

Frequently Asked Questions about pii-sanitizer

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

FAQPage Schema
How do I redact PII from text logs to comply with GDPR and CCPA?

To redact PII from logs for GDPR and CCPA compliance, this Skill detects sensitive information using regex and NLP, then applies masking, replacement, or hashing without storing the original data.

What is the best way to anonymize customer communications in-memory without data retention?

Anonymizing customer communications in-memory is achieved through zero-retention processing, which redacts PII like emails and phone numbers locally so the input text is never stored or sent externally.

Can I configure specific PII types and redaction styles for dataset sanitization?

You can configure specific PII types for dataset sanitization and select from flexible redaction styles such as mask, replace, or hash to preserve the original data structure while hiding sensitive values.

Does in-memory PII detection work for scrubbing credit cards and addresses from messages?

In-memory PII detection effectively scrubs credit cards and addresses from messages by applying NLP-based approaches and regex to identify common formats and redact them instantly.

What are the limitations of regex and NLP-based PII redaction for analytics data?

A limitation of regex and NLP-based PII redaction for analytics data is that it relies on recognizing common formats, meaning highly unstructured or non-standard sensitive data might not be fully detected or scrubbed.

When do I need to use a PII sanitizer for data preparation?

You need a PII sanitizer for data preparation when sanitizing datasets, scrubbing logs, or anonymizing customer communications to prevent sensitive data leakage before processing or sharing.