wiki-lint
帮助长期维护知识库一致性,减少内容退化成本。
会读取与修改仓库文件,操作前应备份重要数据。
审计并修复 Obsidian 维基的结构性问题与坏链。
审计并修复 Obsidian 知识库的结构性问题:找孤立页、坏的 wikilink、过时或互相矛盾的内容,并给出修复建议。什么时候用:定期做维基健康检查、清理笔记或准备合并重构时,用来发现优先级和具体修补项。特别之处是先做报告模式,也可以切换到 consolidate 模式自动修复(先 dry-run,再请求确认),并且在大 vault 上优先做局部/frontmatter 读取以节省资源和降低风险。
▸ 展开 SKILL.md 英文原文
Audit and maintain the health of the Obsidian wiki. Use this skill when the user wants to check their wiki for issues, find orphaned pages, detect contradictions, identify stale content, fix broken wikilinks, or perform general maintenance on their knowledge base. Also triggers on "clean up the wiki", "what needs fixing", "audit my notes", or "wiki health check". Add --consolidate to switch from report-only to act-and-report mode (the "dream cycle"): fixes broken links, adds missing cross-references for orphans, corrects lifecycle states, demotes stale peripheral pages, normalizes tag aliases, and adds contradiction callouts — all with a dry-run preview and explicit user confirmation before any writes.
帮我安装这个 skill:https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-lint/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-lint/SKILL.md"# Wiki Lint — Health Audit You are performing a health check on an Obsidian wiki. Your goal is to find and fix structural issues that degrade the wiki's value over time. **Before scanning anything:** follow the Retrieval Primitives table in `llm-wiki/SKILL.md`. Prefer frontmatter-scoped greps and section-anchored reads over full-page reads. On a large vault, blindly reading every page to lint it is exactly what this framework is built to avoid. ## Before You Start 1. **Resolve config** — follow the Config Resolution Protocol in `llm-wiki/SKILL.md` (inline `@name` override → walk up CWD for `.env` → `~/.obsidian-wiki/config` → prompt setup). This gives `OBSIDIAN_VAULT_PATH` 2. Read `index