Wiki lint
Health-check the LLM Wiki / knowledge base for contradictions, orphan pages, stale claims, missing cross-references, missing aliases, and un-cited claims. Use when the user says "audit", "health check", "lint", "find problems", or wants to improve wiki quality.From its SKILL.md
npx -y skills add Tedydev-web/llm-wiki-skills --skill wiki-lintAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 1 credential source: `$WIKI_MEMORY_VAULT`.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `cat ~/.config/wiki/sidecar.json | jq -r .vault_path` and 1 more.
SKILL.md
3.1 KB, 714 tokens by cl100k_base, as published. Nobody here has run it
LLM Wiki — Lint
Health-check the wiki and report issues with actionable fixes.
Vault path: read from $WIKI_MEMORY_VAULT env, else cat ~/.config/wiki/sidecar.json | jq -r .vault_path, else cat ~/.config/wiki-memory/vault-path (legacy), else ask user.
Audit Steps Overview
Run all 17 checks, then present a consolidated report. Steps 1–13 are core; step 14 covers Q&A integrity; step 15 covers state.json drift; step 17 covers .memory.log cross-reference (wiki-memory only).
For full prose spec of every step:
Read skills/wiki-lint/references/audit-steps.md
Quick step index
| Step | Check | Type |
|---|---|---|
| 1 | Broken wikilinks | structural |
| 2 | Orphan pages | structural |
| 3 | Contradictions | LLM |
| 4 | Stale claims | LLM |
| 5 | Missing page wikilinks | structural |
| 6 | Missing cross-references | LLM |
| 7 | Index consistency | structural |
| 8 | Data gaps | LLM |
| 9 | Aliases consistency (L1a) | structural |
| 10 | Verification tags (L1b) | structural |
| 11 | Missing inline citations (L1c) | LLM-assisted |
| 12 | Sources-array completeness (F3) | structural |
| 13 | Regenerate wiki/cache.md (N1) | structural |
| 14a–c | Q&A artifact integrity | structural |
| 15a–c | State.json drift detection | structural |
| 17a–d | .memory.log cross-reference | structural |
For structural vs LLM classification and execution strategy:
Read skills/wiki-lint/references/structural-vs-llm-checks.md
Running the Audit
- Resolve vault path (above)
- Read
skills/wiki-lint/references/audit-steps.mdfor the full spec of each step - Execute structural steps first (fast, deterministic), then LLM steps
- Collect all findings; group by severity (error / warning / info)
- Present consolidated report — format spec in
skills/wiki-lint/references/audit-step-reporting-format.md - Ask: "Found N errors, N warnings, N info items. Want me to fix any of these?"
- Append lint entry to
wiki/log.md
When to Lint
- After every 10 ingests — catches cross-reference gaps while fresh
- Monthly at minimum — catches stale claims and orphan pages over time
- Before major queries — ensures wiki is healthy before relying on it for analysis
References
skills/wiki-lint/references/audit-steps.md— full prose for all 17 steps (one section each)skills/wiki-lint/references/audit-step-reporting-format.md— severity conventions, consolidated report structure, log format, quick-lint shell commandsskills/wiki-lint/references/structural-vs-llm-checks.md— which steps are deterministic vs need LLM reasoning; execution strategy
Related Skills
/wiki-ingest— process new sources into wiki pages/wiki-query— ask questions against the wiki
What ships with it: 3 files
22.9 KB alongside SKILL.md
references/
- audit-step-reporting-format.md4.6 KB
- audit-steps.md15.2 KB
- structural-vs-llm-checks.md3.2 KB