From llm-observability
Strips PII (emails, credit cards, SSNs, phone numbers, IPs, IBANs) from text before logging or sending to third-party models, with a Luhn check for credit cards.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-observability:scrub-pii-from-textThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Observability captures prompts and completions, which in a regulated app can mean shipping account numbers or PII to a third-party backend. This skill ships a scrubber you can run in the export path so raw values never leave your process.
Observability captures prompts and completions, which in a regulated app can mean shipping account numbers or PII to a third-party backend. This skill ships a scrubber you can run in the export path so raw values never leave your process.
scripts/pii_scrub.py is pure Python, no install needed:
from pii_scrub import scrub, find_pii
scrub("email [email protected], card 4111 1111 1111 1111") # -> "email <email>, card <card>"
find_pii(text) # [("email", "[email protected]"), ("card", ...)]
It masks emails, credit cards (Luhn-validated, so random 16-digit order ids are not flagged), US SSNs, phone numbers, IPv4 addresses, and IBANs. Run it directly: python scripts/pii_scrub.py.
scrub() in your span processor / logging hook so no path bypasses it (see redact-pii-for-tracing for where that hook goes).Run the tests: pytest skills/scrub-pii-from-text/tests/. They confirm emails/SSNs/valid cards are masked, that a Luhn-invalid number is left alone (false-positive guard), that clean text is untouched, and that find_pii reports entities.
npx claudepluginhub contextjet-ai/awesome-llm-observability --plugin llm-observabilityDetects and de-identifies PII using Microsoft Presidio before data reaches AI models, logs, or external services. Masks, redacts, hashes, or encrypts PII in text, images, and DICOM.
Detects and masks PII spans (names, emails, phone numbers, addresses, credentials, etc.) in text using a bidirectional token-classification model. Provides CLI and Python API for one-shot redaction, batch processing, evaluation, and finetuning.
Detects and anonymizes PII (SSNs, cards, emails, phones, names) and business data (companies, revenue, costs, pricing) in files using Scrubadub and spaCy NER. Supports check-only or 5 strategies (mask/hash/pseudo/token/mixed); GDPR/HIPAA aware.