Works with the AI Agents you already use
Prompt, Log & CSV PII Secret Guard
by Conver Man
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
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
| Metric | Value |
|---|---|
| Total Sensitive Matches Redacted | 5 |
API Keys (apikey) | 1 |
Emails (email) | 1 |
Credit Cards (card, Luhn verified) | 1 |
| IPv4 / Custom Terms | 2 |
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-LuhnOrderId: 12345678901234preserved)[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
- Execute the
scripts/redact_pii.pyscript against a file, directory, or raw text input via stdin. - Apply optional flags such as
--kindsto limit scope or--customto include specific internal strings. - Use the
--checkflag to verify if a file is clean, triggering a non-zero exit code if secrets are detected. - Review the
audit.jsonreport 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
.envfile 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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