
Privacy Parser Pii Extraction
This reverses OpenAI's 1.5B Privacy Filter model to extract structured PII spans instead of masking them. You get label, text, and character offsets for emails, phones, names, account numbers, secrets, and five other types. The hybrid backend combines model predictions with regex backstops and hits 0.929 F1 on their fixtures, which is solid for production use. Runs on CPU in about 600ms per parse, faster on GPU. The architecture is clean: BIOES tagging into Viterbi decoding, then span merging to handle multi-token names, then regex catch for things the model misses like API tokens. First run downloads 3GB of weights. If you need to find PII before you redact it, or audit what's hiding in logs and databases, this does the job without reinventing NER from scratch.
- skills.sh installs
- 201
- GitHub stars
- 26
- last updated
- Jun 3, 2026
Install
$ npx -y skills add aradotso/trending-skills --skill privacy-parser-pii-extraction --agent claude-codeInstalls into .claude/skills of the current project.
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}")
Sponsors
Details
- Repository
- github.com/aradotso/trending-skills
- First seen
- Jun 3, 2026
More from aradotso/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.3K
- Inkos Multi Agent Novel Writing2.6K
- Claude Hud Statusline2.5K
- Understand Anything Knowledge Graph2.2K