/wiki:audit

Audit wiki and notes structures for missing frontmatter, broken links, and orphan pages.

1|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/thieung/personal-wiki-hub --skill wiki-audit-thieung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /wiki:audit
Source: https://github.com/thieung/personal-wiki-hub/tree/main/.claude/skills/wiki-audit
Command: npx skills add https://github.com/thieung/personal-wiki-hub --skill wiki-audit-thieung

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps the wiki and notes healthy by detecting structural gaps, broken links, missing frontmatter, stale content, and index inconsistencies to ensure reliable knowledge surfaces.

Core Features & Use Cases

  • Structural health checks for wiki/notes directories, including frontmatter completeness, wikilinks validity, orphan pages, stale content, and index consistency.
  • Safe auto-fixes and report generation that document changes and maintain a log for audits.
  • Automatic triggering when the ingestion counter threshold is reached, ensuring ongoing quality without manual scheduling.

Quick Start

Run the /wiki:audit command to scan and optionally fix issues across wiki/ and notes/.

Frequently Asked Questions about /wiki:audit

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

FAQPage Schema
How do I audit my wiki for broken links and missing frontmatter?

To audit wiki structure, run a scan over your wiki/ and notes/ directories to detect missing frontmatter, broken wikilinks, and orphan pages. The audit generates a report file documenting all structural gaps and inconsistencies.

What are orphan pages and how do I identify them in my notes?

Orphan pages are notes not linked from anywhere in your wiki. You identify them by running a wiki structure audit that scans wikilinks across your notes directory and reports any pages lacking inbound connections.

Can I automatically fix stale content and index inconsistencies in my wiki?

Yes, you can automatically apply safe fixes for stale content and index inconsistencies during a wiki audit. When fixes are applied, a log entry is prepended to your wiki log to document all changes made.

How do I restrict the scope of a wiki audit to specific directories?

You can restrict the audit scope by specifying directory limits when running the wiki structure check. This confines the scan for missing frontmatter, broken links, and orphan pages to the chosen subset of your notes.

Where does the wiki structure audit report get saved?

The wiki audit report is saved as a markdown file named audit-YYYY-MM-DD.md inside the outputs/reports/ directory. This report details all detected frontmatter gaps, broken links, and orphan pages.

When should I run a wiki structure audit instead of manually checking notes?

Run a wiki structure audit when your notes directory grows large enough that manually finding broken wikilinks, stale content, and orphan pages becomes unreliable, or when an automatic ingestion counter threshold is reached.