vault-health
Skill2 starsChanged 4 months agoMITView on GitHub
Check vault consistency: broken wikilinks, missing frontmatter, summaries, project codes, todos board limits, misplaced files.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- jhs512/ibtheir own version, first seen Oct 15, 2026
- kingluminance/claude-skillstheir own version, first seen Oct 11, 2026
- RoseCompanion/obsidian-vault-health-checktheir own version, first seen Sep 20, 2026
- benoror/obsidianos_worktheir own version, first seen Jun 11, 2026
- sergeeey/Claude-cod-top-2026their own version, first seen May 13, 2026
- az9713/claude-code-obsidiantheir own version, first seen Mar 28, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- benoror/obsidianos_work★ 166same name
- sergeeey/Claude-cod-top-2026★ 9same name
- az9713/claude-code-obsidian★ 4same name
- jhs512/ib★ 1same name
- kingluminance/claude-skills★ 0same name
- RoseCompanion/obsidian-vault-health-check★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- daily-noteSkill
- inbox-triageSkill
- vault-inventorySkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill during the monthly maintenance check, whenever the user asks for a vault health check, or any time something feels off about …
- Distinctive: line 21
Do not change anything yet — present the report and ask the user which issues to fix.
- Distinctive: line 22
Only after the user confirms, apply the agreed fixes (repair or remove broken links, add missing frontmatter, move misplaced files), then …
- Very specific: line 43
Never modify, move, or delete a file based on this check without the user's explicit confirmation.
- Distinctive: line 45
Never batch unrelated fixes into a single unexplained commit.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to use
Use this skill during the monthly maintenance check, whenever the user asks for a vault health check, or any time something feels off about the vault's structure and it's worth confirming nothing is broken.
This is the fast structural check, not the content inventory. It answers "is anything broken" in a few minutes. It does not look for orphaned notes, contradicting decisions, or rule files that outgrew their usefulness — that is vault-inventory, which runs monthly and takes a session. A vault can pass every check below and still hold two different answers to the same question. Never report one as if it had covered the other.
Steps
- Grep the vault for all
[[wikilink]]targets, and for each one check whether a matching file actually exists. Collect any wikilink whose target has no corresponding note. Read the exclusion list below before running this step — without it, this check reports mostly noise. Two parsing traps make it lie outright: an alias inside a markdown table is written[[Target\|Alias]], so split on\|before|and strip stray backslashes; and a byte-order mark on line one defeats a^---frontmatter test, so stripbefore parsing. Both produce confident false positives. - List every note that is missing a
tags:field in its YAML frontmatter, every note whosestatusvalue is outside the allowed set (active/completed/paused/waiting, or their translated equivalents fromAGENTS.md), every note that is missing astatusfield outright (except daily notes and00 Contextnotes, whichAGENTS.mdexempts fromstatus), and every note that is missing adatefield. Also flag every note inside a project or area folder that lacks its folder's tag — read that tag from the register inAGENTS.md, never derive it from the folder name. Tag order is never a finding; the rulebook allows any order deliberately. Note thattags:has two legal YAML spellings — inlinetags: [a, b]and a block list on the following lines. A check that only understands the inline form reports "tags missing" on perfectly correct files. - Check
summary:in every active knowledge note under00 Context,02 Projects,03 Areas, and04 Resources: present, at most 160 characters, and describing purpose rather than state. Length is a hard finding; the purpose-versus-state judgement is a warning, because it is a reading, not a measurement. Words that reliably signal a summary has drifted into state: waiting, done, finished, superseded, currently, today, still, pending, upcoming, plus any version number or date. Match on word boundaries — "finishing a file" contains "finish" but describes the end of a process, not a status. - Project codes, as warnings. A
code:that is not two to five capital letters or digits; acode:that does not appear in the register inAGENTS.md; a hub note withoutcode:. A hub means exactly one level: a flat note directly under02 Projects, a file named like its own folder, or aREADME.md. An engagement folder inside an area inherits its area's code and is not checked. These stay warnings on purpose — notes written before the vault adopted codes are not wrong, just not yet caught up. todos.md, as warnings. Finished entries still sitting in a working section instead of "Recently done"; finished entries older than 14 days; entries longer than five lines. Compute the 14 days against midnight, not against the current time — otherwise an entry exactly 14 days old counts as overdue in the afternoon and not in the morning, and the report changes depending on when it runs. Why this file gets its own check: the rule that applies while writing — five lines — holds by itself. The two that demand an action later — move it when done, clear it after two weeks — did not hold for three weeks in the vault this template comes from, because nothing made the violation visible. Unlike every other finding, over-age entries may be cleared right away;AGENTS.mdmakes that the agent's job.- List every file sitting directly in the vault root (or any other place outside its expected PARA folder) that should instead live under
00 Context,01 Inbox,02 Projects,03 Areas,04 Resources,05 Daily Notes,06 Archive,07 Attachments, or99 Templates— the rule files,todos.md,Projects.base,.gitignore, and.maintenance-log.mdlegitimately live at the root. Also flag any file sitting directly in the root of07 Attachmentsrather than in an owner folder. - Report all findings together as a single table: issue type, file, and what's wrong. Keep hard findings and warnings visually apart.
- Do not change anything yet — present the report and ask the user which issues to fix.
- Only after the user confirms, apply the agreed fixes (repair or remove broken links, add missing frontmatter, move misplaced files), then commit and push.
What is deliberately not a finding
This section is the difference between a check people read and a check people learn to ignore. In the vault this template comes from, a naive broken-link scan returned 27 hits, and not one of them was real. Every single one was documentation quoting or illustrating a link rather than making one. A check with that hit rate gets skipped after two sessions, and then it protects nothing.
Strip all of the following before looking for wikilinks:
- Fenced code blocks and inline backticks. A rule file that explains what a broken link looks like will contain one. That is a quotation, not a link. This exclusion alone accounted for all 27 false hits above.
- Placeholder targets containing angle brackets, e.g.
[[Reports/<YYYY-MM-DD>-summary]]. That is a naming pattern, not a destination. - The rule files themselves (
AGENTS.mdand its adapters) for the link check. They describe the rules rather than follow them, so their examples are supposed to look wrong.
Two things that look like exclusions but are not:
- Do not strip block quotes. It is tempting, because rule text often gets quoted there. But callouts —
> [!warning] Superseded by [[Other note]]— are ordinary notes written in quote syntax, and they carry real links. Excluding them means never checking a whole class of banner links, exactly the ones that break when files get renamed. Stripping code and backticks is enough. - A dead link inside a daily note is not a finding. Daily notes are a log of a moment; they are allowed to point at things that no longer exist.
Finally: the set of files you check and the set of files a link may point to are two different sets. Excluding a folder from the scan does not mean links into it are broken. Build the resolution index from everything, then check only what you meant to check.
Rules
- Never modify, move, or delete a file based on this check without the user's explicit confirmation. The single exception is clearing finished
todos.mdentries past 14 days, whichAGENTS.mdassigns to the agent. - Report every finding, even ones that seem minor — let the user decide what matters.
- Never batch unrelated fixes into a single unexplained commit; describe what was changed and why.
- If the report is much longer than you expected, suspect the check before you suspect the vault. Verify a sample of findings by hand first. Acting on a noisy report means changing correct files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

