# pii-safe-documents

> Claude/Codex skill by [@danyuchn](https://omgskills.com/library/danyuchn/index.md) · 252 stars · Updated 2026-10-25

Processes sensitive local documents through PII Guard and a local Ollama model into a reversible redacted copy, without letting the main agent read the original or restored contents.

Tags: anonymization, claude-code, gdpr, llm, ollama, pii, presidio, privacy, taiwan, traditional-chinese

## Install

```sh
git clone https://github.com/danyuchn/pii-guard /tmp/pii-guard && ln -s /tmp/pii-guard/.agents/skills/pii-safe-documents ~/.claude/skills/pii-safe-documents
```

## From README

PII Safe Documents This skill creates a reversible, locally redacted working copy with a strict main-agent workflow boundary: The main agent is untrusted for raw data. It receives paths and safe receipts only. The bundled open-source local wrapper may read the original solely to run PII Guard and local Ollama. No hook is required. Normal wrapper output suppresses raw content. This is strong protection against accidental model exposure, not an OS security boundary against a malicious process running as the same macOS user. A Skill cannot revoke its own filesystem tools. Hostile-agent isolation requires a separately permissioned local broker or OS account. Never describe this Skill alone as mathematically or technically impossible to bypass. Non-negotiable isolation rules When this skill is active, the main agent MUST NOT: Read, preview, search, summarize, diff, upload, attach, or otherwise inspect the original file.

## Links

- HTML page: https://omgskills.com/library/danyuchn/pii-guard/dot-agents/skills/pii-safe-documents/
- GitHub: https://github.com/danyuchn/pii-guard
- Author: [@danyuchn](https://omgskills.com/library/danyuchn/index.md)

## More skills by this author

- [asd-ste100](https://omgskills.com/library/danyuchn/asd-ste100-skill/index.md) — Used when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages,...
   - [@danyuchn](https://omgskills.com/library/danyuchn/index.md) · 6.2k stars
- [iso-24495](https://omgskills.com/library/danyuchn/iso-24495-skill/index.md) — Used when text must be easy for its intended reader to find, understand, and act on — reports, emails, documentation,...
   - [@danyuchn](https://omgskills.com/library/danyuchn/index.md) · 155 stars
- [fire-planner](https://omgskills.com/library/danyuchn/fire-planner/index.md) — A FIRE (Financial Independence, Retire Early) planning knowledge base with calculation frameworks, stress testing, and...
   - [@danyuchn](https://omgskills.com/library/danyuchn/index.md) · 17 stars
