Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Wiki Audit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karlorz-wiki-audit)
---
name: wiki-audit
description: Verify per-page that every ^[raw/...] resolves and sources frontmatter matches the body.
---
# wiki-audit
## When This Skill Activates
- User asks for a per-page audit or invokes a pre-merge gate.
- A vault is resolvable (see step 0).
## Output language
Run `skillwiki lang` at the start. Generate audit narrative and `--human` summaries in the resolved language. Frontmatter keys, file names, schema headers, index/log structural lines, citation markers, and wikilink slugs MUST stay English.
## Pre-orientation reads
Standard four reads.
## Steps
0. **Resolve vault and language.** Run `skillwiki path` (fail if NO_VAULT_CONFIGURED) and `skillwiki lang`.
1. `skillwiki audit <page>`. Read the JSON report.
2. Reason over the report:
- Resolve citations against active `raw/`, `raw/archived/`, `raw/duplicates/`, and append-only relocation history. Legacy `_archive/raw/` is read-compatible only, not a valid new destination.
- For each unresolved marker: distinguish a genuinely missing target from a stale historical path, then suggest ingesting the missing source or correcting maintained-page metadata.
- For each `unused_sources` entry: suggest adding a body marker or removing from `sources:`.
- For each `missing_from_sources` entry: suggest adding to `sources:`.
3. Append one `log.md` entry summarizing the audit and any suggested follow-ups.
## Stop conditions
None — audit always completes.
## Forbidden
- Auto-applying suggested fixes (audit is observation-only).
- Rewriting raw evidence while repairing an audit finding.