Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Prompt, Log & CSV PII Secret Guard

    by Conver Man

    1

    Scan and deterministically redact emails, Luhn-verified credit cards, SSNs, API keys (OpenAI, GitHub, AWS, Google, Stripe, JWTs), phones, IPv4s, IBANs, and custom secrets from logs, prompts, CSVs, and codebases.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Prompt, Log & CSV PII Secret Guard

    Prompt, Log & CSV PII Secret Guard

    Example session with this skill installed

    Scan app.log for API keys, Luhn-valid credit cards, emails, IPv4 addresses, and our custom secret term InternalTokenX before I paste it into a support ticket.

    • Read your context and instructions
    • Compiled the prompt log

    PII & Secret Redaction Report

    MetricValue
    Total Sensitive Matches Redacted5
    API Keys (apikey)1
    Emails (email)1
    Credit Cards (card, Luhn verified)1
    IPv4 / Custom Terms2

    Audit Log (Counts & Lines Only)

    • [REDACTED:EMAIL#1] on line 1 (length 20)
    • [REDACTED:APIKEY#1] on line 2 (length 35)
    • [REDACTED:CARD#1] on line 3 (length 19, Luhn verified; non-Luhn OrderId: 12345678901234 preserved)
    • [REDACTED:IPV4#1] on line 4 (length 13)
    • [REDACTED:CUSTOM#1] on line 4 (length 14)

    Next Steps

    Share app.redacted.log safely; --check exit code 2 blocks unredacted CI/pre-prompt leaks.

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

    About this skill

    Manual redaction of sensitive data is slow and prone to human error, risking data leaks during AI interactions or bug reporting. This skill provides a deterministic, local scanner to scrub PII and secrets from logs, code, and CSVs before they leave your machine.

    What it does

    • Multi-Kind Scanning identifies emails, SSNs, phone numbers, IPv4 addresses, and IBANs using standard patterns.
    • Secret Detection finds API keys for OpenAI, Stripe, GitHub, Google, AWS, Slack, and JWT/Bearer tokens.
    • Luhn Verification validates 13–19 digit credit card numbers to differentiate them from order IDs or timestamps.
    • Deterministic Masking replaces sensitive values with typed placeholders like [REDACTED:APIKEY#1] for safe sharing.
    • Audit Reporting generates JSON summaries with finding counts and line numbers without echoing raw secrets.

    How it works

    1. Execute the scripts/redact_pii.py script against a file, directory, or raw text input via stdin.
    2. Apply optional flags such as --kinds to limit scope or --custom to include specific internal strings.
    3. Use the --check flag to verify if a file is clean, triggering a non-zero exit code if secrets are detected.
    4. Review the audit.json report and use the provided templates to summarize findings for stakeholders.

    Frameworks & tools

    The scanner uses Python 3.9+ and relies exclusively on the standard library.

    Why this beats prompting it yourself

    Generic LLM prompts often miss subtle secrets or hallucinate redactions, and sending raw PII to an LLM to "clean it" defeats the purpose of privacy. This tool runs locally and offline, ensuring sensitive data never hits a server until it is already scrubbed.

    Use cases

    • Sanitize server logs before pasting them into a GitHub issue or support ticket.
    • Scrub database CSV exports before using them as context for AI data analysis.
    • Run a pre-commit gate to block commits containing active API keys or SSNs.
    • Clean .env file snippets before sharing configuration examples with teammates.

    Known limitations

    Does not support scanning binary files or images. Custom secrets must be provided as explicit strings rather than complex regex patterns.

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

    Does not support scanning binary files or images. Custom secrets must be provided as explicit strings via the --custom flag. Requires Python 3.9+ locally.

    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 today

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill provides a local Python scanner that identifies and redacts sensitive information like emails, SSNs, and API keys from logs and code. It prevents data leaks by ensuring PII never leaves your machine when you are preparing data for AI interactions or bug reports.

    You only need Python 3.9 or higher. The skill relies exclusively on the Python standard library and does not require any external accounts, API keys, or internet connectivity to perform its scans.

    It detects various PII like phone numbers and IPv4 addresses, plus API keys for OpenAI, Stripe, GitHub, Google, AWS, and Slack. It also includes Luhn verification to distinguish real credit card numbers from random strings like timestamps or order IDs.

    The skill produces a sanitized version of your file where secrets are replaced by typed placeholders like [REDACTED:APIKEY#1]. It also generates a JSON audit report that lists the count and line numbers of findings without echoing the actual raw secrets.

    The scanner does not support binary files or images. Additionally, while it can scan for custom strings you provide, it does not currently support using complex regex patterns for those custom secrets.

    You can ask your agent to run the redaction script on a specific file or directory, or provide raw text for it to process via stdin. You can also instruct it to use the check flag to verify if a file is clean before you proceed with a task.

    New in Security