Skip to main content
ClaudeWave
ES, Spanish
Subagent5.4k estrellas del repoactualizado 10d ago

vault-librarian

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.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/breferrari/obsidian-mind/HEAD/.claude/agents/vault-librarian.md -o ~/.claude/agents/vault-librarian.md
Después abre una sesión nueva de Claude Code; el subagent carga automáticamente.

vault-librarian.md

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.
brag-spotterSubagent

Proactively scans for achievements and wins that aren't in the brag doc yet. Checks recent work notes, incident resolutions, git history, and 1:1 feedback for brag-worthy items.

context-loaderSubagent

Load all vault context about a specific topic — person, project, incident, team, or concept. Gathers notes, backlinks, mentions, timeline, and produces a synthesized briefing.

correction-sweepSubagent

Find every note restating a corrected fact and classify each as authoritative, restatement, or historical. Discovery and judgement only — never edits. Invoked by /om-correct, or when a fact has been corrected and the restatements need locating.

cross-linkerSubagent

Scan recent or specified notes for missing wikilinks. Finds mentions of people, projects, teams, competencies, and incidents that should be linked but aren't. Suggests missing bidirectional links for user approval.

defuddleSkill

Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page. Do NOT use for URLs ending in .md — those are already markdown, use WebFetch directly.

excalidraw-diagramSkill

Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".

json-canvasSkill

Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

mermaid-visualizerSkill

Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.