vault-audit · git:20261007.e522be7 · 2026-10-07 · sha256 90b197e78af8d533
vault-audit git:20261007.e522be7A
Immutable. This exact content never changes and is served at /api/v1/blob/90b197e78af8d533.
--- name: vault-audit description: >- Audit an Obsidian vault for PARA classification, link integrity, metadata consistency, LLM Wiki quality, or bounded statistics. Use when the user asks to audit, maintain, lint, clean up, or check the organization and health of their vault. user-invocable: true argument-hint: '[para | links | metadata | wiki | stats | all]' --- # Vault Audit Run a read-only, evidence-based audit. Diagnose first; change nothing unless the user later approves a specific fix. ## 1. Establish scope and rules Read vault-root `AGENTS.md`. Extract: - PARA and naming conventions; - immutable, LLM-managed, and human-managed boundaries; - required metadata; - index and log expectations; - any local rules stricter than canonical PARA. Use `$ARGUMENTS` to select `para`, `links`, `metadata`, `wiki`, `stats`, or `all`. If absent, ask which dimension matters. For potentially large checks, confirm folders, date range, topic, or sample size before reading content. Completion: the audit mode, boundaries, local rules, and bounded scope are explicit. ## 2. Gather live evidence Inspect the current vault and use `obsidian help <command>` before relying on CLI syntax. Match each finding to actual paths and content. A command result is discovery, not interpretation. For example, a vault-wide orphan list must be filtered against the writable wiki scope before it becomes a wiki-quality finding. Record failed or skipped checks. Never imply exhaustive coverage for a sample. ## 3. Run the selected checks ### PARA Load `references/para-rules.md`. Review the selected Inbox, Projects, Areas, Resources, and Archives against actionability. Report separately: - **Canonical PARA:** likely mismatch between finite outcome, ongoing responsibility, reference, and inactive material. - **Local schema:** missing metadata or naming required only by `AGENTS.md`. - **Review candidate:** suggestive but inconclusive signals such as recent archive edits, dated Area notes, or inactivity. Do not call a missing calendar deadline a universal PARA violation. ### Links Check broken or unresolved links, dead ends, and orphans within the confirmed scope. Distinguish an intentional leaf note from an accidental orphan by reading it and its index context. Include both source and target evidence for a broken-link finding. ### Metadata Compare notes only with metadata rules from `AGENTS.md` and conventions evidenced in their note class. Do not invent tag limits, required ownership markers, or preferred taxonomies. Group repeated violations into one pattern with representative paths. ### LLM Wiki quality Within the confirmed topic/date/sample, check: - catalog entries that do not resolve; - managed wiki pages missing from root `index.md`; - raw sources missing required catalog entries; - claims lacking schema-required citations; - contradictions between pages that were both read; - claims plausibly superseded by a newer cited source; - missing cross-references supported by actual related content. Contradiction and staleness checks are bounded investigations, not whole-vault guarantees. ### Statistics Report reproducible counts such as files by PARA category, Inbox size, unresolved links, and notes in the selected scope. Counts provide context; do not convert them into arbitrary health grades. ## 4. Report findings For each finding include: - severity: high, medium, or low; - confidence: verified, sampled, or candidate; - path and evidence; - violated canonical or local rule; - impact; - recommended action. Order by impact, then confidence. Include checks passed, checks skipped, and scope limitations. If no verified issue exists, say what was checked rather than declaring the entire vault healthy. ## 5. Offer fixes without applying them Group safe proposals, but let the user select individual items. Before any later mutation: 1. read affected files again; 2. show exact moves or content changes; 3. explain link/index consequences; 4. obtain explicit approval per destructive action; 5. use the `vault` safe-write rules; 6. verify the result. ## References | Priority | Load when | Reference | | --- | --- | --- | | 1 — High | Auditing PARA classification or explaining why a note belongs in a category | `references/para-rules.md` |