wiki-lint
できること
このスキルは、Obsidianのwikiを走査し、リンク切れや、どこからもリンクされていないページなどの問題を報告します。大きな知識ベースを整頓しておきたい人向けです。
使う場面
- ✓wikiにリンク切れや、どこからもリンクされていないページがないか確認したいとき。
- ✓メタデータやソースの追跡について、ノート全体の監査がほしいとき。
- ✓自分で直す前に、どの索引ページが古くなっているかを知りたいとき。
スキルのリンク
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-lint/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のObsidianのwikiで、リンク切れと孤立したページを確認し、レポートを見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、保管庫を読み、見つかったことを一つずつ一覧にする決まった点検ツールを実行します。レポートや、ダッシュボード、修正は作らず、何を変えるかはあなたが決めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Lint the wiki
Use the portable lint engine as the source of truth. Lint observes vault state; it does not create reports, dashboards, canvases, stubs, or fixes.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Run
Resolve the user vault, then run one of:
python3 "$CORE" lint --vault "$VAULT"
python3 "$CORE" lint --vault "$VAULT" --format markdown
python3 "$CORE" lint --vault "$VAULT" --exclude "wiki/scratchpad/*"
The repeatable --exclude GLOB flag scopes a path (for example a scratchpad
folder) out of page, link-resolution, orphan, frontmatter, empty-section, and
stale-index scanning.
Use --strict only when a nonzero exit for findings is useful in automation.
The command remains read-only either way.
The deterministic parser understands Obsidian wikilinks and embeds, Markdown
links, aliases, heading and block fragments, escaped aliases, and code fences.
It skips dot-prefixed directories by default, mirroring Obsidian's own
indexer. Link resolution honors .gitignore files inside the vault (no git
subprocess): when a link is ambiguous between a page and a gitignored file
such as a build artifact, the gitignored candidate is dropped.
It reports such categories as dead or ambiguous links, orphan pages, required
frontmatter gaps (including title), empty sections, stale index entries, and
source/claim ledger contract violations. Report only the
checks and counts present in its output; do not claim that it performed
semantic, stylistic, or prose-level contradiction analysis when it did
not.
Explain findings
- Preserve the engine's paths, line numbers, targets, categories, and counts.
- Group findings by likely impact: broken navigation, ambiguous resolution, metadata quality, then maintainability.
- Explain that an orphan may be intentional and an ambiguous basename needs a path-qualified link; do not infer intent from the finding alone.
- Treat allowlisted findings as policy, not as proof that the target exists.
- Separate deterministic facts from suggested remediation.
Do not write the Markdown rendering into the vault. Return it in chat or stdout.
Repair is a separate operation
Never auto-fix a lint result. After the user chooses specific findings to repair:
- Re-read each target and record its expected SHA-256.
- Draft only the selected changes; do not delete or merge pages without explicit consent.
- Build one repair bundle with a new operation ID.
- Inspect the bundle and show exact changed paths.
- Apply only after that separate review.
- Re-run lint read-only and compare the relevant findings.
Follow the operation transaction contract. Lint itself never applies that transaction and never commits Git.
Checkpoint
Observe the deterministic report, think about root causes rather than finding count, verify proposed repairs against current hashes, and grow by improving the workflow that produced repeated findings.
よくある質問
リンク切れを修復しますか?
いいえ。点検は見つかったことを報告するだけで、修復はあなたか別のスキルに任せます。
特定のフォルダーを除外できますか?
はい。下書き用の領域などのフォルダーを、スキャンから除外できます。
どんな問題を見つけますか?
リンクの問題、孤立ページ、フロントマターの不足、空のセクション、古くなった索引の項目を報告します。
詳細
作者による元の説明
Run a deterministic, read-only health check on an Obsidian wiki. Use for lint, vault health check, audit wiki health, find orphans, find dead links, frontmatter audit, provenance audit, or wiki audit. Reports graph, link, frontmatter, provenance-ledger, empty-section, and stale-index findings; it does not reason broadly or repair files.
人気
- GitHubのスター
- 16k
- ランキング
- #10814
- ライセンス
- MIT
- 更新日
- 2026/10/25
コメント
- …
このリポジトリの他のスキル
autoresearch
16kエージェントが、決められた範囲内で話題を調べ、出典付きのレポートを下書きできるよう支援します。Web上の発見は自動でノートに追加されません。
canvas
16kエージェントが、Obsidianでノート、ファイル、リンク、グループを含む視覚的なボードを作成、更新できるよう支援します。地図や空間的なレイアウトに役立ちます。
defuddle
16kエージェントが、Webページを読みやすいテキストに整える計画を立て、ソースファイルのローカルコピーを保存できるよう支援します。
obsidian-bases
16kエージェントが、フィルター、数式、表やカードのレイアウトを使い、簡単なデータベースのように働くObsidian Basesのビューを設計できるよう支援します。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
architecture-decision-records
280kエージェントがプロジェクト構成に関する重要な決定を記録できるようにします。選択の理由を把握しやすくし、変更履歴を明確に残すのに役立ちます。
code-tour
280kエージェントが正確なファイル名と行番号を示しながら、コードを段階的に解説できるようにします。紹介、説明、レビューに役立ちます。