obsidian-links

Format, validate and fix Obsidian wiki links to conform with vault conventions.

31|15|Updated Sep 5, 2025
One-click install
npx skills add https://github.com/jykim/AI4PKM --skill obsidian-links
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-links
Source: https://github.com/jykim/AI4PKM/tree/main/ai4pkm_vault/_Settings_/Skills/obsidian-links
Command: npx skills add https://github.com/jykim/AI4PKM --skill obsidian-links

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Obsidian wiki links are easy to write but can become broken or inconsistent across a vault. This Skill automates formatting, validates existence, and fixes broken links to maintain reliable cross-references.

Core Features & Use Cases

  • Link existence validation: uses Glob/Grep or file read to confirm target files exist.
  • Section header verification: ensures section links reference exact header text.
  • Folder-prefix conventions: enforces correct use of folder prefixes (omit AI/ for AI folders).
  • Broken link repair: automatically updates broken links to correct targets.
  • Inline YAML compatibility: ensures links in YAML properties are correctly quoted.

Quick Start

Audit the current note for wiki links and fix broken targets, ensuring exact headers for any section links.

Frequently Asked Questions about obsidian-links

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

FAQPage Schema
How do I validate and fix broken wiki links in Obsidian?

Wiki link validation checks that target files and section headers exist in your vault, then automatically repairs broken links to correct targets. This Skill uses file globbing and grep to confirm existence, matches exact header text, and updates malformed links in place.

Can I enforce consistent link formatting across my Obsidian vault?

Yes. This Skill formats wiki links to conform with vault conventions, including filename prefixes, folder-path rules, and proper header references. It ensures links follow your vault's standards when creating or auditing cross-references.

How do I check if section links point to the correct headers in Obsidian?

Section header verification ensures wiki links reference exact header text in target files. The Skill matches your link anchors against actual headers and repairs mismatches, preventing broken internal navigation.

Does this work with YAML frontmatter links in Obsidian notes?

Yes. The Skill handles inline YAML compatibility by ensuring links in YAML properties are correctly quoted and formatted, so frontmatter cross-references remain valid.

What's the difference between fixing links manually and using automated validation?

Manual fixing is error-prone across large vaults; automated validation uses Glob or Grep to verify all target files and headers exist, then repairs broken links at scale while enforcing consistent formatting conventions.