Privacy Parser Pii Extraction
Structured PII span extractor that returns label, text, and offsets using the OpenAI Privacy Filter 1.5B model.
- CCM score
- 46 of 100
- skills.sh installs
- 201
- GitHub stars
- 99
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers three backends: regex-only
PIIParser, model-onlyModelPIIParser, and recommendedHybridPIIParserwith span-merge and regex backstop - Labels spans across 8 types:
private_person,private_email,private_phone,private_address,private_url,private_date,account_number, andsecret - Returns character offsets with exclusive end indices, and includes a CLI (
python -m pii_parser.cli_model) for piped text - Designed for batch extraction, redaction after inspection, and JSON export in pipelines that need to know what PII is present, not just mask it
Install
$ npx -y skills add reason-machines/trending-skills --skill privacy-parser-pii-extraction -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Privacy Parser — PII Span Extraction
Skill by ara.so — Daily 2026 Skills collection.
privacy-parser is the inverse of OpenAI's Privacy Filter. Where the filter masks PII with <REDACTED>, this library returns structured spans — label, text, and character offsets — using the same 1.5B opf model weights and label taxonomy.
Installation
# Clone the repo (includes both subpackages)
git clone https://github.com/chiefautism/privacy-parser
cd privacy-parser
uv venv
uv pip install -e ./privacy-filter # installs the opf model + weights loader
uv pip install -e ./pii_parser # installs the parser library
First run downloads the opf 1.5B checkpoint (~3 GB) to ~/.opf/privacy_filter/.
Quick Start
from pii_parser.hybrid import HybridPIIParser
parser = HybridPIIParser(device="cpu") # or "cuda" / "mps"
result = parser.parse(
"Hi Quindle Testwick (quindle.testwick@openai.com / +1-415-555-0102), "
"account 40702810500001234567, 14 Beautiful Ct, Anytown USA, "
"password Priv4cy-Filt3r-2026."
)
for span in result.spans:
print(f"{span.label:18} {span.text}")
Details
- Repository
- github.com/reason-machines/trending-skills
- Category
- Security
- First seen
- Jun 3, 2026
Questions
What does the privacy-parser-pii-extraction skill do?
privacy-parser-pii-extraction extracts structured PII spans from text using the OpenAI Privacy Filter 1.5B model in reverse. Instead of masking data with REDACTED, it returns the label, text and character offsets of each personal item found.
What kinds of PII can privacy-parser-pii-extraction detect?
privacy-parser-pii-extraction labels spans as private_person, private_email, private_phone, private_address, private_url, private_date, account_number and secret. It covers names, contact details, account identifiers, passwords and API keys in the same pass.
How do I install privacy-parser-pii-extraction?
Run npx -y skills add reason-machines/trending-skills --skill privacy-parser-pii-extraction -y in your project. privacy-parser-pii-extraction then lets the agent parse text for personal information spans.
What does privacy-parser-pii-extraction need to run?
privacy-parser-pii-extraction needs the privacy-parser repository cloned and two packages installed with uv. The first run downloads a roughly 3 GB checkpoint to ~/.opf/privacy_filter/, and the HybridPIIParser backend runs on CPU, CUDA or MPS.
Which backend should I use with privacy-parser-pii-extraction?
privacy-parser-pii-extraction recommends HybridPIIParser for production, since it combines the model with span merging and a regex backstop. The regex-only PIIParser and model-only ModelPIIParser are also available for tests or raw model output.
More from reason-machines/trending-skills
All 251- Token Dashboard Claude Analytics201
- Wanman Agent Matrix200
- Awawausb Webusb Firefox195
- Humanize Korean Ai Text191
- Oh Story Claudecode Writing186
- Stash Ai Memory186
- Unit 3 Hyprland Nier Rice185
- Hyperliquid Grid Trading Bot184
- Gpt Image Playground183
- Gova Declarative Gui180
- Vercel Xhttp Relay180
- Hyperliquid Trading Bot178
- Aster Bot Trading173
- Github Sandbox File Downloader170
- Bux Claude Agent169
- Gooserelayvpn Socks5 Tunnel165
- Gpt Pp Team Protocol Replay165
- Illustrated Explainer Spec165
- Autoteam F Chatgpt Team Rotation163
- Mhr Cfw Domain Fronting Relay160
- Openclaw Control Center4.4K
- Inkos Multi Agent Novel Writing2.8K
- Claude Hud Statusline2.7K
- Understand Anything Knowledge Graph2.4K
Similar to Privacy Parser Pii Extraction
More Securitynetwork-101sickn33/agentic-awesome-skills201 installsnetwork 101
stride-analysis-patternssickn33/agentic-awesome-skills199 installsstride analysis patterns
audit-fullyonatangross/orchestkit199 installsSingle-pass codebase analysis leveraging a 1M-token context window for comprehensive security scanning, architecture review, and dependency auditing. Loads enti
top-web-vulnerabilitiessickn33/agentic-awesome-skills198 installstop web vulnerabilities
File Path Traversal Testingdavila7/claude-code-templates197 installsThis skill should be used when the user asks to "test for directory traversal", "exploit path traversal vulnerabilities", "read arbitrary files through web appl
clawsec-scannerprompt-security/clawsec196 installsAutomated vulnerability scanner for agent platforms. Performs dependency scanning (npm audit, pip-audit), multi-database CVE lookup (OSV, NVD, GitHub Advisory),