bozhoudev/bozhou-skills/wiki-audit
Claude Code and agent skill by bozhoudev/bozhou-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when fact-checking a single wiki page against its cited sources — verifies that every footnote actually supports its claim and surfaces uncited factual claims. Run after ingesting a high-stakes page or any time you want confidence in one page's accuracy.
Install
npx vskill@latest install bozhoudev/bozhou-skills/wiki-auditSKILL.md
The same SKILL.md was published earlier as kfchou/wiki-skills/wiki-audit.
Wiki Audit
Verify a single wiki page against its cited sources. Two phases: detect uncited factual claims, then verify cited claims by dispatching one subagent per source in parallel.
Pre-condition
Find SCHEMA.md (search from cwd upward, or ~/wikis/). If not found, tell the user to run wiki-init first. Read SCHEMA.md for the wiki root path and the Citations section (the rules and footnote format the audit enforces).
If `SCHEMA.md` has no Citations section (older wiki, initialized before this skill existed): use the fallback convention below for this run, and offer at the end to append the Citations section to SCHEMA.md so future operations stay consistent.
If the user did not name a page, ask which page to audit. Accept slug, filename, or absolute path. Resolve to wiki/pages/<slug>.md. Audit one page per run.
Process
1. Read the target page
Read the full page. Note:
- The frontmatter
sources:list (which sources the page formally cites). - All footnote definitions (
[^N]: ...) and references ([^N]in body text).
If the page has zero footnotes but contains factual content, that is itself the audit result — every claim becomes a Phase A finding. Still run Phase A; skip Phase B.
2. Phase A — uncited claim detection (1 subagent)
Dispatch one subagent. Give it:
- The full page contents.
- The Citations section copied from
SCHEMA.md. - The page's
sources:list.
Task: list every non-common-knowledge factual claim that lacks a footnote. Return a structured list of (line number, claim text, suggested-source-from-the-sources-list-or-"unknown").
The subagent applies the SCHEMA.md "what to cite" rule: paragraph- or claim-level granularity, common knowledge exempt.
3. Phase B — cited claim verification (N subagents, parallel)
For every footnote definition in the page, parse:
- The target — one of
[[source-slug]], a path underraw//assets/, or a URL. - The locator (§section, p.N, timestamp, URL anchor, dated post).
- Either the verbatim quote or the
[synthesis]description.
Resolve each target to readable content:
[[source-slug]]→ readwiki/pages/<source-slug>.mdto find the raw file path (in its**Source:**line). Then read that raw file fromraw/orassets/.raw/<file>orassets/<file>→ read the file directly.<URL>→ check whether a cached copy exists inassets/(filename derived from URL). If yes, read it. If not, mark the footnote🚫 source-missing(do not re-fetch — that belongs in the fix step).
Any target that cannot be resolved gets verdict 🚫 source-missing; do not dispatch a subagent for it.
Group resolvable footnotes by their resolved file (multiple footnotes against the same PDF read it once). Dispatch one subagent per file, in parallel using the Agent tool. Each subagent gets:
- The raw source content (from
raw/,assets/, or cached URL). - The list of footnotes against that source — for each: number, locator, and either the verbatim quote or the
[synthesis]description. - The verdict rubric below.
Each subagent returns, per footnote, one verdict and a 1-line note:
✅ supported— quote string-matches the source at the cited locator, or the[synthesis]description honestly summarizes the cited range.❌ unsupported— quote not found at the cited locator, or the claim is contradicted by the source.⚠️ partial— quote is paraphrased rather than verbatim (and lacks the[synthesis]tag), or the synthesis description overstates the cited range.
For ❌ and ⚠️, the note must include what the source actually says, so the user can decide how to fix.
Why per-source, not per-footnote: PDFs are expensive to read. One read of a 30-page paper for five footnotes beats five reads.
4. Write the audit report
Always write — do not ask permission. Path: wiki/pages/audit-<page-slug>-<today>.md.
Add the report to wiki/index.md under the Maintenance category (create the category if it does not yet exist — wiki-lint uses the same category).
5. Offer concrete fixes
For each non-empty category, offer one at a time:
- 🆘 Uncited: "Search the page's
sources:list for support and propose footnotes for these claims?" - ❌ Unsupported: "Apply the corrections shown in the report? (I'll show diffs first.)"
- ⚠️ Partial: "Tighten the synthesis descriptions, or add the
[synthesis]tag where missing? (diffs first.)" - 🚫 Source missing: "Re-fetch URLs / locate misplaced PDFs back into
raw/?"
Apply only after user confirmation. Show the exact diff before each write.
6. Append to wiki/log.md
Always append — do not ask permission:
7. Report to user
- Audit report:
wiki/pages/audit-<page-slug>-<today>.md - One-line verdict (e.g. "5/8 cited claims verified, 2 uncited claims found")
- Whether any fixes were applied
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwiki-audit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bozhoudev/bozhou-skills/wiki-audit)