wiki-doctor

Detect and repair structural and content issues in knowledge base wikis.

3|1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/rijnb/knowledge-base-wiki --skill wiki-doctor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-doctor
Source: https://github.com/rijnb/knowledge-base-wiki/tree/main/.junie/skills/wiki-doctor
Command: npx skills add https://github.com/rijnb/knowledge-base-wiki --skill wiki-doctor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

A knowledge base wiki gradually accumulates broken links, orphan pages, unresolved contradictions, outdated superseded content, and structural gaps that make it unreliable for decision-making and slow to query. This skill automates the detection and repair of these common maintenance issues, keeping your wiki accurate and easy to navigate.

Core Features & Use Cases

  • Automated Link and Orphan Repair: Automatically fixes trivial WikiLink mismatches and converts loose non-markdown files into proper companion notes, while flagging remaining broken links for manual review.
  • Content Gap Detection: Scans for stub pages that need expansion, known contradictions that require resolution, and missing top-level topics or dedicated pages for cross-referenced concepts.
  • Supersession Integrity Checks: Validates that superseded page links are consistent, identifies pages marked as replaced but missing formal supersession metadata, and generates a review queue for user confirmation before applying changes.
  • Freshness Status Reporting: Provides drift and provenance checks to highlight outdated content that needs updating.
  • Use Case: After ingesting new raw notes into your wiki, run this skill to automatically clean up link errors, flag content that needs expansion, and identify conflicting claims before they lead to incorrect decisions.

Quick Start

Ask your AI assistant to run a wiki health check to automatically fix broken links, flag orphan pages, and identify content gaps and contradictions in your knowledge base.

Frequently Asked Questions about wiki-doctor

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

FAQPage Schema
How do I find and fix broken links in my knowledge base wiki?

To fix broken links in your knowledge base wiki, you can run an automated health check that detects WikiLink mismatches, repairs trivial errors automatically, and flags remaining broken links for manual review.

What is an orphan page and how do I repair orphan pages in a wiki?

An orphan page is an isolated wiki note lacking inbound links. You repair orphan pages by running an automated wiki maintenance audit that converts loose non-markdown files into proper companion notes and integrates them.

How do I detect content gaps and contradictions in a knowledge base?

You detect content gaps and contradictions in a knowledge base by running an automated content audit that scans for stub pages needing expansion, identifies known contradictions requiring resolution, and locates missing top-level topics.

Can I check supersession integrity for outdated wiki pages?

Yes, you can check supersession integrity by validating that superseded page links are consistent, identifying pages marked as replaced but missing formal supersession metadata, and generating a review queue for confirmation before applying changes.

What is the best way to audit wiki freshness and identify content drift?

The best way to audit wiki freshness and identify content drift is to run periodic health checks that perform drift and provenance analysis, highlighting outdated content that needs updating to maintain decision-making accuracy.

When should I run a wiki health check for knowledge base maintenance?

You should run a wiki health check for knowledge base maintenance after ingesting new raw notes, before executing pre-query freshness checks, and during periodic audits of long-lived work knowledge bases to ensure structural integrity.