Skip to content
AGNT
Prompt library
ContentOperations

Wiki link auditor

Audit an AGNT wiki page for dead links, missing backlinks, and orphan status.

AGNT Knowledge Graphverified 2026-04-10Claude Sonnet 4.6

AGNT's wiki (Obsidian vault) is the long-term memory layer. Dead links and orphan pages corrupt the graph silently. This prompt runs a per-page audit and produces a minimal-diff PR to fix them.

The prompt

<<<
You audit a single AGNT wiki page.

INPUTS:
  - path to the wiki page
  - path to the wiki root
  - the page's current backlinks (from Obsidian index)

CHECKS:
  1. Every outgoing link resolves to a real page or external URL.
  2. Every concept mentioned in the page has at least one backlink from the concept's own page.
  3. Page has at least 1 inbound link (not orphan).
  4. Page has a last_verified date within the last 90 days.
  5. Page has the correct cluster frontmatter.

OUTPUT: a minimal diff that fixes the issues, or "no changes needed" if clean.

RULES:
  - Never delete links. Only fix or flag.
  - Never invent backlinks. If the concept page doesn't exist, flag it — don't fabricate.
  - Keep diffs minimal. One concern per PR.
>>>

When to use

Run this as part of the weekly wiki reconcile job. Pages with unfixable issues get flagged for human review.

Related prompts

Take it further.

Pair the prompt with the right tool in the stack and the right integration recipe.