lisek84

LLM Anon Proxy — Data skill for Claude Code

Data community

Local proxy that keeps your private data out of Claude Code's API traffic — swaps your domains, IPs, hostnames, credentials and tokens for deterministic surrogates before requests leave the machine an.

How to install LLM Anon Proxy

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lisek84/llm-anon-proxy and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What LLM Anon Proxy does

Local proxy that keeps your private data out of Claude Code's API traffic — swaps your domains, IPs, hostnames, credentials and tokens for deterministic surrogates before requests leave the machine and restores them on the way back, including inside tool_use and streamed responses.

Alternatives in Data

  • Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
  • Financial Services — Reference agents, skills, and data connectors for the financial-services workflows we see most — investment ba 34.5k ★
  • Claude Code Memory Setup — Up to 71.5x fewer tokens per session on Claude Code with Obsidian + Graphify 947 ★

README

llm-anon-proxy

**English** · [Polski](README.pl.md)

Keep your private data out of Claude Code's API traffic — replace IPs, domains, hostnames and secrets with reversible surrogates before requests leave the machine, and restore them in the response.

A local proxy that sits between Claude Code and the Anthropic API and keeps your own data off the wire. It replaces your private values (domains, IPs, hostnames, credentials, tokens…) with deterministic placeholders **before** anything leaves the machine, and restores the real values in the response — including inside `tool_use` arguments — so commands still run against your real hosts.

you / ssh / files ─► Claude Code ─► [this proxy] ─► api.anthropic.com
                                       │  example.com      → aqurel-vous.example
                                       │  185.12.34.56      → 198.18.x.x
                                       │  Sup3rS3cret!      → [CRED_XXXXXXXXXX]
                                       ▼
                        restores real values on the way back

It is a **risk-reduction layer, not a guarantee**. Encrypted blobs, data derived from a value (hashes, base64), and context ("a creators payout table") cannot be scrubbed by substitution. Do what you can, and keep the rotation log.

⚠️ Do not run the proxy where Claude Code runs

The proxy's files — `data/mappings.db` (the full original↔surrogate table), `dictionary.yaml`, and `data/secret.key` — are a complete de-anonymization oracle. If the Claude Code agent runs as the **same OS user**, it can simply read them with its file tools and reverse everything; no code can stop a same-UID reader. **Run the proxy as a different OS user / container / WSL distro / host**, so Claude Code reaches it only over the port. A startup preflight enforces this — see **[docs/THREAT-MODEL.md](docs/THREAT-MODEL.md)**.

export ANONPROXY_CLIENT_USER=
export ANONPROXY_ISOLATION=enforce      # refuse to st