Install
$ agentstack add skill-mode-io-mode-io-skills-privacy-protector ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Run anonymization and restore flows
Use this skill when you need to anonymize text/files, restore placeholders with a saved map, or tune the local detector.
Maintainer-only validation assets are excluded from ClawHub uploads.
Scope
- Included:
- anonymize (
scripts/anonymize.py) - deanonymize (
scripts/deanonymize.py) - local detector diagnostics (
scripts/detect_local.py) - file/map workflow helpers behind those entrypoints
- Not included:
- command safety analysis (
security) - staged-diff or git pre-commit scanning
Working directory
Run these commands from inside the privacy-protector folder.
Requirements
- Hard requirement:
python3 - Optional package:
requestsfor API-backeddynamic,strict, andcrossborder - Optional package:
python-docxfor.docx - Optional package:
PyMuPDFfor.pdf - Optional override:
ANONYMIZE_API_URLfor non-litelevels - Optional override:
MODEIO_REDACT_MAP_DIRfor local map storage
Core commands
Anonymize text
python3 scripts/anonymize.py \
--input "Email: alice@example.com, Phone: 415-555-1234" \
--level lite \
--json
Anonymize a file
python3 scripts/anonymize.py \
--input ./incident.docx \
--level lite \
--json
Restore from a saved map
python3 scripts/deanonymize.py \
--input "Email: [EMAIL_1]" \
--map ~/.modeio/redact/maps/.json \
--json
Tune the local detector
python3 scripts/detect_local.py \
--input "Project codename Phoenix is approved. Reach support@example.com." \
--allowlist-file examples/detect-local/allowlist.json \
--blocklist-file examples/detect-local/blocklist.json \
--thresholds-file examples/detect-local/thresholds.json \
--json
Runtime notes
literuns fully local.dynamic,strict, andcrossbordercall the backend API- For
crossborder, pass both--sender-codeand--recipient-code - Supported file inputs:
.txt,.md,.markdown,.csv,.tsv,.json,.jsonl,.yaml,.yml,.xml,.html,.htm,.rst,.log,.docx,.pdf - Saved maps default to
~/.modeio/redact/maps; useMODEIO_REDACT_MAP_DIRto override that location - Text-like outputs get embedded map markers or sidecar
.map.jsonreferences when needed .pdfsupports anonymization only; de-anonymization is not supported- Rich-file outputs keep assurance metadata in the JSON response so callers can decide how strict they want to be
- Use
--jsonwhen you want the stable machine-readable envelope and file workflow metadata
Resources
ARCHITECTURE.mdfor package boundariesreferences/cli-contracts.mdfor flags and output contractsreferences/file-workflows.mdfor map linkage and assurance behaviorreferences/local-detector.mdfor profiles and shipped config examplesexamples/detect-local/for ready-to-edit tuning files
When not to use
- Request routing or gateway policy enforcement
- Safety approval/block decisions
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mode-io
- Source: mode-io/mode-io-skills
- License: Apache-2.0
- Homepage: https://www.modeio.ai/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.