LLM Redactor — Data skill for Claude Code
A transparent egress gateway to redact sensitive credentials and local data for LLM coding agents.
How to install LLM Redactor
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open WangYihang/LLM-Redactor and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What LLM Redactor does
A transparent egress gateway to redact sensitive credentials and local data for LLM coding agents.
Alternatives in Data
- LLM Redteam — LLM red-team corpus runner — fires categorized prompt-injection / jailbreak / system-prompt-leak / data-exfil 4.5k ★
- HTML Video — Programmatic video for coding agents — HTML to video on your laptop 4.5k ★
- Opencode Mem — OpenCode plugin that gives coding agents persistent memory using local vector database 1.5k ★
README
LLM-Redactor
A local transparent proxy to redact secrets (API keys, PII) before they leave your machine.
| Feature | Direct Connection | With LLM-Redactor |
|---|---|---|
| Data Privacy | Secrets sent to Cloud | Redacted locally |
| Provider Sees | Prompt: "Fix this: API_KEY=sk-123..." |
Prompt: "Fix this: API_KEY=[REDACTED]" |
| Streaming | Standard | Real-time filtering |
Core Features
- Automatic Redaction: Detects 100+ secret types using Gitleaks-compatible rules.
- Zero Configuration: No need to modify your existing workflows.
- Zero-Latency Streaming: Intercepts and filters SSE streams in real-time.
- Deep JSON Scanning: Recursively traverses nested structures (e.g., Anthropic content blocks).
- Local Audit: Records detected leaks to
detections.jsonl.
Use Case 1: Execute Command with Redaction (Recommended)
This is the easiest way to use LLM-Redactor. Just prepend the command to your existing CLI tool. It will automatically set up the proxy and configure environment variables for the session.
Install
go install github.com/wangyihang/llm-redactor/cmd/llm-redactor-exec@latest
Usage
Prepend `llm-redactor-exec --` to your existing command:
llm-redactor-exec -- claude
llm-redactor-exec -- gemini
llm-redactor-exec -- codex
Upon exiting the session, a comprehensive audit summary will be displayed.
Use Case 2: Standalone Redacting Proxy
Use this if you want to run a persistent proxy server that multiple tools or background processes can use.
Install
go install github.com/wangyihang/llm-redactor/cmd/llm-redactor-proxy@latest
Usage
Start the proxy server:
llm-redactor-proxy --port 4000Configure your environment or tools to use the proxy:
export HTTP_PROXY=http://localhost:4000 export HTTPS_PROXY=http://localhost:4000 # Now run your tools normally claude
Audit & Logs
All detected leaks are logged to `detec
Related Skills
Claude Guard Hook
A global Claude Code hook that intercepts sensitive data before it reaches the LLM — secrets, API keys, PII, a
Looselips Guard
Stops your coding agent publishing your data to the world — a PreToolUse egress guard for Claude Code and othe
Code Insights
8 Local-first CLI and dashboard for analyzing AI coding sessions from Claude Code, Cursor, Codex CLI, Copilot
Mysh
A safer MySQL CLI for AI coding agents: connection profiles, SSH tunnels, and automatic sensitive-data masking
Smg
Engine-agnostic LLM gateway in Rust. Full OpenAI & Anthropic API compatibility across vLLM, TRT-LLM, TokenSpee
LLM Agent Experiments
Benchmarking open-weight LLM coding agents as SCOUT delegates: model comparison experiments with pre-registere
Related Agents
Local Worker
Coding worker on a local model (Ollama, LM Studio, vLLM) served by the multi-model gateway's upstream. Use whe
Data Exfiltrator
Delegates to this agent when the user wants to test exfiltration and DLP/egress controls during an authorized
Qp Security Reviewer
Read-only reviewer for the quality-pass security & data-integrity dimension — authz gaps, tenant/owner scoping