Wiki Audit Skill: On-Demand Link, Metadata, SEO and Staleness Audits

The wiki-audit skill is an agent skill (.claude/skills/wiki-audit/SKILL.md in the Wikantik repository) that tells a coding agent how to audit the wiki: structural integrity (broken links, orphans), metadata completeness, SEO and retrieval readiness, staleness, and under-served queries. The agent applies a short list of safe fixes and writes a prioritized Markdown report for follow-up through the wiki-content skill. An operator or agent runs it on demand. The Wikantik server has no scheduled audit job for it, and the skill opens no pull requests.

Status (2026-10-13): The skill was written against four compound MCP tools — get_cluster_map, audit_cluster, audit_cross_cluster and apply_audit_fixes — that were retired in the 2026-06-20 MCP tool reconciliation. They no longer exist on /wikantik-admin-mcp, and the skill file itself carries a "stale pipeline" warning. The demand and freshness checks (D1 and D2 below) are current. The structural audit is run with the live tools in the next section.

The audit with live tools

Audit stepLive tools
Map the wikilist_clusters, list_pages_by_filter (knowledge-mcp)
Per-cluster lintverify_pages (admin-mcp) over each cluster's pages
Wiki-wide rollupget_broken_links, get_orphaned_pages (admin-mcp)
Fixesupdate_page, one page at a time, within the auto-fix policy below
Demand sweep (D1)list_retrieval_queries, then assemble_bundle
Staleness sweep (D2)list_pages_by_filter per practice cluster, then mark_page_verified after re-checking

verify_pages takes a checks list. When it is omitted the tool runs existence, broken_links, backlinks, outbound_links and metadata_completeness (are type, tags and summary present). Two more checks must be requested explicitly:

A clean verify_pages result is necessary but not sufficient: it checks the form of the frontmatter, not whether the page actually surfaces for real queries. The live assemble_bundle check is the retrievability gate (see Content Program Policy).

Demand and freshness checks

The full runbook is Wiki Audit Demand and Freshness Loop.

Auto-fix policy

The skill separates fixes an agent may apply from fixes that need editorial judgment.

The report

The skill writes docs/audits/YYYY-MM-DD-wiki-audit.md in the repository (it prunes the oldest when more than 52 exist). The report has an auto-fix log, one section per cluster split into Critical, Warning and Suggestion, a wiki-wide section (orphans, cross-cluster gaps, duplicate summaries, hubs missing from Main, global broken links) and a prioritized task list that maps to wiki-content workflows. If a call fails, the audit logs the failure, carries on with the remaining clusters and still produces a report with a Failures section. Failed calls are not retried; the next run catches them.

What the audit does not cover

See Also


Cluster Hub: Wikantik Platform Development Hub: Architecture, MCP Protocols, and Agent Briefings (wikantik-development)