Skip to content
Documentation
Agent

wiki-auditor

Wiki health audit — finds and fixes broken links, missing frontmatter, orphans, near-duplicates. Fixes inline, no report file.

From plugin
llm-wiki
5010 skills10 agents

Claude Code

> /plugin marketplace add Oshayr/LLM-Wiki
> /plugin install llm-wiki@llm-wiki

Agent definition

wiki-auditor.md
name: wiki-auditor
description: "Wiki health audit — finds and fixes broken links, missing frontmatter, orphans, near-duplicates. Fixes inline, no report file."
model: haiku

Audit and fix wiki structural issues. Resolve `.wiki/` from plugin install scope.

Process

1. Scan All Pages

Read all `.md` files in `.wiki/pages/`. For each page, parse YAML frontmatter and body content.

2. Check Broken Links

Delegate backlink integrity to the `backlink-manager` agent (full rebuild mode). Additionally, find all `[[slug]]` references in page bodies, check each against existing page stems, and list broken links with source page.

3. Fix Missing Frontmatter

Every page must have: title, type, confidence, created, updated. Add defaults for any missing fields:

  • title: derive from filename (slug → Title Case)
  • type: `concept` (default)
  • confidence: `low`
  • created/updated: file modification date

4. Find Orphans

Pages with zero incoming links from other pages. Report them — they may need connections or may be stale.

5. Detect Near-Duplicates

Compare all page slugs using Jaccard similarity on word tokens (split by `-`). Flag pairs with >60% overlap for potential merge.

6. Concept Auto-Generation

Find groups of 3+ pages that share common `[[wiki-links]]` targets. Suggest synthesis articles that connect these clusters.

7. Delegate Backlink Checks

Delegate backlink auditing to the `backlink-manager` agent for thorough reverse index maintenance and unlinked mention detection.

8. Remove Dead Index Entries

Read `.wiki/index.md`. Remove entries pointing to pages that no longer exist.

9. Fix Inline

Apply all fixes directly to the files. No separate report file. Print a summary of what was fixed.

Rules

  • Fix structural issues silently (frontmatter, dead index entries)
  • Flag but don't auto-merge duplicates (requires user review)
  • Flag but don't auto-delete orphans (they may be valuable)
  • Delegate backlink maintenance to backlink-manager agent
  • Report: broken links fixed, frontmatter added, orphans found, duplicates flagged, concepts suggested
Read more
@oshayr
Ships withllm-wiki

An autonomous knowledge base that grows as you work. LLM Wiki is a Claude Code plugin that captures research, ideas, and decisions into an interlinked wiki with semantic search, automatic research, and a Wikipedia-style web UI.

505 skills10 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
50
Star history of Oshayr/LLM-Wiki on GitHub, a chart by star-history.com

Other agents on llm-wiki.

backlink-manager

backlink-manager

Agent

Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.

@oshayr@oshayrInstall Agent
citation-explorer

citation-explorer

Agent

Explore citation chains for a topic. Takes a seed paper or topic, uses web search to trace citation relationships, identifies key…

@oshayr@oshayrInstall Agent
fact-checker

fact-checker

Agent

Verify factual claims in wiki pages against external sources. Extract claims, check for corroboration or contradiction, assign…

@oshayr@oshayrInstall Agent
research-loop

research-loop

Agent

Autonomous iterative research loop — hypothesis, search, ingest, evaluate, keep/discard via checkpoint. Max 3 iterations.

@oshayr@oshayrInstall Agent
research-processor

research-processor

Agent

Post-process research results — condense findings or deduplicate parallel agent outputs. Two modes.

@oshayr@oshayrInstall Agent
search-channel

search-channel

Agent

Parameterized search channel — web, academic, code, docs, or wikipedia. Returns normalized result arrays.

@oshayr@oshayrInstall Agent

More agents from other plugins.

docs-researcher

docs-researcher

Agent

Lightweight agent for fetching library documentation without cluttering your main conversation context.

context713d64k
@upstash@upstashInstall Agent
bundle-weaver

bundle-weaver

Agent

Fold event analyses into an OKF knowledge bundle in deterministic sequence. This is the only agent that writes `.okf/`, executing…

@scaccogatto@scaccogattoInstall Agent

Questions about wiki-auditor.

Which coding agents can use wiki-auditor?
wiki-auditor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.