← Back to Skills Marketplace
agentward-ai

AgentWard Sanitize

by agentward-ai · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
340
Downloads
1
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install sanitize
Description
Detect and redact PII from text files. Supports 15 categories including credit cards, SSNs, emails, API keys, addresses, and more — with zero dependencies.
Usage Guidance
This appears to be a straightforward, local PII redaction tool. Before installing or running it: 1) Review and keep the script local; it uses only Python stdlib and makes no network calls according to the code and docs. 2) Be aware the tool writes an entity-map sidecar containing raw PII when you use --output; protect or securely delete that file (do not let the agent or other processes read it). 3) Ensure your agent runtime actually follows the SKILL.md rule not to open the raw input or the entity-map — the safety depends on that behavior. 4) Prefer --preview or --json for inspection and run the tool on a sandbox or test data first. 5) If you need absolute assurance, open and scan the full sanitize.py file yourself (the included code appears benign).
Capability Analysis
Type: OpenClaw Skill Name: sanitize Version: 1.0.0 The skill is designed for PII detection and redaction, with strong explicit safeguards against data leakage, especially when used by an AI agent. The `SKILL.md` contains clear instructions to the agent to 'Do NOT read the input file directly' and 'Do NOT read the entity map file', which are effective prompt injection defenses. The `scripts/sanitize.py` code confirms zero external dependencies and no network calls, and it meticulously prevents raw PII from being output to stdout in `--json` or `--preview` modes, instead writing sensitive mappings to a separate, warned-about sidecar file on disk. All observed behaviors are aligned with the stated purpose and demonstrate a clear intent for secure operation.
Capability Assessment
Purpose & Capability
Name/description (PII detection & redaction) match the delivered artifacts: a Python3 script implementing regex/Luhn-based detectors and a docs file listing supported categories. Requiring only python3 is proportional.
Instruction Scope
SKILL.md gives clear runtime rules to avoid reading raw input or the entity-map and to prefer --output/preview/json. That is appropriate for minimizing exposure of raw PII, but it relies on the agent actually following those rules. The docs also mention a plain 'sanitize to stdout' usage and state 'PII never reaches stdout' — this is likely because sanitized output replaces values with placeholders, but the mixed wording could confuse non-technical users. Important: the script writes a sidecar entity-map containing raw PII when --output is used; the README explicitly instructs not to read that file.
Install Mechanism
No install spec and only a single Python script included; no downloads or external packages. Lowest-risk install posture.
Credentials
No environment variables, credentials, or external service tokens are requested. The API-key detection patterns include common provider prefixes (OpenAI, GitHub, AWS, Slack) for detection only; they are not used to access those services.
Persistence & Privilege
always is false and the skill does not request elevated or persistent privileges. It does write output and an entity-map file to disk (when --output is used), which is normal for a redaction tool.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sanitize
  3. After installation, invoke the skill by name or use /sanitize
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the sanitize skill. - Detects and redacts 15 categories of PII from text files, including credit cards, SSNs, email addresses, API keys, and more. - No external dependencies; works using only the Python standard library. - Enforces strict PII safety rules: never read raw input or entity map files; only view sanitized output. - Supports output to file, category filtering, preview, and JSON modes (all designed to avoid exposing raw PII). - All processing is done locally, ensuring no PII leaves your machine.
Metadata
Slug sanitize
Version 1.0.0
License
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 340 downloads so far.

How do I install AgentWard Sanitize?

Run "/install sanitize" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AgentWard Sanitize free?

Yes, AgentWard Sanitize is completely free (open-source). You can download, install and use it at no cost.

Which platforms does AgentWard Sanitize support?

AgentWard Sanitize is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AgentWard Sanitize?

It is built and maintained by agentward-ai (@agentward-ai); the current version is v1.0.0.

💬 Comments