Obsidian Mind is an Obsidian vault that stores notes, links, indexes, and other accumulated context so AI coding agents can retain memory across sessions. It is designed for Claude Code and also supports Codex CLI and Gemini CLI through shared hooks, commands, and vault data. Its catalogue add-ons package the vault’s commands, agents, skills, hooks, instructions, settings, plugin, and MCP integration.
Borrowing it
Nothing to install: this file belongs to breferrari/obsidian-mind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/breferrari/obsidian-mind/main/.claude/commands/om-vault-audit.mdgit clone --depth 1 https://github.com/breferrari/obsidian-mindWrote 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.
[](https://agentmods.dev/commands/breferrari/obsidian-mind/om-vault-audit)<a href="https://agentmods.dev/commands/breferrari/obsidian-mind/om-vault-audit"><img src="https://agentmods.dev/badge/commands/breferrari/obsidian-mind/om-vault-audit/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.
<a href="https://agentmods.dev/commands/breferrari/obsidian-mind/om-vault-audit"><img src="https://agentmods.dev/badge/commands/breferrari/obsidian-mind/om-vault-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01502 |
| Opus 5 | $0.00000 | $0.00751 |
| Sonnet 5 | $0.00000 | $0.00300 |
| Haiku 4.5 | $0.00000 | $0.00150 |
Grade A, and why
om-vault-audit 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vault Audit
Deep structural audit of the vault. Checks indexes, folder placement, frontmatter, links, Bases, and consistency. Fix what can be fixed, flag what needs user input.
When to use: After substantial sessions, after reorganization, or periodically to maintain vault health. For lighter end-of-session checks, use /om-wrap-up instead.
Usage
/om-vault-audit
Subagents
This command orchestrates two subagents for deep analysis:
vault-librarian— orphan detection, broken links, frontmatter validation, stale notes, index consistencycross-linker— finds missing wikilinks, orphan notes, broken backlinks
Launch vault-librarian first for the structural audit, then cross-linker for link quality.
Workflow
1. Check Folder Structure
Verify the vault matches the expected layout:
Home.mdexists at vault rootbases/contains all.basefiles (none scattered elsewhere)work/active/contains only notes withstatus: activework/archive/2025/andwork/archive/2026/contain onlystatus: completednoteswork/incidents/contains only notes taggedincidentwork/1-1/contains only 1:1 meeting notesorg/people/contains only notes taggedpersonorg/teams/contains only notes taggedteamtemplates/contains only template files (with{{placeholders}})thinking/is clean (no leftover drafts that should have been promoted)- Nothing unexpected at vault root (allowed:
Home.md,CLAUDE.md,vault-manifest.json,CHANGELOG.md,CONTRIBUTING.md,README.md,LICENSE,.gitignore— no user notes)
2. Check Indexes
Read and verify each index file:
Home.md— do embedded Base views reference existing Bases? Are quick links valid?work/Index.md— are active projects still active? Are completed items in the right section? Any missing notes?brain/Memories.md— is the "Recent Context" section current? Any stale claims?org/People & Context.md— are roles, peer selections, and project assignments current?perf/Brag Doc.md— do PR counts and project descriptions match reality?brain/Skills.md— are all slash commands registered? Workflows still valid?
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.
- 9d ago First seen · 142 lines · 0 tokens per session scan A 966adfdf35e7
om-vault-audit is a command published in the GitHub repository breferrari/obsidian-mind (4,619 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,502 tokens. 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-08-30.
Other commands, from other repositories
session-stop
Stop recording and save this agent session to the project ledger.
pdf-to-wiki
A workflow for sending a large PDF from Google Drive to NotebookLM, Google's document-analysis tool, and saving the resulting notes as Obsidian markdown files. It passes the file link rather than reading the PDF directly.
sol
Run a one-shot task on the routed Codex model (gpt-5.6-sol by default) and relay its answer.
setup
Configure Vault PKM plugin — set vault path, API keys, and verify setup.
setup-mcp-claude-code
Build and register the Contorium MCP server for Claude Code or Cursor Agent.
refresh-context
Re-snapshot Core Context.md from (optional) mothership system files + key personal essays. Run when mothership files change, when new essays signal philosophy shift, or when snapshot is older than 30 days.