wiki-maintain

wiki-maintain is a skill for Claude Code from Oshayr/LLM-Wiki. It costs 61 tokens per session (900 once invoked), scanned A, original, MIT.

A maintenance tool for a project wiki, a collection of linked knowledge pages. It checks links and page metadata, finds duplicates and gaps, and reviews page confidence and freshness.

In plain words
What is it for?
Use it to lint pages, merge confirmed near-duplicates, find missing coverage, update confidence levels, and flag stale content.
Why use it?
It helps keep a growing wiki accurate, connected, and up to date instead of leaving broken links, repeated pages, or missing topics unnoticed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the llm-wiki plugin — 5 skills, 10 agents shipped together

Good fit Use it to lint pages, merge confirmed near-duplicates, find missing coverage, update confidence levels, and flag stale content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oshayr/llm-wiki/maintain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Oshayr/LLM-Wiki --skill maintain
Clone the repo
git clone --depth 1 https://github.com/Oshayr/LLM-Wiki

Made for: Claude Code.

Or install llm-wiki, the plugin that ships this one along with the rest of its 5 skills, 10 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wiki-maintain

README.md
[![agentmods](https://agentmods.dev/badge/skills/oshayr/llm-wiki/maintain/github.svg)](https://agentmods.dev/skills/oshayr/llm-wiki/maintain)
Your own site
<a href="https://agentmods.dev/skills/oshayr/llm-wiki/maintain"><img src="https://agentmods.dev/badge/skills/oshayr/llm-wiki/maintain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wiki-maintain

Your own site · 80×15
<a href="https://agentmods.dev/skills/oshayr/llm-wiki/maintain"><img src="https://agentmods.dev/badge/skills/oshayr/llm-wiki/maintain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 900 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00900
Opus 5.5 $0.00024 $0.00360
Sonnet 5.5 $0.00012 $0.00180
Haiku 4.5 $0.00006 $0.00090

Measured 2mo ago against content hash e9fb4d1e8a1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wiki-maintain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/maintain/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wiki Maintain

Comprehensive wiki maintenance: lint, deduplicate, upgrade, and analyze.

Resolve .wiki/ from plugin install scope. If not found, say "No wiki found."

Arguments

  • /wiki-maintain — run full maintenance (all steps below)
  • /wiki-maintain lint — only fix broken links, missing frontmatter, orphans
  • /wiki-maintain dedup — only find and merge near-duplicate pages
  • /wiki-maintain gaps — only analyze knowledge gaps and missing coverage

Full Maintenance Steps

1. Lint

Launch wiki-auditor agent to:

  • Find [[wiki-links]] that point to non-existent pages — list for user
  • Fix missing frontmatter fields (add defaults)
  • Find orphan pages (no incoming links) — suggest connections
  • Remove dead index entries
  • Fix stale updated: dates on pages that were modified but not date-bumped

2. Deduplicate

Find pages with >60% slug token overlap (Jaccard similarity on slug words split by -):

  • Report pairs for review
  • For confirmed duplicates: auto-merge into one page, update all backlinks, add redirect note to absorbed page

3. Confidence Upgrade

Pages with 3+ independent sources in frontmatter get upgraded:

  • low → medium (if 2+ sources)
  • medium → high (if 3+ corroborating sources)
  • Run fact-checker agent on high-confidence pages to verify claims against external sources
  • Write the reason in log.md

4. Stale Detection (Freshness Tiers)

Pages are evaluated against an intelligent freshness system — not a flat threshold. Each page has a TTL based on its content type:

Tier TTL Examples
live 15 min stock prices, live scores, server status, deployment state
breaking 1-6 hours breaking news, incident updates, release announcements
current 1-3 days news articles, current events, trending topics
fast 1-4 weeks AI/LLM/MCP, API changes, model benchmarks
moderate 1-3 months software versions, frameworks, libraries, tools
standard 6 months general knowledge, how-to guides (default)
academic 1 year research papers, studies, formal publications
evergreen 5 years history, biographies, foundational concepts, laws, theorems
permanent never personal notes, ideas, memories, journal entries

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 86 lines · 61 tokens per session scan A e9fb4d1e8a1b

Subscribe to this mod's changes

wiki-maintain is a skill published in the GitHub repository Oshayr/LLM-Wiki (50 stars, last pushed 6mo ago), licensed MIT. It adds 61 tokens to every session and 900 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wiki-maintain compared with skills from other repositories

wiki-maintain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wiki-maintainOshayr/LLM-WikiSkill506mo agoMITA61Claude Code
llm-wikipraneybehl/llm-wiki-pluginSkill1238d agoMITA143Claude Code
design-mcp-servercyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A62Claude Code
api-canvascyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A85Claude Code
api-telemetrycyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A85Claude Code
maintenancecyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A75Claude Code
report-issue-localcyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A44Claude Code