
Openai Privacy Filter
This is OpenAI's 1.5B parameter token classifier for detecting and masking PII in text. It catches eight categories including names, emails, phone numbers, addresses, dates of birth, account numbers, credentials, and personal URLs. The CLI and Python API both support single-pass redaction with a 128k context window, and you can finetune it on your own labeled JSONL if the default model misses domain-specific identifiers. The operating point toggle is handy: high recall casts a wider net with more false positives, high precision is stricter. Runs on CPU or GPU, Apache 2.0 licensed, and the Viterbi decoding keeps span boundaries cleaner than naive token taggers.
- skills.sh installs
- 261
- GitHub stars
- 26
- last updated
- Jun 3, 2026
Install
$ npx -y skills add aradotso/trending-skills --skill openai-privacy-filter --agent claude-codeInstalls into .claude/skills of the current project.
Files
OpenAI Privacy Filter
Skill by ara.so — Daily 2026 Skills collection.
OpenAI Privacy Filter is a bidirectional token-classification model (1.5B params, 50M active) for detecting and masking PII spans in text. It runs in a single forward pass with constrained Viterbi decoding, supports a 128k-token context window, and is licensed Apache 2.0.
Installation
pip install -e .
# or from a cloned repo:
git clone https://github.com/openai/privacy-filter
cd privacy-filter
pip install -e .
After install, the opf CLI is available. On first use it downloads the model checkpoint to ~/.opf/privacy_filter unless OPF_CHECKPOINT is set.
export OPF_CHECKPOINT=/path/to/local/checkpoint_dir
Detected PII Categories
| Label | Description |
|---|---|
account_number | Bank/card/account numbers |
private_address | Physical addresses |
private_email | Email addresses |
private_person | Personal names |
private_phone | Phone numbers |
private_url | Personal URLs |
private_date | Dates of birth / personal dates |
secret | Credentials, tokens, API keys |
CLI Usage
One-shot redaction
Sponsors
Details
- Repository
- github.com/aradotso/trending-skills
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026
More from aradotso/trending-skills
All 251- Masterhttprelayvpn Proxy259
- Crabtrap Llm Proxy257
- Masterhttprelayvpn Rust256
- Tilekernels Gpu Kernels256
- Text To Cad Harness250
- Freellmapi Proxy212
- Superlevels Chrome Extension211
- Gpt Image 2 Skill207
- Ppt Image First Workflow207
- Flowdriver Covert Transport206
- Future Agi Platform206
- Pi Computer Use206
- Privacy Parser Pii Extraction201
- 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