use cases
Keep your Obsidian vault filed, deduped, and searchable
Point dig at your vault directory and it files notes by policy, collapses duplicate markdown, and gives your agent hybrid search and recall over the files — locally and reversibly.
Obsidian edits the markdown; dig is the librarian over the same directory — filing, deduping, and retrieving the files while you keep using Obsidian as normal.
How it works
- Index the vault.
dig init ~/vault && dig scanbuilds a content-addressed store and a search index over your.mdfiles. The vault stays the source of truth — dig observes your edits, it doesn't lock you out. - File by policy. Declare
[[rule]]placement rules (folder, name, labels);dig orgmoves and renames notes to match.dig driftreports what has wandered from policy. - Dedupe and retrieve.
dig dedupcollapses identical notes (never the last copy);dig find --mode hybridranks across full-text and semantics;dig recallhands an agent a token-budgeted pack.
dig init ~/vault
dig scan
dig org --dry-run # preview filing — nothing touched
dig find "spaced repetition" --mode hybrid --json
Why dig
- Coexists with Obsidian. dig reconciles around your direct edits; it never demands you go "through" it.
- The files, honestly. dig manages where notes live, what they're named, and retrieval over their text — not your backlinks or graph, which stay Obsidian's job.
- Reversible. Every move, rename, and collapse is journaled —
dig undorewinds it.