Privacy Redactor

Detects and redacts PII in inputs and outputs before external actions. Use for: redact PII, privacy check, sanitize this, remove personal data.

Stijnman 515fba5 1.2 KB Updated

File contents

Privacy Redactor

When to Use

  • User says redact PII or task matches this capability
  • User says privacy check or task matches this capability
  • User says sanitize this or task matches this capability
  • User says remove personal data or task matches this capability

Workflow

  1. Scan text for PII patterns: email, phone, SSN, address, full names.
  2. Replace with tokens: [EMAIL], [PHONE], [NAME], [ADDRESS].
  3. List redactions in summary for user review.
  4. If external send requested, run hitl-approver after redaction.

Integrations

  • hitl-approver
  • whatsapp-auto-responder
  • memory-sanitizer

Error Handling

Failure Response
Over-redaction Preserve structure; only redact confirmed PII.
Missed PII Run second pass on capitalized tokens and @ symbols.

Gotchas

  • Never log raw PII to external services after redaction.

Example

Input: User request matching triggers above. Output: Structured result per workflow with integrations invoked as needed.

Stijnman/grok-custom-skills/tree/main/.grok/skills/privacy-redactor commit 515fba5495

Frequently asked questions

npx skillmds@latest add stijnman/privacy-redactor