
PII & Privacy Leak Gate
An adversarial security gate to detect and redact PII, secrets, and confidential data before sending prompts.
- Redact API keys and secrets from logs before sharing with support
- Anonymize customer data in transcripts before LLM analysis
- Prevent internal hostnames and file paths from leaking to public AI models
$5
· or 25 creditsSecure checkout via Stripe
Included in download
- Redact API keys and secrets from logs before sharing with support
- Anonymize customer data in transcripts before LLM analysis
- file_read, file_write automation included
- Ready for including Claude Code
Sample input
Scan this log for PII before I send it to the support bot: 'Error at 10:15 AM for user john.doe@gmail.com. Connection failed with API_KEY=sk-123456789abc.'
Sample output
Verdict: BLOCK Findings:
- Email (Medium): j...m (personal identifier)
- API key (High): ...bc (credential)
Redacted rewrite: 'Error at 10:15 AM for user [REDACTED_EMAIL]. Connection failed with API_KEY=[REDACTED_API_KEY].'
An adversarial security gate to detect and redact PII, secrets, and confidential data before sending prompts.
$5
· or 25 creditsSecure checkout via Stripe
Included in download
- Redact API keys and secrets from logs before sharing with support
- Anonymize customer data in transcripts before LLM analysis
- file_read, file_write automation included
- Ready for including Claude Code
- Instant install
Sample input
Scan this log for PII before I send it to the support bot: 'Error at 10:15 AM for user john.doe@gmail.com. Connection failed with API_KEY=sk-123456789abc.'
Sample output
Verdict: BLOCK Findings:
- Email (Medium): j...m (personal identifier)
- API key (High): ...bc (credential)
Redacted rewrite: 'Error at 10:15 AM for user [REDACTED_EMAIL]. Connection failed with API_KEY=[REDACTED_API_KEY].'
About This Skill
Protect Sensitive Data Before It Leaves the Boundary
The PII & Privacy Leak Gate is an adversarial review skill that scans text - prompts, logs, code, or AI outputs - for personal data, secrets, and confidential information. It acts as a final check before you paste sensitive data into a third-party AI or ship agent-generated content downstream.
How It Works
The skill runs a structured privacy review, analyzing your input against six categories of sensitive data, including direct identifiers, government and financial IDs, credentials, and confidential business info. It does not just block; it explains the risk and returns a safer version of your text.
- Risk Assessment: Categorizes findings into High, Medium, and Low severity.
- Adversarial Logic: Assumes destinations are untrusted, so it errs toward catching more rather than less.
- Automatic Redaction: Returns a clean rewrite of your text with clear placeholders like [REDACTED_API_KEY] or [REDACTED_EMAIL].
- Clear Verdict: Every review ends in a single PASS, FLAG, or BLOCK decision with the reasoning shown.
Why Pay for This?
Prompting an AI to "be careful" is not enough. This skill applies a structured adversarial framework that forces an explicit PASS/FLAG/BLOCK verdict, so findings are surfaced consistently instead of slipping through. It is a practical guardrail that helps your team catch accidental data exposure, support your privacy and compliance efforts, and avoid credential leaks before text leaves a trusted boundary.
Built for developers, support and ops teams, and anyone who pastes text into AI tools or ships agent output and wants a last review first.
Use Cases
- Redact API keys and secrets from logs before sharing with support
- Anonymize customer data in transcripts before LLM analysis
- Prevent internal hostnames and file paths from leaking to public AI models
- Review agent-generated emails for PII before they are sent to customers
Known Limitations
This is a review aid, not a guarantee. It flags what it can detect in the text you supply and can miss novel or heavily obfuscated values, and it may flag look-alike strings that are not real secrets, so a human should confirm before sending. It reviews only the text provided, does not scan files you do not give it, and does not transmit or store your data. It does not by itself make you compliant with any specific regulation.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/pii-privacy-leak-gate -o /tmp/pii-privacy-leak-gate.zip && unzip -o /tmp/pii-privacy-leak-gate.zip -d ~/.claude/skills && rm /tmp/pii-privacy-leak-gate.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Read Files is used to review text or files you point it at. Write Files is used only to save the redacted rewrite or review report when you ask for it. The skill needs no terminal, network, or environment access.
No runtime or dependencies required. Works with any agent that follows the SKILL.md standard, including Claude Code, Codex CLI, Cursor, VS Code Copilot, and Gemini CLI. The skill reads the text you give it and returns a verdict plus a redacted rewrite.
Creator
PubsProToolkit builds adversarial "gate" skills for AI agents — they catch problems before your output ships, instead of just generating more. From code, security, and infrastructure to content, hiring, contracts, and finance. Built by a CMPP-certified, PhD medical writer who brings regulated-industry rigor to every domain.
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills
Multi-Agent Orchestration Master Library
Transform Claude Code into a coordinated multi-agent system. Battle-tested tmux orchestration patterns, YAML task queues, event-driven communication, and parallel worker management for 8+ agents.

sast-configuration
Automate the setup and optimization of Semgrep, SonarQube, and CodeQL for high-signal security testing.

PII & Data-Leak Scanner
Scan your schemas, seed data, config, and logs for personal data before it leaks. Detects PII-indicating column and key names (email, ssn, phone, address) across SQL, CSV, and JSON, plus PII in the data itself: email addresses, SSN-like numbers, credit-card-like numbers, phone numbers, and PII written into log files. Each finding is flagged with its location and a GDPR-style review note. Heuristic by design: it surfaces what to review, not a compliance guarantee.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.