Skip to content
Back to skills

Link Audit

ASecurity

Use when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters. Triggers on "link audit", "broken links", "orphaned notes", "link health", "graph cleanup", or "find orphans".

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
ai-agents

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add thoreinstein/obsidian-rag --skill link-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Link Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Link Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thoreinstein-link-audit/badge)](https://www.skillsdirectory.com/skills/thoreinstein-link-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: link-audit
description: >-
  Use when the user wants to audit vault link health, find broken wikilinks,
  orphaned notes, or semantic clusters. Triggers on "link audit", "broken links",
  "orphaned notes", "link health", "graph cleanup", or "find orphans".
---

# Vault Link Audit

Comprehensive audit of link health: broken wikilinks, orphaned notes, and semantic suggestions.

## Phase 1 — Broken Links

1. Call `obsidian_get_broken_links` (optionally with `subfolder` argument).
2. Present broken links grouped by originating file.
3. For each, suggest: delete the link, create a stub note, or correct the target name.
4. Offer to fix each with `obsidian_replace_in_note` (wrong name → correct name).

## Phase 2 — Orphaned Notes

1. Call `obsidian_list_notes` to enumerate all notes in scope.
2. For each candidate orphan, call `obsidian_get_backlinks`.
3. Notes with zero backlinks AND not in `Daily Notes/` are orphan candidates.
4. Present orphan list with options: link from a relevant note, move to archive, or delete.

## Phase 3 — Semantic Suggestions (Optional)

If the user asks for deeper suggestions:

1. For each orphan, call `obsidian_rag_query` with the orphan title as query, `limit: 5`.
2. If strong matches exist (low distance score), suggest `[[wikilink]]` connections.

## Arguments

Optional subfolder: `/link-audit Engineering/`

## Tips

- For large vaults, always scope to a subfolder first (Phase 2 on full vault is slow)
- Broken links in `Daily Notes/` are usually harmless — offer to skip them
- Never make edits without per-change user confirmation
- Run `/index` first if `obsidian_get_broken_links` seems incomplete

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.