Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By NodeNestorv0.3.1MITIn 1 marketplace
Round-trip PII redaction for Claude Code. Replaces names, emails, phones, addresses, URLs, dates, account numbers, and secrets with deterministic placeholder tokens before they hit Anthropic, and restores the real values in the response.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Round-trip PII redaction for Claude Code. A transparent local proxy sits between Claude Code and the Anthropic API:
openai/privacy-filter
and replaced with deterministic short tokens like name-a3f2b1.The Anthropic API never sees the real values; Claude operates on opaque
typed tokens and can still reason about them (name-a3f2b1 ≠ name-9c7e21,
email-fad6db is "an email", secret-aabbcc is "a credential"). A
deterministic HMAC keeps the same real value mapping to the same token
across requests, sessions, and proxy restarts.
/plugin marketplace add https://github.com/NodeNestor/nestor-plugins
/plugin install pii-proxy
Restart your terminal and start a new Claude Code session. The SessionStart
hook will:
proxy/.venv and install onnxruntime, tokenizers, huggingface_hub, numpy.HTTPS_PROXY + NODE_EXTRA_CA_CERTS in ~/.claude/settings.json — not ANTHROPIC_BASE_URL, which trips Claude Code's Remote Control / GrowthBook gate (chains transparently if rolling-context or another proxy is already configured).First request downloads ~1.5 GB of int8 ONNX weights from Hugging Face
(or ~770 MB if you pin PII_PROXY_QUANT=model_q4f16.onnx). After that,
detection is local — no network calls outside of the Anthropic upstream
itself.
git clone https://github.com/NodeNestor/claude-pii-proxy
cd claude-pii-proxy
# Windows
powershell -ExecutionPolicy Bypass -File install.ps1
# Linux / macOS
./install.sh
The installer:
proxy/.venv and installs onnxruntime, tokenizers, huggingface_hub, numpy.HTTPS_PROXY + NODE_EXTRA_CA_CERTS in ~/.claude/settings.json — not ANTHROPIC_BASE_URL, which trips Claude Code's Remote Control / GrowthBook gate (chains transparently if another proxy was already configured).~/.claude/plugins/pii-proxy so the SessionStart hook keeps the proxy alive./pii-gpu cuda # NVIDIA + CUDA via onnxruntime-gpu
/pii-gpu directml # Win/AMD/Intel via DirectX 12 (note: broken on q4 graphs)
/pii-gpu coreml # Apple Silicon
/pii-gpu cpu # back to default
The command reinstalls onnxruntime in the proxy venv and writes
PII_PROXY_PROVIDERS into settings.json. Restart Claude Code afterwards.
Claude Code ──HTTPS_PROXY──► PII Proxy MITM (:5601) ──► core (:5599) ──► Anthropic API
│ detect & redact text fields
│ persist real ↔ token map
│
◄── restore tokens in SSE stream / JSON response
openai/privacy-filter (1.5 B total / 50 M active params, MoE,
Apache-2.0). Runs locally via onnxruntime — no PyTorch.model_quantized.onnx, the fastest variant on CPU
(~45 ms / single, ~6 ms / string when batched). Override with
PII_PROXY_QUANT=model_q4f16.onnx for smallest disk (~770 MB) at higher
latency.<system-reminder>, <local-command-stdout>,
<local-command-caveat> and <available-deferred-tools> are split out of
the cache key. Stable message content survives across turns even though
Claude Code refreshes the timestamps each request.~/.claude/pii-proxy-spans.jsonl: detection
results survive proxy restarts and are shared across Claude Code
sessions. Slow first-time inference happens at most once per unique chunk
on this machine, ever. Append-only JSONL — unbounded by design, no
eviction; we paid the inference cost once, we keep the result forever.
Use /pii-clear-cache if you ever want to reclaim disk.pii-proxy@nestor-plugins is listed by nodenestor/nestor-plugins — review the source before installing
npx claudepluginhub nodenestor/nestor-plugins --plugin pii-proxyBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground