Oboro
An anonymisation layer between your files and a language model.
oboro replaces sensitive values in a document with stable placeholders.
You can then paste the text into Claude Code, Copilot, Codex or Cursor.
No phone numbers, bank details, addresses or client names leak out.
Oboro keeps the mapping in a local, encrypted vault.
Use the vault to turn the model's answer back into the real values.
The tool never sends anything anywhere.
It is a single binary and makes no network requests.
How it works
contract.txt ──► oboro clean ──► contract.clean.md ──► paste into a model
│ │
▼ ▼
vault (encrypted) ◄────── oboro restore ◄── model's answer
The same value always becomes the same placeholder within one vault.
So the model can still see that two documents mention the same client.
Install
There are several ways to install Oboro, quickest first.
See the Quickstart for full detail.
Install script — installs the prebuilt binary for macOS or Linux, and verifies it against the release checksums:
curl -fsSL https://m.canouil.dev/oboro/install.sh | bash
Add --features ner to also detect names not on any list (Linux needs glibc 2.39+). Then fetch the model:
curl -fsSL https://m.canouil.dev/oboro/install.sh | bash -s -- --features ner
oboro models pull # about 348 MB, once
Windows — installs the prebuilt binary and verifies it against the release checksums:
powershell -ExecutionPolicy ByPass -c "irm https://m.canouil.dev/oboro/install.ps1 | iex"
This installs Oboro into %LOCALAPPDATA%\Programs\oboro\bin. It adds that folder to your user PATH if the folder is missing. You do not need administrator rights. Windows has no prebuilt build yet for name recognition (ner) or image reading (ocr). For either feature, build from source: cargo build --release --features ner (or ocr).
Docker — needs no toolchain, just one static binary. The vault volume holds the mapping, so you must create it:
docker volume create oboro-vault
docker run --rm -v oboro-vault:/vault -v "$PWD":/work -w /work \
--user "$(id -u):$(id -g)" ghcr.io/mcanouil/oboro:latest clean contract.docx
The ghcr.io/mcanouil/oboro:ner tag carries the ner build with the recognition model already inside. It finds names with no download and no network at run time.
Prebuilt binary, by hand — download the archive for your machine and SHA256SUMS from the releases page. Verify the archive, then put oboro on your PATH.
With Rust — cargo install --git https://github.com/mcanouil/oboro.
From source — the only way to get ocr, since no prebuilt binary or image carries it:
git clone https://github.com/mcanouil/oboro.git
cd oboro
cargo build --release # default build
cargo build --release --features "ner,ocr" # names and image OCR
Devcontainer — for building or contributing with only Docker on the host. It carries the pinned toolchain, Tesseract and the OCR libraries. Reopen the folder in the container in Visual Studio Code or a GitHub Codespace. See CONTRIBUTING.md.
Uninstalling — oboro uninstall removes everything the tool wrote, including the vault. See the reference.
The default prebuilt binary and Docker image carry no optional feature. Name recognition (ner) links ONNX Runtime, which has no musl build. So its prebuilt forms are separate: glibc release archives from the install script, and the :ner image. Optical character recognition (ocr) needs the Tesseract shared libraries at run time, so ocr stays a source-only build.
In Claude Code
Claude Code reads files itself. Pasting a cleaned copy into it protects
nothing, because the agent already read the original. Two hooks put Oboro
in that path. The plugin installs both hooks, plus the skill that explains
what they do:
/plugin marketplace add mcanouil/oboro
/plugin install oboro@oboro
The plugin still needs the binary on your PATH. It cannot install one.
Until the binary is there, Oboro withholds every matching tool result and
refuses every matching write, rather than leave you unprotected.
If the binary is already installed, one command does the same job without a plugin:
oboro skill install --with-hooks