# Scrub Kit — Redact Secrets & PII From Files Before Sharing

> Point it at logs, configs and datasets: API keys, passwords, cards, emails and more come out as consistent placeholders — with a private mapping table and a verification re-scan. Fully local.

Scrub Kit — Redact Secrets & PII From Files Before Sharing is a paid AI agent skill on Agensi by 程向阳. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [程向阳](https://www.agensi.io/creators/creator-1452)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/scrub-kit-redact-secrets-pii-from-files-before-sharing

## About this skill

Before a log goes to a contractor, a config goes into a ticket, or a dataset goes anywhere near a cloud model, somebody has to scrub it — and doing that by eye misses things. Scrub Kit is the deterministic pass you run first:

- **Secrets, caught by shape.** Private key blocks, AWS / GitHub / OpenAI / Slack tokens, JWTs, Bearer headers, key = value password and token assignments in env files, JSON, YAML and code, and passwords embedded in URLs (postgres://user:pass@host keeps its shape, loses the password).
- **PII, caught with proof.** Credit cards are redacted only when they pass the Luhn check and IBANs only when mod-97 validates — so order numbers, versions and IDs are not collateral damage. Plus SSNs, emails, phone numbers and IP addresses.
- **Consistent placeholders.** The same value becomes the same [EMAIL_1] / [CARD_2] in every file of the run, so joins, counts and cross-references still work after redaction.
- **Reversible — or not.** A mapping table lets you undo the redaction; it contains the originals, so it stays with you. --no-mapping makes the redaction one-way.
- **Verified output.** The tool re-scans its own results and reports any residual findings per file; skipped files (binary, oversized) are listed with reasons. Originals are never modified.

Zero dependencies, Node.js 22+, no key or account, no network — your files never leave the machine, which is rather the point of a redaction tool.

Honest limits: detection is pattern-based — a secret with no recognizable shape (a lone password in prose, a name, an address) will not be caught, so read the report before you share; cards and IBANs that fail their checksum are left alone; unformatted digit runs are not treated as phone numbers.

## Requires

- Node.js
- redaction
- pii
- secrets-scanner
- data-privacy
- log-scrubbing
- gdpr
- anonymization
- api-key
- password-removal
- data-sharing

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Scrub Kit — Redact Secrets & PII From Files Before Sharing skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Scrub Kit — Redact Secrets & PII From Files Before Sharing do?

Point it at logs, configs and datasets: API keys, passwords, cards, emails and more come out as consistent placeholders — with a private mapping table and a verification re-scan. Fully local.

### Which AI agents support Scrub Kit — Redact Secrets & PII From Files Before Sharing?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Scrub Kit — Redact Secrets & PII From Files Before Sharing?

Connect your AI agent to Agensi through MCP, then ask it to use Scrub Kit — Redact Secrets & PII From Files Before Sharing on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
