Privacy Scan — Development skill for Claude Code
Pre-send gate: scan a file or stdin payload for secrets and PII, redact, re-scan, only then proceed.
How to install Privacy Scan
Installs to ~/.claude/skills/romangalaxys10-spec-zcode-privacy-scan-privacy-scan/SKILL.md
mkdir -p ~/.claude/skills/romangalaxys10-spec-zcode-privacy-scan-privacy-scan && curl -fsSL https://raw.githubusercontent.com/romangalaxys10-spec/zcode-privacy-scan/HEAD/commands/privacy-scan.md -o ~/.claude/skills/romangalaxys10-spec-zcode-privacy-scan-privacy-scan/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Privacy Scan does
description: Pre-send gate: scan a file or stdin payload for secrets and PII, redact, re-scan, only then proceed. allowed-tools: Read, Bash, Write, Grep argument-hint: [file or payload]
Invoke the `privacy-scan` skill with this input: **$ARGUMENTS**
- No arguments: ask what is about to be sent, then run
python3 skills/privacy-scan/scripts/scan_payload.py(or pipe stdin with-). - With a file: scan it. CLEAN (exit 0) means the known patterns did not fire. REDACT (exit 20
Alternatives in Development
- Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
- Pair Verify — Use after you fix a bug and before you claim it fixed — it spawns ONE skeptic sibling session via CCC that mus 130 ★
- Planner Gate — You are LinuxAgent's pre-tool planning gate 55 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Code Privacy Guard
🛡️ Claude Code plugin that blocks prompts containing secrets, API keys, and PII before they reach Claude.
Sync Context
Manual cross-project sync between local .agent-memory/ and the global ~/.claude-memory/global/ store — privacy
Heeler Secrets Scan
Run Heeler secret scanning for a repository or staged changes. Use when comitting code or the user asks to det
Check Pii
/check-pii — Check text for PII and redact
Agent Redact
Zero-latency, zero-leak secret & PII redactor for LLMs, Claude Code, and Agentic workflows
ThreadPack
Offline tools for Codex, Claude Code, ChatGPT and Claude exports. Extract code, redact secrets, and download t
Related Agents
ForensicAgent
Forensic security analyst — PII detection, secret scanning, identity leak auditing across git history, staged
Opensource Sanitizer
Pre-public-push safety net. Scans a diff or working tree for leaked secrets, PII, internal references, interna
Data Sovereignty Guard
Mandatory pre-commit egress guard — secrets, credentials, PII, plant/customer identifiers, raw data dumps, and