Anonymization System

Anonymize PII from text using Microsoft Presidio and spaCy before sending to AI providers.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/deskagent-ai/community --skill anonymization-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Anonymization System
Source: https://github.com/deskagent-ai/community/tree/main/cowork-plugin/skills/anonymization
Command: npx skills add https://github.com/deskagent-ai/community --skill anonymization-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires presidio, spacy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures personal identifiable information (PII) is automatically anonymized before being sent to AI providers, protecting sensitive data and complying with GDPR.

Core Features & Use Cases

  • PII Anonymization: Automatically anonymizes personal data like names, email addresses, and phone numbers.
  • AI Provider Integration: Anonymizes data for AI providers like Gemini, Claude, and OpenAI.
  • Custom Configuration: Allows customization through anonymizer.json files for system defaults and customer-specific settings.
  • Whitelisting: Prevents false positives by whitelisting terms that should never be anonymized.
  • Agent Configuration: Enables anonymization through agent frontmatter.

Quick Start

Enable PII anonymization for your agent using the following configuration:

---
{
  "anonymize": true,
  "use_anonymization_proxy": true
}
---

Frequently Asked Questions about Anonymization System

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

FAQPage Schema
How do I anonymize PII in text before sending it to AI providers?

You can anonymize PII in text by using this system to automatically detect and replace sensitive data with placeholders before sending it to AI providers. It leverages Microsoft Presidio and spaCy for NER and pattern-based detection.

Does GDPR compliance require anonymizing personal data before AI integration?

GDPR compliance requires protecting personal data, and anonymizing PII before AI integration ensures sensitive information is replaced with placeholders. This system specifically addresses that requirement by processing text before it reaches AI providers.

What's the best way to configure PII anonymization for a specific agent?

The best way to configure PII anonymization is by enabling it through agent frontmatter using the anonymize and use_anonymization_proxy keys. You can also customize settings through an anonymizer.json file for system defaults and customer-specific rules.

How do I whitelist terms to prevent false positives during PII anonymization?

To prevent false positives during PII anonymization, you can whitelist terms that should never be anonymized. This is configured through the system's custom configuration files, ensuring specific terms bypass the replacement process.

Do I need Microsoft Presidio and spaCy to detect and replace sensitive data?

Yes, you need Microsoft Presidio and spaCy to detect and replace sensitive data. These dependencies are required for the system's named entity recognition and pattern-based detection capabilities to function correctly.

Can I use this PII anonymization system with AI providers like OpenAI and Claude?

Yes, you can use this PII anonymization system with AI providers like OpenAI, Claude, and Gemini. It processes text to replace personal identifiable information with placeholders before the data is sent to these external services.