π¦ ClawHub
PII Redactor
by @m-newhauser
Redact sensitive information from text using a locally-hosted, zero-shot PII/PHI detection model.
βοΈ Configuration
1. Install the ClawGuard Server
pip install clawguard-pii==1.0.4
Source: https://github.com/anthropics/clawguard-pii (replace with the actual repository URL)
Review the package source before installing. Pin to an audited release in production.
2. Generate a Token and Start the Server
export CLAWGUARD_TOKEN=$(python3 -c "import secrets; print(secrets.token_hex(32))")
clawguard serve
The service starts on http://localhost:8000.
3. Configure the Agent
Set these environment variables in your agent runtime:
CLAWGUARD_URL=http://localhost:8000
CLAWGUARD_TOKEN= # Must match the server token
TERMINAL
clawhub install pii-redactor