wiki-dedup resolves page identity in a vault. It scores every page pair from titles, aliases and tags, reads both pages in full for the candidates, and gives each pair a verdict of merge, keep-separate or needs-review with a one-sentence reason.
Audit mode only reports. Merge mode asks before each merge, and auto-merge handles only high-confidence pairs. A merge keeps one canonical page, folds in aliases, tags, sources and unique content, leaves a redirect stub, and rewrites wikilinks across the vault.
What You Get
- An audit report with high and medium confidence pairs, needs-review cases and summary counts
- A canonical page that gains the secondary page’s aliases, tags, sources, relationships and unique content
- A redirect stub at the old path that points to the canonical page
- Wikilinks rewritten across the vault, outside code, and a final check for leftovers
- A log entry and, for a standalone git vault, a snapshot commit you can reset to
Common Use Cases
- Merging an abbreviation page and its full-name page such as RSC and React Server Components
- Cleaning up spelling variants of the same concept after bulk ingests
- Reviewing ambiguous pairs where one page may be intentionally broader
What Makes It Unique
It separates detection from judgment: a cheap frontmatter pass finds candidates and only then are full pages read. It picks the survivor by incoming links, content richness, sources, title length and alphabetical order, in that sequence. Redirect stubs carry a redirects_to field that other skills know to follow, and the tips explain which near-duplicates, such as different versions of a model, should stay separate.
Under The Hood
The skill is instructions for the agent. It reads page frontmatter and bodies across the vault and, in merge modes, edits pages and writes redirect stubs. Before the first write it runs git in the vault, only when the vault is its own repository, to stage everything and commit a snapshot, and it prints reset commands you can use to undo the run. It runs the obsidian-wiki command line tool to log and sync, and the qmd command when configured. It does not fetch web pages or call remote APIs.