build-vault

build-vault is a command for Claude Code from melaya-labs/melaya-mcp. It costs 33 tokens per session (322 once invoked), scanned A, original, Apache-2.0.

A command for building or updating an Obsidian vault from documents, wikis, mail, chats, tickets, and files. It creates linked notes with sources and checks the vault for errors.

In plain words
What is it for?
Use it to create, extend, migrate, or refresh a knowledge vault and receive a report of notes, sources, checks, and exclusions.
Why use it?
It provides a repeatable process for collecting scattered knowledge while asking for permission before reading sensitive sources or changing notes.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the melaya plugin — 131 skills, 3 commands, 1 MCP server shipped together

Good fit Use it to create, extend, migrate, or refresh a knowledge vault and receive a report of notes, sources, checks, and exclusions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/melaya-labs/melaya-mcp/build-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/melaya-labs/melaya-mcp

Made for: Claude Code.

Or install melaya, the plugin that ships this one along with the rest of its 131 skills, 3 commands, 1 MCP server.

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 build-vault

README.md
[![agentmods](https://agentmods.dev/badge/commands/melaya-labs/melaya-mcp/build-vault/github.svg)](https://agentmods.dev/commands/melaya-labs/melaya-mcp/build-vault)
Your own site
<a href="https://agentmods.dev/commands/melaya-labs/melaya-mcp/build-vault"><img src="https://agentmods.dev/badge/commands/melaya-labs/melaya-mcp/build-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 build-vault

Your own site · 80×15
<a href="https://agentmods.dev/commands/melaya-labs/melaya-mcp/build-vault"><img src="https://agentmods.dev/badge/commands/melaya-labs/melaya-mcp/build-vault.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 322 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.00033 $0.00322
Opus 5.5 $0.00013 $0.00129
Sonnet 5.5 $0.00007 $0.00064
Haiku 4.5 $0.00003 $0.00032

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

Security

Grade A, and why

build-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 20d 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.

commands/build-vault.md · 15 lines

What it actually says

Build the Obsidian vault the user describes, using the melaya-obsidian-vault skill.

  1. Load the skill's SKILL.md, follow its rules, and open only the modules the task needs.
  2. Detect the tools on this host (modules/tools.md): the Melaya connectors and vault tools if present, a shell and Python for the scripts, or chat-only mode.
  3. Write the vault charter first (modules/intake.md): ask at most three questions, state the defaults you took, and get the user's yes before reading any source.
  4. Inventory every source with its sensitivity (modules/sources.md) and get a yes for anything personal or confidential. Sources are read-only.
  5. Follow the scenario's path from modules/scenarios.md: skeleton, then batches of about 25 items with the ledger, notes with sources and dates, hubs and links, and check_vault.py at zero errors after each batch.
  6. Finish with the report from modules/scenarios.md (notes, sources, checker result, open questions, exclusions, how to refresh). Never publish, share, push or overwrite existing notes without the user's explicit yes.

If the user gave input with the command (a vault path, sources, a scenario, languages, a public zone), use it as the charter's starting point: $ARGUMENTS

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. 20d ago First seen · 15 lines · 33 tokens per session scan A 2d4df3a43dcc

Subscribe to this mod's changes

build-vault is a command published in the GitHub repository melaya-labs/melaya-mcp (1 stars, last pushed 7d ago), licensed Apache-2.0. It adds 33 tokens to every session and 322 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-11-11.

Related

build-vault compared with commands from other repositories

build-vault next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-vaultmelaya-labs/melaya-mcpCommand17d agoApache-2.0A33Claude Code
render_previewZoeLinUTS/MagicTeX-mcpCommand615d agoAGPL-3.0A12Claude Code
multi-pagevitron-ai/alethia-mcpCommand21mo agononeA13Claude Code
auditvitron-ai/alethia-mcpCommand21mo agononeA14Claude Code
safety-checkvitron-ai/alethia-mcpCommand21mo agononeA13Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code