pii-redactor

Community

Redact sensitive data before it leaks.

AuthorCleanExpo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents personally identifiable information from being written into logs, prompts, or outbound messages by detecting and redacting it in-flight.

Core Features & Use Cases

  • Two-pass PII detection: runs a fast regex pass for high-recall matches and then a Claude-based classification pass to catch what regex misses.
  • In-place structured redaction: preserves the original payload structure while replacing detected values with category-specific placeholders (e.g., EMAIL, SSN, CARD).
  • Precision-gated safety contract: returns a precision_score and can refuse to release the output when precision falls below the required threshold.
  • Safety bindings for privacy: blocks logging of raw unredacted payloads and avoids sending original text through the classifier audit path.

Use case examples: redact PII from an email body during email intake with strictness=high before composing any downstream intent; redact PII from Telegram draft payloads before posting to review and again before final sending.

Quick Start

Use the pii-redactor skill to redact all PII from an email intake payload with strictness set to high.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pii-redactor
Download link: https://github.com/CleanExpo/Pi-Dev-Ops/archive/main.zip#pii-redactor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.