Vault Audit
unlistedby Darren Kuro
Audits vault metadata: fixes one-way prev/next links, normalizes multiline YAML arrays, and hides task inline attributes.
vault-audit
Batch-audit and fix vault metadata in a single command.
Note: This plugin is built for personal use.
Overview
Vault Audit is an Obsidian plugin that scans your entire vault and applies a set of configurable cleanup rules to frontmatter and task lines. Run the "Audit vault metadata" command to fix inconsistencies across all your notes at once.
Features
- Prev/next link pairing -- If note A links
nextto B but B is missing the reciprocalprevback to A (or vice versa), the missing field is automatically added. - YAML array normalization -- Converts multiline YAML arrays (
- itemper line) into single-line format ([item1, item2]). Single-item arrays are collapsed to a bare scalar. - Task attribute hiding -- Wraps specified Dataview inline fields on task lines (e.g.
[id:: ...]) with%%comment markers so they remain parseable but invisible in reading view.
Each rule can be individually toggled on or off in settings. The list of hidden attributes is configurable.
Usage
Installation
Install via BRAT:
- Open BRAT settings and select Add Beta plugin.
- Enter
darrenkuro/obsidian-vault-auditas the repository.
Running
Open the command palette and run Vault Audit: Audit vault metadata. A notice will report how many changes were made.
License
MIT - Darren Kuro
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.