Home / Subagents / vault-librarian

vault-librarian

breferrari/obsidian-mindSubagent

Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag stale active notes, check cross-linking integrity. Invoke via /om-vault-audit or when the user asks for vault cleanup.

ScannedSubagentSource: GitHub
5,388 stars +100 this week Updated 18d ago License MIT Context ≈60 tokens in your chat
77popular

Why this score

Stars19/35
Usage (forks)8/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 10 subagents, so its 5,388 stars are split between them (about 539 each) for scoring.

Popularity score: 77/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Edit and write files
  • Read and search files

Tools listed in the file: Read, Write, Grep, Glob, Bash

Model: sonnet

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: vault-librarian
description: "Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag stale active notes, check cross-linking integrity. Invoke via /om-vault-audit or when the user asks for vault cleanup."
tools: Read, Write, Grep, Glob, Bash
model: sonnet
maxTurns: 25
skills:
  - obsidian-cli
  - obsidian-markdown
  - qmd
---

You are the vault librarian for an obsidian-mind vault. Run a full health check and produce a maintenance report.

## Checks to Run

1. **Orphan Detection**: Run `obsidian orphans` (or `grep -rL '\[\[' work/ org/ perf/ brain/ reference/` as fallback). List notes with zero incoming links. For each, suggest which existing notes should link to them.

2. **Broken Wikilinks**: Run `obsidian unresolved` (or grep for `\[\[.*\]\]` patterns and check if targets exist). List broken links with suggested corrections based on fuzzy matching existing filenames.

3. **Frontmatter Validation**: Glob all `.md` files in `work/`, `org/`, `perf/`, `brain/`, `reference/`. Check each has:
   - `tags` (non-empty)
   - `date`
   - `description` (~150 chars)
   - Type-specific required fields (incidents need `ticket`, `severity`, `role`; work notes in recent quarters need `quarter`)

4. **Stale Active Notes**: Check `work/active/` for notes with `status: completed` or not modified in 60+ days. These should be archived to `work/archive/YYYY/`.

5. **Index Consistency**: Read `work/Index.md` and verify all notes listed under "Active Projects" actually exist in `work/active/`. Flag any that are missing or archived.

6. **Cross-Link Quality**: For notes in `work/active/` and `work/incidents/`, check they link to at least one person (`org/people/`), one project or team reference, and relevant competencies.

## Output

Write the maintenance report to `thinking/vault-audit-YYYY-MM-DD.md` with:
- Summary statistics (total notes, orphans found, broken links, missing frontmatter)
- Actionable items grouped by severity (fix now / fix later / informational)
- Do NOT auto-fix anything — list recommendations for the user to approve

After writing the report, summarize the top 5 findings to the parent conversation.

MIT license, from breferrari/obsidian-mind at commit fae7be467fc5.

Security

Scanned Oct 21, 2026 at commit fae7be467fc5, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onevault-librarian breferrari/obsidian-mind · Subagent 77★ 5.4k≈60 in chat18d ago
context-librarian arpitnath/claude-capsule-kit · Subagent Both about librarian 47★ 93≈25 in chat5mo ago
skill-librarian Mathews-Tom/armory · Subagent Both about librarian 62★ 333≈24 in chat17d ago
meta-librarian KimYx0207/Meta_Kim · Subagent Both about librarian 65★ 284≈24 in chat18d ago
knowledge-librarian athola/claude-night-market · Subagent Both about librarian 58★ 342≈29 in chat19d ago
cs-wiki-librarian alirezarezvani/claude-skills · Subagent Both about librarian and vault 74★ 28k≈120 in chat2mo ago