wiki-cross-linker
Installation
SKILL.md
Wiki Cross-Linker — Strengthen the Knowledge Graph
After wiki-ingest, recently-created pages may be mentioned as plain text in older pages. This skill scans the wiki, finds plain-text mentions of existing page titles, and converts them to [[wikilinks]].
Pre-flight
- Read
.obsidian-wiki.configforOBSIDIAN_WIKI_VAULT_PATH(defaultswiki/). If only legacy.envexists, instruct user to run/wiki-setupto migrate. - If
wiki/doesn't exist or contains no.mdfiles under the type subdirectories (wiki/{entities,concepts,references,skills,synthesis,journal}/*.mddirectory scan returns empty), exit and tell user to run/wiki-setupthen/wiki-ingest.
STEP 1 — Build the link inventory
Glob wiki/{entities,concepts,references,skills,synthesis,journal}/*.md (directory scan — do NOT rely on wiki/index.md, which is a stale snapshot after Path 2). For each file, gather:
- Filename slug (canonical wikilink target — derived from the file's basename without
.md) - Frontmatter
title:(display alias; fallback to filename slug iftitle:is missing or empty) - Common variants (e.g., "qlib" / "Qlib" / "QLib"; capture all from page bodies)
Build an inventory: {search_phrase → canonical_wikilink}.