Stop flooding the context of your

CtxVault auto-offloads large pastes to a file — your terminal gets the path, your AI reads it on demand. Nothing changes for every other app.

Download for macOS
macOS 14 (Sonoma) or later · needs a license key — buy first to activate.
100% local No telemetry One-time €14,99 macOS 14+

Claude Code's [Pasted text #N] still sends the full text.

Claude Code, Codex, and Gemini CLI all collapse large pastes in the input display. That keeps the line readable — it doesn't change what the model receives. Codex's own source names the placeholder "expanded on submit": a display cue, and the full text still goes out the moment you hit enter (codex-rs/tui/src/bottom_pane/chat_composer.rs).

Without CtxVault [Pasted text #1 +312 lines] → full 312 lines still sent to the model
With CtxVault /Users/you/CtxVault/clip-2026-07-16-041.txt → model reads it on demand

How it works

Three small steps, none of them in your way.

  1. Copy: go over your line threshold, anywhere.
  2. File: CtxVault silently writes it to your vault folder.
  3. Path-paste: paste into your terminal and get a path, not the wall of text.
$ /Users/you/CtxVault/clip-2026-07-18-041.txt

Built for how you actually work in a terminal.

Six small mechanisms, one job: keep your AI's context clean.

Notch Island

See every offload happen live, right at your notch.

Smart Terminal Detection

Only intercepts paste in your CLI tools — everywhere else stays untouched.

Terminal, iTerm2, Warp, Ghostty, WezTerm, Kitty, Alacritty, Hyper.

History Browser

Search, preview, and re-copy anything you've offloaded.

Auto-Cleanup

Old clips vanish on their own — set the retention window once.

Path Templates

Plain path, @path, or your own format.

Works Without a Notch

Mac mini or external display? Same island, as a floating pill: menu bar on Mac, system tray on Windows once it ships.

€14,99 once · lifetime · one device · move anytime
€14,99 / lifetime

Intro price ends 15 November 2026

One-time payment · VAT included for EU/UK customers · sales tax added at checkout elsewhere
  • Lifetime license, 1 device
  • One-time purchase, no subscription
  • Free automatic updates for your version
Buy via Polar
Checkout & license key handled by Polar.sh
Already purchased? Download CtxVault for macOS and activate it with the license key from your confirmation email.
Windows support coming soon — one purchase, both platforms.
Supported terminals: Terminal · iTerm2 · Warp · Ghostty · WezTerm · Kitty · Alacritty · Hyper

Frequently asked questions

Your license covers one active device at a time. Deactivate it in the app before you switch, then activate on the new machine (Mac today, Windows once it ships), no extra purchase.
Yes. Right-click / menu-bar paste doesn't go through the same event hook as Cmd+V, so it inserts the original full text. Use the override hotkey if you deliberately want the full text via Cmd+V instead.
macOS's Secure Input mode blocks all system-wide paste interception while a password field is focused. CtxVault detects this, pauses automatically, shows the status in the menu bar, and resumes on its own.
CtxVault also recognizes common credential formats (OpenAI, GitHub, AWS, Slack and Google keys, JWTs, PEM key blocks, and .env lines ending in _KEY/_TOKEN/_SECRET/_PASSWORD) and routes them to the vault instead of your typed input, with a shorter auto-clear window than a normal offload. Only the file path lands in your terminal; double-tap pastes the real value if you need it there. That keeps the raw key out of what you type, not out of the AI's context: the model still reads it once it uses the key. Browser and login fields still get the real key, since path-injection only applies in the terminal. On by default, and you can turn it off in Settings; it only catches known formats, not a custom token or a bare secret without its matching prefix.
Not by default. VS Code's integrated terminal and its editor panes aren't distinguishable from the outside, so VS Code isn't in the terminal whitelist out of the box (enabling it would risk intercepting paste into your actual source files).
The only network calls are for licensing — activation, deactivation, reactivation if you switch devices, and a periodic check-in with Polar (up to every 5 days) to confirm the key's still valid — plus an optional update check you can turn off. No clipboard content, no usage data, no telemetry.
The default threshold is 100 lines, but it's adjustable (by line count or by size in KB) in Settings, along with the vault folder location and retention window.
CtxVault works at the OS paste level, not per-tool: it doesn't care whether you're running Claude Code, Codex CLI, Gemini CLI, or a plain shell. If your terminal app is on the whitelist, path-paste works there.