Skip to content
SkillModel-led4,055 tokens in use

wiki-dedup

Finds Obsidian wiki pages that cover the same concept under different names, then merges them with redirect stubs and vault-wide link rewrites.

3,792 stars on the repository MIT LicenseAr9av/obsidian-wiki · skills/wiki-dedup
pip install obsidian-wiki
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing wiki-dedup costs

45tokens idle
4,055tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetectedwrites filesdetectedgitdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure25/25
  • Examples12/15
  • Output15/15
  • Size11/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 149
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 261

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity28
  • Momentum40

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.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers