pii-masking-patterns

Installation
SKILL.md

PII Masking Patterns

Protect sensitive data in LLM observability pipelines with automated PII detection and redaction.

Overview

  • Masking PII before logging prompts and responses
  • Integrating with Langfuse tracing via mask callbacks
  • Using Microsoft Presidio for enterprise-grade detection
  • Implementing LLM Guard for input/output sanitization
  • Pre-logging redaction with structlog/loguru

Quick Reference

Langfuse Mask Callback (Recommended)

import re
from langfuse import Langfuse
Related skills

More from yonatangross/orchestkit

Installs
5
GitHub Stars
170
First Seen
Feb 6, 2026