cross-linker

Discover missing wikilinks in Obsidian vaults and insert them between related pages.

4|Updated May 9, 2026
One-click install
npx skills add https://github.com/itsmarsss/memento --skill cross-linker-itsmarsss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-linker
Source: https://github.com/itsmarsss/memento/tree/main/obsidian-wiki/.skills/cross-linker
Command: npx skills add https://github.com/itsmarsss/memento --skill cross-linker-itsmarsss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-Linker fixes a disconnected Obsidian knowledge graph by finding unlinked page mentions and inserting the missing wikilinks so related ideas become discoverable.

Core Features & Use Cases

  • Page registry building: Scans vault markdown files and indexes titles, aliases, tags, and one-line summaries to create a linkable vocabulary.
  • Missing-link detection: Reads pages to detect when filenames, titles, aliases, or distinctive concepts are mentioned without existing [[wikilinks]].
  • Conservative link insertion: Adds only EXTRACTED (high certainty) and INFERRED (reasonable confidence) links, avoiding self-links, code blocks, and frontmatter.
  • Structure-respecting entity linking: Uses AGENTS.md (when present) to enforce fixed entity subfolder rules so entities are linked into the correct locations.
  • Maintenance after linking: Refreshes entity counters (when required by AGENTS.md), updates misc/ affinity scores, and appends entries to log.md and hot.md.

Quick Start

Use the cross-linker skill to scan your Obsidian vault and automatically insert missing wikilinks after ingestion or when your wiki feels disconnected.

Frequently Asked Questions about cross-linker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically insert missing wikilinks in an Obsidian vault?

The Skill discovers missing cross-references by scanning markdown pages for unlinked mentions of titles, aliases, and distinctive concepts, then inserts appropriate wikilinks. It ranks candidate links by confidence, adding only high-certainty extracted and inferred links while avoiding self-links and frontmatter.

What is the best way to maintain backlinks when adding orphaned pages to a knowledge graph?

The best way to maintain backlinks for orphaned pages is to run automated vault maintenance that scans for unlinked entity mentions and inserts appropriate wikilinks. This weaves new pages into the knowledge graph by indexing titles, aliases, and tags to establish missing connections.

How does cross-referencing handle entity linking rules defined in AGENTS.md?

Cross-referencing respects AGENTS.md structure by enforcing fixed entity subfolder rules so entities link into correct locations. The linker also refreshes entity counters and updates affinity scores as required by the vault configuration.

Can I automatically connect related pages in my Obsidian wiki without creating self-links?

Yes, you can automatically connect related pages without creating self-links by using conservative link insertion logic. The process scans for unlinked mentions and adds only extracted and inferred wikilinks while explicitly avoiding self-links, code blocks, and frontmatter.

How do I fix a disconnected Obsidian knowledge graph after a large ingestion?

To fix a disconnected knowledge graph after large ingestion, run an automated cross-linker to discover missing cross-references and insert appropriate wikilinks. It scans newly added pages, detects unlinked mentions of existing titles or aliases, and updates log and hot-cache entries.

What are the limitations of automated wiki link insertion for vault maintenance?

The main limitation of automated wiki link insertion is that it only adds extracted and inferred links with reasonable confidence, avoiding low-certainty connections. It also skips adding links inside frontmatter and code blocks to preserve formatting integrity.