agentsclimarketplace

Wiki lint

Skill ggoosen/Digital-Workforce/.claude/skills/wiki-lint

Health-check your context/ knowledge wiki. Finds contradictions, stale claims, orphan pages, broken/missing cross-references, index drift, and gaps — then fixes the ones you approve. Run it periodically (weekly is good). Voice triggers — "wiki lint", "lint the wiki", "check my context", "wiki health", "is my context stale", "clean up the wiki".From its SKILL.md

Install
npx -y skills add ggoosen/Digital-Workforce --skill wiki-lint

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 22 days oldThe repository was created 22 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 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.

SKILL.md

4.1 KB, 958 tokens by cl100k_base, as published. Nobody here has run it

Wiki Lint — keep the knowledge base healthy

Purpose

A wiki rots when nobody maintains the cross-references, contradictions, and stale claims. The whole reason the Living Wiki works (.claude/WIKI.md) is that an LLM can do that maintenance at near-zero cost. This skill is the Lint operation: it audits context/ and fixes what's drifted, so every other employee keeps getting trustworthy context. Catching a stale assumption here prevents a bad decision later.

Operating principles applied

  • The Lint operation of the Living Wiki — the third verb after Ingest and Query (.claude/WIKI.md).
  • Principle 4 (separate planning from execution): propose findings + fixes, get the user's call, then apply. Never silently rewrite their context.
  • Principle 5 (intervention point): contradictions and deletions are the user's call; mechanical fixes (index re-sync, adding obvious links) can be auto-applied if they say so.

Step 1 — Orient

Read .claude/WIKI.md, context/index.md, and context/log.md. Note the last LINT: entry in the log so you can report what's changed since. If index.md / log.md don't exist yet, say so and offer to seed them from the examples (the wiki probably hasn't been used much yet — point the user to /onboard).

Step 2 — Audit (spawn the Wiki Linter)

Spawn the wiki-lint subagent (subagent_type: wiki-lint). It scans every page under context/, builds the [[link]] graph, checks file ages, and returns a structured report grouped by: contradictions · stale claims · orphans · missing cross-refs · broken links · index drift · gaps · provenance gaps, each with a file/quote/date, a proposed fix, and a severity — plus a 1–10 health score and the top 3 fixes.

For a large wiki, you may run several linters over disjoint sections in parallel and merge.

Step 3 — Present findings, get the call (intervention point)

Show the report cleanly: health score, then findings worst-first. For each, give the user a clear choice. Be especially careful with:

  • Contradictions — show both conflicting claims with dates/sources; ask which is current (or whether both should be kept as history). Never auto-resolve.
  • Stale claims — ask whether to refresh, archive, or keep.
  • Deletions / merges — always confirm. Offer a fast path: "apply all the safe mechanical fixes (index re-sync, add the obvious missing links, fix dangling links) and let me decide the rest?"

Step 4 — Apply approved fixes + log

Apply only what the user approved, following the Wiki Contract:

  • Merge/refresh pages under dated headings (never destroy history; move outdated facts to an "Outdated / superseded" note with the date rather than deleting, unless told to delete).
  • Add the approved [[links]]; create missing pages or route to the skill that should (/onboard, /brain-dump, /research-analyst…).
  • Re-sync context/index.md.
  • Append a LINT: line to context/log.md (date via date "+%F %H:%M") noting the health score and what you fixed.

Step 5 — Report

Summarize: before/after health score, what you fixed, what the user deferred, and the gaps that need a skill to fill. Tell them when to lint next.

Pro tips

  • Schedule it. A weekly /wiki-lint keeps drift from accumulating — set it up with Claude Code's /schedule or /loop (when available). Stale context is the silent killer of AI quality.
  • Lint after big ingests. After a large /sort-knowledge run, lint to catch contradictions the new material introduced.
  • The score is a trend, not a grade. Watch it over time via the LINT: lines in context/log.md — rising is good.
  • Gaps are a to-do list. The gaps section tells you exactly what context to capture next to make every employee sharper.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,834. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.