Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes.
Scanned 6/2/2026
Install to Claude Code
npx -y skills add agentskillexchange/skills --skill redact-pii-from-text-before-sharing-or-indexing-with-scrubadub --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Redact Pii From Text Before Sharing Or Indexing With Scrubadub?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-redact-pii-from-text-before-sharing-or-indexing-wi)More formats (shields.io, HTML) on the badges page.
---
name: "Redact PII from text before sharing or indexing with scrubadub"
slug: "redact-pii-from-text-before-sharing-or-indexing-with-scrubadub"
description: "Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes."
github_stars: 421
verification: "security_reviewed"
source: "https://github.com/LeapBeyond/scrubadub"
author: "LeapBeyond"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "LeapBeyond/scrubadub"
github_stars: 421
---
# Redact PII from text before sharing or indexing with scrubadub
Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes.
## Prerequisites
Python and scrubadub, plus any text source the agent needs to sanitize.
## Installation
Use the upstream install or setup path that matches your environment:
- pip install scrubadub
Requirements and caveats from upstream:
- .. image:: https://img.shields.io/github/workflow/status/LeapBeyond/scrubadub/Python%20package/master
- incorporating it into your python scripts like this:
- This package requires at least python 3.6.
Basic usage or getting-started notes:
- -----------
- .. code:: pycon
- >> import scrubadub
- Source: https://github.com/LeapBeyond/scrubadub
- Extracted from upstream docs: https://raw.githubusercontent.com/LeapBeyond/scrubadub/HEAD/README.rst
## Documentation
- https://scrubadub.readthedocs.io/en/stable/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/redact-pii-from-text-before-sharing-or-indexing-with-scrubadub/)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!