Redact PII (Spanish + English).

    by Matías Rodríguez

    1

    Spanish + English PII redaction that runs on your machine: removes names, emails, phones, cards, IBAN, DNI/CUIT and more before your agent reads the document.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Redact PII (Spanish + English).

    Example session with this skill installed

    Redact the personal information from customer_feedback.pdf and tell me the main complaints. Use aggressive redaction and include organization names.

    • Read your context and instructions
    • Compiled the redact pii spanish
    • Generated the document

    I have processed the document locally to remove all PII and organizational names. A redacted version has been saved to customer_feedback.redacted.txt.

    Redaction Report

    Entity TypeCountStatus
    PERSON12Redacted
    EMAIL_ADDRESS4Redacted
    LOCATION3Redacted
    ORGANIZATION8Redacted
    PHONE_NUMBER2Redacted

    Redacted Content Analysis

    Based on the anonymized text in customer_feedback.redacted.txt, here are the main complaints identified:

    1. Pricing Transparency: Several customers, including <PERSON_1> and <PERSON_5>, expressed frustration that <ORGANIZATION_1> does not clearly state service fees on the landing page.
    2. Support Latency: <PERSON_3> and <PERSON_9> reported waiting over 48 hours for a response regarding billing issues, citing specific tickets sent from <EMAIL_ADDRESS_2>.
    3. Platform Stability: There are mentions of technical errors when attempting to update profiles from locations in <LOCATION_1>.

    Next steps

    • Review customer_feedback.redacted.txt to verify the anonymization meets your requirements.
    • Delete the original customer_feedback.pdf if you no longer need the unredacted version.
    • I can generate a summary report for <ORGANIZATION_1> leadership using this safe data.

    customer_feedback.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your agent shouldn't read a contract, a CV or a support ticket full of customer data just to summarize it. This skill runs Microsoft Presidio locally and gives the agent a redacted copy instead. The original file never enters the model's context and nothing is uploaded anywhere.

    What it detects

    • Names and locations, in Spanish and English (language is detected per paragraph)
    • Emails, phone numbers (Latin America, Spain, US, UK and more), credit cards, IBAN, IP addresses
    • Argentine DNI and CUIT/CUIL, Spanish NIF

    Why it's different

    • Numbered tokens (<PERSON_1>, <PERSON_2>) keep track of who is who, so summaries and analysis still make sense.
    • Fails closed: if anything goes wrong it stops and writes nothing. It never falls back to the raw text.
    • The agent is instructed never to open the original file, only the redacted copy.

    Options

    • Aggressive mode (lower confidence threshold)
    • Also redact dates or company names, or only specific types
    • Optional mapping file to put the real values back later, kept local

    Works with .txt, .md, .csv, .json and text-based PDFs. Scanned PDFs need OCR first.

    Setup: Python 3.9+ and about 100 MB of language models. The first time, the skill walks the agent through installing them.

    Good for: contracts, CVs, support tickets, chat exports, CRM exports, HR or medical records, and anything with customer data you want an LLM to work with.

    Requires Python 3 and ~100MB for Spacy models. No OCR for scanned PDFs. English and Spanish only for NER. Detection is statistical and can have false positives/negatives.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed5 days ago

    What's inside

    Creator

    Matías Rodríguez

    Matías Rodríguez

    Frequently Asked Questions

    This skill prevents data leakage by redacting PII locally on your machine using Microsoft Presidio. By replacing names, emails, and IDs with numbered placeholders before the text reaches an LLM, it ensures that your sensitive data never enters the model's training data or context history.

    The skill handles .txt, .md, .csv, and .json files, as well as text-based PDFs. It cannot process scanned PDFs or images that require OCR, so you should convert those to text before use.

    You can tell your agent to de-identify, scrub, or anonymize specific documents, such as customer support logs, medical records, or legal contracts. Even if you do not use the term PII, the agent will use this skill to clean the data before summarizing or analyzing the content.

    It removes global identifiers like emails, phones, card numbers, and IPs, plus regional IDs like Spanish NIF and Argentine DNI/CUIT/CUIL. You can also customize it to include dates, organizations, and URLs if your specific use case requires more aggressive scrubbing.

    Detection is statistical and uses natural language models for English and Spanish. While highly accurate, it may occasionally miss unusual names or flag ordinary capitalized words, so it is recommended to skim the redacted output before sharing it.

    Yes, the skill can optionally generate a local JSON mapping file. This allows you to revert the redactions and put the real values back into the document later without ever exposing that sensitive map to the AI agent.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.