presidio-pii-specialist

Detect and redact PII in Polish and English text using Presidio and spaCy models.

14|2|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/tbartel74/Vigil-Code --skill presidio-pii-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: presidio-pii-specialist
Source: https://github.com/tbartel74/Vigil-Code/tree/main/.claude/skills/presidio-pii-specialist
Command: npx skills add https://github.com/tbartel74/Vigil-Code --skill presidio-pii-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Microsoft Presidio PII detection API for Vigil Guard v2.0.0, providing dual-language (Polish + English) PII detection with spaCy models, entity deduplication, regex fallbacks, and integration with the 3-branch detection architecture.

Core Features & Use Cases

  • Dual-Language Detection: Polish and English PII detection via spaCy models.
  • Custom Recognizers: PESEL, NIP, REGON recognizers and deduplication.
  • Regex Fallback: Augments ML with robust pattern matching.

Quick Start

Invoke the Presidio PII API after sanitization to redact detected PII in the final response.

Frequently Asked Questions about presidio-pii-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect and redact PII in Polish and English text?

PII detection in dual-language text uses spaCy NER models combined with Presidio's analyzer to identify sensitive data like names, addresses, and identifiers. This Skill applies Polish and English models, custom recognizers for Polish identifiers (PESEL, NIP, REGON), regex patterns, and entity deduplication to redact detected PII in the final output.

Can I use Presidio with spaCy models for regex pattern matching?

Yes. Presidio integrates spaCy NER models with regex fallbacks, allowing both machine-learning-based entity recognition and pattern-based detection to work together. This Skill uses regex to augment ML detection and handle edge cases where patterns are more reliable than trained models.

What custom recognizers does Presidio support for Polish data?

This Skill includes custom recognizers for PESEL (national ID number), NIP (tax ID), and REGON (business registration number), the primary Polish identifiers. These recognizers detect and redact Polish-specific PII that standard NER models alone may miss.

How does entity deduplication work in PII detection?

Entity deduplication removes overlapping or duplicate PII detections across the 3-branch parallel detection pipeline, ensuring each piece of sensitive data is flagged and redacted only once. This prevents redundant redactions and conflicting sanitization decisions.

What language models does this Skill use for detection?

Detection uses spaCy's en_core_web_lg for English and pl_core_news_lg for Polish NER. These models identify entity types like persons, organizations, and locations, which are then cross-referenced with custom recognizers and regex patterns for comprehensive PII coverage.

Does this Skill integrate with compliance or sanitization workflows?

Yes. The Skill integrates with Arbiter v2 for SANITIZE and ALLOW decision paths, supporting Vigil Guard v2.0.0 compliance pipelines. Invoke it after sanitization to redact detected PII in final response outputs.