Loading...
Loading...
Scan the Obsidian wiki and automatically discover missing cross-references between pages. Use this skill when the user says "link my pages", "find missing links", "cross-reference", "connect my wiki", "add wikilinks", "what pages should be linked", or after any large ingestion to ensure new pages are woven into the existing knowledge graph. Also trigger when the user mentions "orphan pages" in the context of wanting to connect them, or says things like "my wiki feels disconnected" or "pages aren't linked well". This is a write-heavy skill — it actually modifies pages to add links, unlike wiki-lint which just reports issues.
npx skill4agent add ar9av/obsidian-wiki cross-linker[[wikilinks]]llm-wiki/SKILL.mdRead.envOBSIDIAN_VAULT_PATHindex.mdlog.md.md_archives/.obsidian/.mdtitlepage_name → { path, title, aliases, tags, summary }[[...]][[...]][[projects/my-project/my-project]]MyProject[[page-name]][[full/path/to/page-name]][[foo]]| Signal | Points | Example |
|---|---|---|
| Exact name match in text | +4 | "MyProject" appears in body text → link to my-project.md |
| Shared tags (2+) | +2 | Both tagged |
| Same project, no link | +2 | Both under |
| Mentioned entity/concept | +2 | Page mentions "knowledge graphs" → link to |
| Cross-category connection | +2 | Source is in |
| Peripheral→hub reach | +2 | Source page has ≤ 2 total links (peripheral) but target has ≥ 8 (hub) — connecting a loose page to a load-bearing concept |
| Partial name match | +1 | "graph" appears but page is |
| Score | Label | Action |
|---|---|---|
| ≥ 6 | EXTRACTED | Link is effectively certain — exact mention or very strong match. Apply inline. |
| 3–5 | INFERRED | Link is a reasonable inference — shared context, cross-category, peripheral→hub. Apply inline or as Related section. |
| 1–2 | AMBIGUOUS | Weak or partial match. Skip unless user specifically asks to connect loose pages. |
This project uses knowledge graphs to connect entities.This project uses [[concepts/knowledge-graphs|knowledge graphs]] to connect entities.[[path|display text]]## Related## Related
- [[projects/my-project/my-project]] — Also uses AI agents for research automation
- [[concepts/knowledge-graphs]] — Core technique used in this project## Related## Cross-Link Report
### Links Added: 23 across 12 pages
| Page | Links Added | Confidence | Type |
|---|---|---|---|
| `projects/my-project/my-project.md` | 3 | EXTRACTED | 2 inline, 1 related |
| `entities/jane-doe.md` | 5 | INFERRED | 3 inline, 2 related |
| ... | | | |
### Orphan Pages Remaining: 2
- `references/foo.md` — no incoming or outgoing links found
- `concepts/bar.md` — could not find related pages
### Pages Skipped: 3
- `index.md`, `log.md` — special files
- `_archives/*` — archived contentlog.md- [TIMESTAMP] CROSS_LINK pages_scanned=N links_added=M pages_modified=P orphans_remaining=Q_archives/## Key Concepts## Relatedjane-doe