From wiki-skills
Audits markdown wiki for broken links, orphan pages, contradictions, stale claims, missing frontmatter, and coverage gaps. Generates categorized report with fixes.
npx claudepluginhub kfchou/wiki-skills --plugin wiki-skillsThis skill uses the workspace's default tool permissions.
Audit the wiki. Produce a categorized report. Offer concrete fixes. Log the operation.
Audits wiki for broken wikilinks, orphan pages, contradictions, stale claims, missing cross-references, index issues, and data gaps. Trigger on 'audit', 'lint', 'health check', or wiki quality improvements.
Scans Markdown wiki for structural issues (orphans, broken wikilinks, missing index, stubs), factual contradictions; auto-fixes possible problems, flags rest.
Lints Obsidian wiki vaults for orphan pages, dead wikilinks, stale claims, missing cross-references, frontmatter gaps, empty sections. Generates lint reports, Dataview dashboards, and canvas maps.
Share bugs, ideas, or general feedback.
Audit the wiki. Produce a categorized report. Offer concrete fixes. Log the operation.
Find SCHEMA.md (search from cwd upward, or ~/wikis/). If not found, tell the user to run wiki-init first. Read it to get wiki root path and conventions.
Read wiki/index.md, wiki/overview.md, and all files in wiki/pages/. Build a map of:
.md)[[slug]] references found in any pagesources listed in frontmatter๐ด Errors (must fix)
[[slug]] references where no corresponding wiki/pages/<slug>.md existstitle, tags, sources, or updated fields๐ก Warnings (should fix)
[[slug]] links from any other page (excluding index.md and overview.md)## [Month], ## [Month] \d+, or **[Month] \d+ update โ these are journal entries that should be integrated in-place๐ต Info (consider addressing)
[[slug]] references that appear 3+ times across the wiki but have no dedicated pageoverview.md that could be answered by a web search or new ingestWrite wiki/pages/lint-<today>.md (do not ask permission โ always write this):
---
title: Lint Report <today>
tags: [lint, maintenance]
sources: []
updated: <today>
---
# Lint Report โ <today>
## Summary
- ๐ด Errors: N
- ๐ก Warnings: N
- ๐ต Info: N
## ๐ด Broken Links
- [[source-page]] references [[missing-slug]] โ does not exist
Fix: create the page or remove the reference
## ๐ด Missing Frontmatter
- [[page]] is missing: title, updated
## ๐ก Orphan Pages
- [[slug]] โ no inbound links
Fix: add link from [[related-page]], or delete if no longer relevant
## ๐ก Contradictions
- [[page-a]] says: "<claim>"
- [[page-b]] says: "<conflicting claim>"
Recommendation: <which to trust, or "investigate further">
## ๐ก Stale Claims
- [[page]] last updated <date>, contains "latest" โ may be outdated
Fix: re-verify claims or add a "as of <date>" qualifier
## ๐ต Missing Concept Pages
- [[slug]] referenced N times but no page exists
Fix: run wiki-ingest or create a stub
## ๐ต Coverage Gaps
- Open question from overview.md: "<question>"
Suggestion: search for <X> or ingest <source type>
## ๐ต Missing Cross-References
- [[page-a]] and [[page-b]] both discuss <entity> but don't link to each other
Add the lint report to wiki/index.md under a Maintenance category (create it if it doesn't exist).
For each fixable category, offer:
[[slug]] references? (I'll show each change before writing)"status: orphan to frontmatter of orphan pages?"Show the exact diff for each change before writing. Apply only after confirmation.
wiki/log.mdAlways append โ do not ask permission:
## [<today>] lint | <N errors> errors, <N warnings> warnings, <N info> info
Report: [[lint-<today>]]
Fixed: <list what was auto-fixed, or "none">