← All skills
Tencent SkillHub · Developer Tools

AgentWard Sanitize

Detect and redact PII from text files. Supports 15 categories including credit cards, SSNs, emails, API keys, addresses, and more — with zero dependencies.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Detect and redact PII from text files. Supports 15 categories including credit cards, SSNs, emails, API keys, addresses, and more — with zero dependencies.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, clawhub.json, references/SUPPORTED_PII.md, scripts/sanitize.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 11 sections Open source page

AgentWard Sanitize

Detect and redact personally identifiable information (PII) from text files.

IMPORTANT — PII Safety Rules

Do NOT read the input file directly. It may contain sensitive PII. ALWAYS use --output FILE to write sanitized output to a file. Only read the OUTPUT file, never the raw input. Only show the user the redacted output, never the raw input. --json and --preview are safe — they do NOT print raw PII values to stdout. The entity map (raw PII → placeholder mapping) is written to a separate sidecar file (*.entity-map.json) only when --output is used. Do NOT read the entity map file.

What it does

Scans files for PII — credit cards, SSNs, emails, phone numbers, API keys, IP addresses, mailing addresses, dates of birth, passport numbers, driver's license numbers, bank routing numbers, medical license numbers, and insurance member IDs — and replaces each instance with a numbered placeholder like [CREDIT_CARD_1].

Sanitize a file (RECOMMENDED — always use --output)

python scripts/sanitize.py patient-notes.txt --output clean.txt

Preview mode (detect PII categories/offsets without showing raw values)

python scripts/sanitize.py notes.md --preview

JSON output (safe — no raw PII in stdout)

python scripts/sanitize.py report.txt --json --output clean.txt

Filter to specific categories

python scripts/sanitize.py log.txt --categories ssn,credit_card,email --output clean.txt

Supported PII categories

See references/SUPPORTED_PII.md for the full list with detection methods and false positive mitigation. CategoryPattern typeExamplecredit_cardLuhn-validated 13-19 digits4111 1111 1111 1111ssn3-2-4 digit groups123-45-6789cvvKeyword-anchored 3-4 digitsCVV: 123expiry_dateKeyword-anchored MM/YYexpiry 01/30api_keyProvider prefix patternssk-abc..., ghp_..., AKIA...emailStandard email formatuser@example.comphoneUS/intl phone numbers+1 (555) 123-4567ip_addressIPv4 addresses192.168.1.100date_of_birthKeyword-anchored datesDOB: 03/15/1985passportKeyword-anchored alphanumericPassport: AB1234567drivers_licenseKeyword-anchored alphanumericDL: D12345678bank_routingKeyword-anchored 9 digitsrouting: 021000021addressStreet + city/state/zip742 Evergreen Terrace Dr, Springfield, IL 62704medical_licenseKeyword-anchored license IDLicense: CA-MD-8827341insurance_idKeyword-anchored member/policy IDMember ID: BCB-2847193

Security and Privacy

All processing is local. The script makes zero network calls. No data leaves your machine. Zero dependencies. Uses only Python standard library — no third-party packages to audit. PII never reaches stdout. The --json and --preview modes strip raw PII values from output. The entity map (containing raw PII to placeholder mappings) is only written to a sidecar file on disk when --output is used. Designed for agent safety. The skill instructions above tell the agent to never read the raw input file or the entity map file — only the sanitized output.

Requirements

Python 3.11+ No external dependencies (stdlib only)

About

Built by AgentWard — the open-source permission control plane for AI agents.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts1 Config
  • SKILL.md Primary doc
  • references/SUPPORTED_PII.md Docs
  • scripts/sanitize.py Scripts
  • clawhub.json Config