aradotso avatar

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-code

Installs 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

LabelDescription
account_numberBank/card/account numbers
private_addressPhysical addresses
private_emailEmail addresses
private_personPersonal names
private_phonePhone numbers
private_urlPersonal URLs
private_dateDates of birth / personal dates
secretCredentials, 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
1patricio0312rev avatarprompt-regression-testerpatricio0312rev/skillsCompares old vs new prompts across test cases with diff summaries, stability metrics, breakage analysis, and fix suggestions. Use for "prompt testing", "A/B tes261skills.sh installs
2sickn33 avatarn8n-mcp-tools-expertsickn33/antigravity-awesome-skillsn8n mcp tools expert261skills.sh installs
3skillcreatorai avatarchangelog-generatorskillcreatorai/ai-agent-skillschangelog generator260skills.sh installs
4cinience avataralicloud-ai-contactcenter-aicinience/alicloud-skillsManage Alibaba Cloud Contact Center AI (ContactCenterAI) via OpenAPI/SDK. Use whenever the task involves Contact Center AI resource lifecycle operations, config259skills.sh installs
5omer-metin avatarai-game-art-generationomer-metin/skills-for-antigravityMaster AI-powered game asset pipelines using ComfyUI, Stable Diffusion, FLUX, ControlNet, and IP-Adapter. Creates production-ready sprites, textures, UI, and en259skills.sh installs
6casper-studios avataragent-browsercasper-studios/casper-marketplaceBrowser automation and testing using Vercel's agent-browser CLI with ref-based element targeting257skills.sh installs