Skip to content

Pick your setup ​

Find the tool you use in the table, then follow its quick start. Each "In depth" page has the details.

I use…Start withIn depth
Claude Code (terminal, desktop or IDE)Quick start — hooks, plus the gateway if you want tool output coveredClaude Code
GitHub Copilot CLI or agent modeQuick start — hookGitHub Copilot
Copilot Chat in VS Code with my own API keyGateway quick startGitHub Copilot
Cursor, Continue, Aider, Codex CLIGateway quick startOther AI apps and SDKs
My own script using the OpenAI, Anthropic or Gemini SDKGateway quick startOther AI apps and SDKs
A file or some text I want to clean by handClean a file or some text
ChatGPT.com, claude.ai or other websites and phone appsNot supportedSee below

Why websites and phone apps are not covered ​

pii-airlock works by changing where a program sends its requests. Websites and mobile apps give you no setting for that. For those, use Clean a file or some text before you paste.

Gateway or hooks: which one? ​

Gateway means your tool talks to a local address, and pii-airlock swaps placeholders in and out automatically. Nothing to approve, nothing interrupts you. It works with any tool that lets you set a "base URL".

Hooks are checkpoints inside Claude Code and Copilot. When something personal is about to be sent, they stop and tell you, and you decide. They do not rewrite anything.

If you use Claude Code a lot, many people use hooks as the everyday safety net. The gateway is the better pick when you want everything handled silently, or when the tool has no hook system.

One thing to know before you start ​

None of these setups makes detection perfect. Read Safety and limits once.

Released under the MIT License.