Lint the wiki (Karpathy LLM-Wiki workflow)
obsidian_lint_wikiChecks an Obsidian vault for orphans, broken links, stub pages, stale notes, and missing concept pages, returning actionable suggestions for cleanup.
Instructions
Comprehensive vault-hygiene check inspired by Karpathy's LLM-Wiki gist (gist.github.com/karpathy/442a6bf555914893e9891c11519de94f). Returns five buckets of findings in one call: orphans (no inbound + no outbound), broken wikilinks, stub pages (under N words), stale pages (frontmatter last_reviewed or mtime older than M days), and concept candidates (capitalised phrases mentioned by ≥ K notes that lack their own page). Each finding carries a path + suggestion shaped so the agent can fix via existing tools (validate_note_proposal → create_note / append_to_note / rename_note). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Restrict the lint to a subfolder (default: whole vault) | |
| stub_word_threshold | No | Notes shorter than this are flagged as stubs (default 100) | |
| stale_days | No | Notes not touched for this many days are flagged as stale (default 365) | |
| concept_min_mentions | No | A capitalised phrase mentioned by ≥ N distinct notes without a page is a concept candidate (default 3) | |
| max_per_bucket | No | Cap per finding bucket so the response stays bounded (default 50) |