modeio-anonymization
SKILL.md
Run anonymization checks for text and JSON
Execution policy
- Default: run
scripts/anonymize.py. - Use
scripts/detect_local.pyonly if the user explicitly asks for offline, no-network, or local-only detection.
Script commands
Primary mode: scripts/anonymize.py
-i, --input: content to anonymize- Script calls the Cloudflare anonymization endpoint internally:
https://safety-cf.modeio.ai/api/cf/anonymize.
python scripts/anonymize.py --input "Name: Jack, ID number: 110101199001011234"
python scripts/anonymize.py --input "$(cat sensitive_data.json)"
Output
data.anonymizedContent: anonymized content stringdata.hasPII: whether sensitive data was detected- Optional fields include mapping and analysis metadata
Offline mode: scripts/detect_local.py
Use only when user explicitly asks for offline or local detection.
-i, --input: content to scan--json: output full detection details instead of masked text only- No network call is made.
python scripts/detect_local.py --input "Phone 13812345678 Email test@example.com"
python scripts/detect_local.py --input "Name: Alice Wang, phone 415-555-1234" --json
Output
sanitizedText: masked textitems: detected entitiesriskScore: 0-100riskLevel:low/medium/high
When NOT to use
- For command safety or destructive-operation analysis; use
modeio-safetyinstead. - For pure policy or legal discussion when no text needs anonymization.
Resources
scripts/anonymize.py: default script, callshttps://safety-cf.modeio.ai/api/cf/anonymizescripts/detect_local.py: offline regex detection
Migration context
- Script default endpoint is
https://safety-cf.modeio.ai/api/cf/anonymize. - Anonymization skill traffic is aligned with the Cloudflare rollout.
Weekly Installs
3
Repository
mode-io/mode-io-skillsGitHub Stars
4
First Seen
Mar 2, 2026
Security Audits
Installed on
codex3
mcpjam2
claude-code2
junie2
windsurf2
zencoder2