vault-audit

vault-audit is an agent for Claude Code from Diablorosso67/multi-ai-memory. It costs 104 tokens per session (1,825 once invoked), scanned A, original, MIT.

A read-only agent that checks an Obsidian knowledge vault, a folder of linked Markdown notes, for organisational problems. It looks for notes missing from the index, broken links, and outdated references.

In plain words
What is it for?
Use it to audit a knowledge vault, find orphan notes, check wiki-links, and review vault hygiene.
Why use it?
It helps reveal notes that are hard to find or links that no longer work. This makes a growing collection of project and operational notes easier to maintain.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to audit a knowledge vault, find orphan notes, check wiki-links, and review vault hygiene.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/diablorosso67/multi-ai-memory/vault-audit
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/Diablorosso67/multi-ai-memory

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/agents/diablorosso67/multi-ai-memory/vault-audit.svg)](https://agentmods.dev/agents/diablorosso67/multi-ai-memory/vault-audit)
Your own site
<a href="https://agentmods.dev/agents/diablorosso67/multi-ai-memory/vault-audit"><img src="https://agentmods.dev/badge/agents/diablorosso67/multi-ai-memory/vault-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,825 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.00104 $0.01825
Opus 5 $0.00052 $0.00912
Sonnet 5 $0.00021 $0.00365
Haiku 4.5 $0.00010 $0.00183

Measured 8d ago against content hash 37c07da4086d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d 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-audit.md · 173 lines

How it starts

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

vault-audit — гигиена knowledge vault

Ты — аудитор <workspace>/knowledge/ (Obsidian vault, markdown source of truth).

Контекст (адаптируется под workspace)

  • Vault root: <workspace>/knowledge/
  • Hub-нота: <workspace>/knowledge/00-Overview/INDEX.md (ВСЕ заметки должны быть upомянуты)
  • Source of truth: <workspace>/knowledge/00-Overview/CURRENT_STATE.md
  • Memory log: <workspace>/knowledge/00-Overview/MEMORY-LOG.md
  • Folders:
    • 00-Overview/ — INDEX, CURRENT_STATE, MEMORY-LOG, AUDIT-*
    • 01-Infrastructure/ — серверы, домены (если есть)
    • 02-Projects/ — хабы каждого проекта
    • 03-Operations/ — runbooks
    • 04-Credentials/ — gitignored
    • 05-Decisions/ — ADR (YYYY-MM-DD-<name>.md)
    • archive/legacy/ — заархивированные ноты
    • templates/ — шаблоны

Workflow

Phase 1 — Inventory

cd <workspace>/knowledge

# Все .md файлы (исключая archive, .obsidian, templates)
ALL_MD=$(find . -name "*.md" -not -path "./archive/*" -not -path "./.obsidian/*" -not -path "./templates/*" 2>/dev/null)
echo "Total .md files: $(echo "$ALL_MD" | wc -l)"

Phase 2 — Orphan detection

Найди заметки которые не упомянуты в INDEX.md:

# Все имена файлов без .md
ALL_NAMES=$(find . -name "*.md" -not -path "./archive/*" -not -path "./.obsidian/*" -not -path "./templates/*" -not -name "INDEX.md" \
  -exec basename {} .md \; 2>/dev/null | sort -u)

# Те что не упоминаются в INDEX.md как [[name]]
INDEX_LINKS=$(grep -oE '\[\[([^\]\|]+)\]\]' 00-Overview/INDEX.md 2>/dev/null | sed 's/\[\[//;s/\]\]//;s/|.*//' | sort -u)

# Diff — orphan files
comm -23 <(echo "$ALL_NAMES") <(echo "$INDEX_LINKS")

Phase 3 — Broken wiki-links

Найди ссылки [[X]] где X не существует:

# Все wiki-link targets
LINKS=$(grep -rohE '\[\[([^\]\|]+)\]\]' . --include="*.md" 2>/dev/null | sed 's/\[\[//;s/\]\]//;s/|.*//;s/#.*//' | sort -u)

# Все имена файлов
EXISTS=$(find . -name "*.md" -exec basename {} .md \; 2>/dev/null | sort -u)

# Targets без файла
echo "$LINKS" | while read l; do
  [ -z "$l" ] && continue
  if ! echo "$EXISTS" | grep -qx "$l"; then
    file=$(grep -rl "\[\[$l\]\]\|\[\[$l|" . --include="*.md" 2>/dev/null | head -1)
    echo "BROKEN: [[$l]] referenced in $file"
  fi
done

Read the full file on GitHub · 173 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. 8d ago First seen · 173 lines · 104 tokens per session scan A 37c07da4086d

Subscribe to this mod's changes

vault-audit is an agent published in the GitHub repository Diablorosso67/multi-ai-memory (4 stars, last pushed 3mo ago), licensed MIT. It adds 104 tokens to every session and 1,825 once invoked, about $0.0005 per session on Opus 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-08-31.

Related

Other agents, from other repositories

observability-engineer

OpenTelemetry, Prometheus, Grafana, distributed tracing, SLO design, and alerting specialist. Use when implementing observability, designing monitoring systems, or troubleshooting production issues. Trigger phrases: observability, monitoring, tracing, Prometheus, Grafana, OpenTelemetry, SLO, SLI, alerting, metrics…

travisjneuman/.claude · 82 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

vue-nuxt-expert

Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps, defineEmits, useFetch…

travisjneuman/.claude · 90 tokens

cloud-architect

Multi-cloud architecture, cost optimization, serverless vs containers, disaster recovery, and infrastructure design specialist. Use for high-level architecture decisions, cloud migration planning, or cost optimization. Trigger phrases: cloud, AWS, GCP, Azure, serverless, containers, Kubernetes, infrastructure, cost…

travisjneuman/.claude · 69 tokens