Your agent writes the same code over and over. It doesn't have to.

Snippets Vault is a local vault your coding agent fills and reuses. It saves proven handlers, commands, and configs once — then rebuilds them byte-for-byte on every future task.

Your team's conventions stop drifting: error formats, naming rules, deploy steps — stored as reusable standards your agent follows automatically. Everything stays on your disk.

Node.js 22+ · Windows, macOS, Linux · 14-day free trial

A drawer of snippets, on your machine.

What it is

For your agent

Your agent gets tools to save a snippet, browse what exists, and paste a saved snippet into a file — optionally swapping small pieces, like turning a GET handler into a POST. Pasting writes the stored bytes directly, so nothing drifts the way retyped code does.

For you

Everything the agent saves is plain files in a folder on your disk. Browse and edit them in a local web page, or with a text editor. Each snippet counts how often it was pasted and how many tokens that saved.

Which agents

The installer wires it into whatever it finds: Claude Code, Codex, Gemini CLI, OpenCode, Antigravity, Oh My Pi, ZCode, Hermes and more. Restart the agent — that's the whole setup.

One save, many pastes — the pasted copy is always the stored copy.

What that adds up to (measured, not promised)

Faster
the same multi-turn app build, same model, finished noticeably sooner with the vault than without
Leaner
on a large multi-service build the agent generated far less code by hand, read less back, and finished in a fraction of the tool turns
Carries quality
a smaller model building from snippets a larger model authored produced more passing tests and cleaner structure
1 library
every wired agent shares the same snippets, skills, and MCP mini-index on your disk — nothing re-synced, nothing leaves your machine

Based on recorded A/B runs on free-tier models (2026-08); your results depend on task and model. No telemetry leaves your machine — these were measured locally.

A look inside

The actual application, with a small demo vault — folders on the left, snippets in the middle, the stored code on the right. The top bar shows your savings counter and which of your agents are connected.

The Snippets Vault local web app: topbar with savings counter, agents and license buttons; folders, snippet list, and stored code
The local web page (localhost:8787), showing a saved Express route and its paste statistics.

Install

One command. It checks for Node.js (installing it if missing), installs Snippets Vault, connects your agents, and starts the trial.

macOS / Linux
curl -fsSL https://snippets-vault.pages.dev/install.sh | bash
Windows (PowerShell)
powershell -ExecutionPolicy Bypass -c "irm https://snippets-vault.pages.dev/install.ps1 | iex"

Want pictures for every step? See the step-by-step install walkthrough — six small steps with screenshots, about two minutes.

Prefer doing it by hand? Download the zip above, then:

unzip ~/Downloads/snippet-vault.zip -d ~/snippet-vault
cd ~/snippet-vault
npm install --omit=dev
node scripts/setup.js
node scripts/license.mjs trial --server https://snippet-vault-licenses.snippet-vault.workers.dev --email you@x.com

The last three commands run from inside the extracted folder (~/snippet-vault above) — they read package.json and scripts/ relative to where you are. Adjust the unzip/cd paths if you extracted the zip somewhere else.

Your agent then sees these tools (and knows when to use them on its own):

list_folders · list_files · get_snippet · search_snippets · vault_stats
vault_write (create/save/update/delete folders & snippets, register_skill, record_reuse) · paste_snippet
suggest_snippets · run_saved · code_outline · repo_outline · save_task · list_skills · load_skill

To open the local web page: npm run web, then localhost:8787.

Keep it up to date

Check which version is on this machine and update it without losing your snippets or license.

Pricing

Trial

14 days, free
  • Everything included
  • No card required
  • One trial per email — use it on any machine
Start the trial

Monthly

$10 / month
  • All agents, any machine
  • Web page, CLI, and agent tools
  • Works offline after activation

Yearly

$79 / year
  • Same as monthly
  • Cheaper than paying monthly
  • Promo codes welcome

Paid with PayPal — your license key appears here automatically the moment the payment clears.

Lost your key?

Enter the order id from your PayPal receipt plus the email you paid with.