Audits a wiki for broken wikilinks, orphan pages, contradictions, and stale claims, then reports fixes by severity.

skills.sh installs
2.6K
GitHub stars
783
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers eight checks: broken wikilinks, orphan pages, contradictions, stale claims, missing pages, missing cross-references, index consistency, and data gaps
  • Groups findings into errors, warnings, and info items, each with what, where, and a suggested fix
  • Scans wiki/sources/, wiki/entities/, wiki/concepts/, and wiki/synthesis/, and checks wiki/index.md for missing or stale entries
  • Appends a dated lint entry to wiki/log.md and offers to apply fixes after reporting

Install

$ npx -y skills add nicholasspisak/second-brain --skill second-brain-lint -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Second Brain — Lint

Health-check the wiki and report issues with actionable fixes.

Audit Steps

Run all checks below, then present a consolidated report.

1. Broken wikilinks

Scan all wiki pages for [[wikilink]] references. For each link, verify the target page exists. Report any broken links.

# Find all wikilinks across wiki pages
grep -roh '\[\[[^]]*\]\]' wiki/ | sort -u

Cross-reference against actual files in wiki/.

2. Orphan pages

Find pages with no inbound links — no other page references them via [[wikilink]].

For each .md file in wiki/sources/, wiki/entities/, wiki/concepts/, wiki/synthesis/:

  • Extract the page name (filename without extension)
  • Search all other wiki pages for [[Page Name]]
  • If no other page links to it, it's an orphan

3. Contradictions

Read pages that share entities or concepts and look for conflicting claims. Flag when:

  • Two source summaries make opposing claims about the same topic
  • An entity page contains information that conflicts with a source summary
  • Dates, figures, or factual claims differ between pages

4. Stale claims

Details

Repository
github.com/nicholasspisak/second-brain
Categories
Productivity & Notes, Memory & Context
First seen
Apr 16, 2026

More from nicholasspisak/second-brain

All 4

Similar to Second Brain Lint

More Productivity & Notes