vault

vault is a skill for Claude Code, Codex from thoreinstein/obsidian-rag. It costs 32 tokens per session (150 once invoked), scanned A, a copy of vault, MIT.

A setting for choosing the folder used as an Obsidian vault, where your connected notes are stored. It records the vault path for the current session.

In plain words
What is it for?
Use it when starting with a vault or switching between different Obsidian vault folders.
Why use it?
It tells vault-related tools where to find and manage your notes.

Skill for Claude CodeCodex

Part of the obsidian-rag plugin — 13 skills, 2 agents shipped together

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.

agentmods
npx agentmods add skills/thoreinstein/obsidian-rag/vault
Any agent
npx skills add thoreinstein/obsidian-rag --skill vault
Clone the repo
git clone --depth 1 https://github.com/thoreinstein/obsidian-rag

Made for: Claude Code, Codex.

Or install obsidian-rag, the plugin that ships this one along with the rest of its 13 skills, 2 agents.

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/skills/thoreinstein/obsidian-rag/vault.svg)](https://agentmods.dev/skills/thoreinstein/obsidian-rag/vault)
Your own site
<a href="https://agentmods.dev/skills/thoreinstein/obsidian-rag/vault"><img src="https://agentmods.dev/badge/skills/thoreinstein/obsidian-rag/vault.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00032 $0.00150
Opus 5 $0.00016 $0.00075
Sonnet 5 $0.00006 $0.00030
Haiku 4.5 $0.00003 $0.00015

Measured 4d ago against content hash 6f09961e274b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

Origin

This is a copy

100% identical to vault — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/vault/SKILL.md · 26 lines

What it actually says

Set Vault Path

Configure the Obsidian vault path for this session.

With Argument

If the user provides a path after /vault:

  • Call obsidian_set_vault with the provided path

Without Argument

If no path is provided:

  • Ask the user: "What is the absolute path to your Obsidian vault?"
  • Once they respond, call obsidian_set_vault with their path

Confirmation

After setting, confirm: "Vault path set to: [path]"

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. 4d ago First seen · 26 lines · 32 tokens per session scan A 6f09961e274b

Subscribe to this mod's changes

vault is a skill published in the GitHub repository thoreinstein/obsidian-rag (2 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 150 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to vault, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

cdb-scan

Map this codebase into project memory — a code graph of every symbol and how they connect, plus a written profile of stack, layout, conventions and workflows. Re-run any time to refresh both in place. Use when memory is newly installed on an existing project, or when the project has changed enough that the stored map…

Avijit07x/claude-db · 72 tokens

refresh-context-map

USE WHEN AIDEV anchors / per-dir AGENTS.md / ADRs have changed in this repo and the smart-context-surfacing PreToolUse hook needs an updated manifest. Rebuilds .claude-leverage-context-map.json at the repo root by running scripts/build-context-map.py. Read-only on source — only writes the manifest.

Filip-Podstavec/claude-leverage · 75 tokens

superbrain-distill

Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.

m3talux/superbrain · 36 tokens

resume

Load a previous session from TokenMizer graph memory. Returns a compact context block (100-600 tokens) covering goals, completed work, decisions, open tasks, and files. Inject this as system context to continue exactly where you left off. Use when user says "resume", "continue from last time", "load my project", "what…

Shweta-Mishra-ai/tokenmizer · 86 tokens

checkpoint

Save the current session to TokenMizer graph memory. Creates a persistent checkpoint with all tasks, decisions, files, and errors — resumable in any future session. Use when user says "save", "checkpoint", "remember this", "I'm done for today", or session is getting long.

Shweta-Mishra-ai/tokenmizer · 61 tokens

garden-tending

Tend the knowledge garden — diagnose vault health, condense project memos into project.md overviews, create/merge cross-project topics, fix broken links, archive superseded notes, extend trails. Trigger on "tend the garden", "condense", "update project overview", "check vault health", "where are we with X?", "what…

linxule/memex-plugin · 131 tokens