en un clic
second-brain-lint
// Health-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references. Use when the user says "audit", "health check", "lint", "find problems", or wants to improve wiki quality.
// Health-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references. Use when the user says "audit", "health check", "lint", "find problems", or wants to improve wiki quality.
Process raw source documents into wiki pages. Use when the user adds files to raw/ and wants them ingested, says "process this source", "ingest this article", "I added something to raw/", or wants to incorporate new material into their knowledge base.
Answer questions against the knowledge base wiki. Use when the user asks a question about their collected knowledge, wants to explore connections between topics, says "what do I know about X", or wants to search their wiki.
Set up a new Obsidian knowledge base with the LLM Wiki pattern. Use when the user wants to create a second brain, initialize a vault, set up a personal knowledge base, or says "onboard". Guides through an interactive wizard to configure vault name, location, domain, agent support, and tooling.
| name | second-brain-lint |
| description | Health-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references. Use when the user says "audit", "health check", "lint", "find problems", or wants to improve wiki quality. |
| allowed-tools | Bash Read Write Edit Glob Grep |
Health-check the wiki and report issues with actionable fixes.
Run all checks below, then present a consolidated report.
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/.
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/:
[[Page Name]]Read pages that share entities or concepts and look for conflicting claims. Flag when:
Cross-reference source dates with wiki content. Flag when:
Scan for [[wikilinks]] that point to pages that don't exist yet. These are topics the wiki mentions but hasn't given their own page. Assess whether they warrant a page.
Find pages that discuss the same topics but don't link to each other. Look for:
Verify wiki/index.md is complete and accurate:
wiki/sources/, wiki/entities/, wiki/concepts/, wiki/synthesis/ has an index entryBased on the wiki's current coverage, suggest:
Present findings grouped by severity:
For each finding, include:
Ask the user:
"Found N errors, N warnings, and N info items. Want me to fix any of these?"
If the user agrees, fix issues and report what changed.
Append to wiki/log.md:
## [YYYY-MM-DD] lint | Health check
Found N errors, N warnings, N info items. Fixed: [list of fixes applied].
/second-brain-ingest — process new sources into wiki pages/second-brain-query — ask questions against the wiki