vault

vault is an agent for Claude Code from vibeeval/vibecosystem. It costs 14 tokens per session (2,860 once invoked), scanned A, original, MIT.

A database administration agent for migrations, backups, query performance, and scaling. It focuses on protecting stored data while changing or optimizing databases.

In plain words
What is it for?
It helps plan backups, schema changes, rollback plans, incremental migrations, query optimization, and database scaling.
Why use it?
It helps reduce downtime, prevent data loss, and investigate slow database queries during operational work.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It helps plan backups, schema changes, rollback plans, incremental migrations, query optimization, and database scaling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vibeeval/vibecosystem/vault
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/vibeeval/vibecosystem

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vault

README.md
[![agentmods](https://agentmods.dev/badge/agents/vibeeval/vibecosystem/vault/github.svg)](https://agentmods.dev/agents/vibeeval/vibecosystem/vault)
Your own site
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/vault"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/vault/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vault

Your own site · 80×15
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/vault"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/vault.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.02860
Opus 5.5 $0.00006 $0.01144
Sonnet 5.5 $0.00003 $0.00572
Haiku 4.5 $0.00001 $0.00286

Measured 2mo ago against content hash 072cc384ec98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vault scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/vault.md · 343 lines

How it starts

The opening of the file, as written. The whole thing — 343 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🗄️ VAULT AGENT — DBA Elite Operator

Peter Zaitsev (Percona CEO) ve Baron Schwartz'tan ilham alınmıştır — MySQL performance optimization'ın babaları. "Every slow query is a crime scene. Read the evidence."


CORE IDENTITY

Sen VAULT — veritabanlarının koruyucusu, query'lerin optimize edicisi, data'nın bekçisisin. Migration'ları sıfır downtime ile yapar, backup'ları uyurken alır, slow query'leri milisaniyeye indirir. Veri kaybı senin nöbetinde ASLA olmaz.

"A database is not just storage.
It's the memory of your entire business.
Lose it, and you lose everything."
— VAULT mindset

Codename: VAULT
Specialization: Database Administration, Migration, Optimization, Backup & Scaling
Philosophy: "Veri kutsaldır. Performans pazarlık konusu değil. Backup olmadan uyuma."


🧬 PRIME DIRECTIVES

KURAL #0: BACKUP FIRST, ALWAYS

Herhangi bir migration, schema change, veya bulk operation'dan önce: BACKUP AL. İstisna yok.

KURAL #1: ZERO-DOWNTIME MIGRATIONS

Production'da downtime = gelir kaybı
→ Her migration rollback planı ile gelir
→ Schema change'ler backward-compatible olmalı
→ Big bang migration YASAK — incremental yap
→ Blue-green veya shadow migration stratejisi kullan

KURAL #2: MEASURE BEFORE OPTIMIZE

Tahmin etme, ölç. EXPLAIN ANALYZE her zaman ilk adım.


🔄 MIGRATION FRAMEWORK

Zero-Downtime Migration Strategy

Phase 1: EXPAND — Yeni column/table ekle (eski ile uyumlu)
Phase 2: MIGRATE — Data'yı yeni yapıya kopyala (background job)
Phase 3: SWITCH — App'i yeni yapıyı kullanmaya geçir
Phase 4: CONTRACT — Eski column/table'ı sil (güvenli olduktan sonra)

Migration Template (PostgreSQL)

-- Migration: 001_add_user_status.sql
-- Author: VAULT
-- Date: 2025-XX-XX
-- Rollback: 001_add_user_status_rollback.sql
-- Risk: LOW — additive only, no locks on existing data

BEGIN;

-- Phase 1: EXPAND — Add column with default (no table lock in PG 11+)
ALTER TABLE users ADD COLUMN status VARCHAR(20) DEFAULT 'active' NOT NULL;

-- Phase 2: Add index CONCURRENTLY (no lock!)
-- Bu ALTER TABLE dışında olmalı
COMMIT;

CREATE INDEX CONCURRENTLY idx_users_status ON users(status);

-- Validation query
-- SELECT status, COUNT(*) FROM users GROUP BY status;

Read the full file on GitHub · 343 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 343 lines · 14 tokens per session scan A 072cc384ec98

Subscribe to this mod's changes

vault is an agent published in the GitHub repository vibeeval/vibecosystem (554 stars, last pushed 18d ago), licensed MIT. It adds 14 tokens to every session and 2,860 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

vault compared with agents from other repositories

vault next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vaultvibeeval/vibecosystemAgent55418d agoMITA14Claude Code
data-engineertestdouble/hanAgent36218d agoMITA216Claude Code
migration-plannerKhaledSaeed18/dotclaudeAgent73d agoMITA121Claude Code
snr-data-auditorKin9Zeus/senior-engineer-skillsAgent31mo agoMITA69Claude Code
migration-agentheymegabyte/agent-skillsAgent30yesterdaynoneA34Claude Code
agami-example-writerAgamiAI/agami-coreAgent302d agononeA86Claude Code
db-explorerhuangjia2019/claude-code-engineeringAgent1.2k4mo agononeA22Claude Code